Ticket #59 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

0016841: 2 [Core] File upload action url (Forum)

Reported by: admin Owned by: MC-arjen
Priority: major Milestone: MediaMosa 1.7
Component: Core Version: 1.7.0
Keywords: Cc:
MoSCoW: Estimated time after impact analysis:
Related to project: none Tested:
Accepted: yes Estimated Hours:

Description


0016841: 2 [Core] File upload action url (Forum)
 http://mantis.kennisnet.nl/view.php?id=16841

 http://www.vpcore.nl/forum/viewtopic.php?f=3&t=46&start=0 []

Bij het aanmaken van een uploadticket wordt een url teruggeven die in de action van het html formulier wordt gebruikt.

<action> http://upload.pilot.vpcore.snkn.nl/mediafile/upload?upload_ticket=R51iF0gRwy26XvOWWP1xNvba</action> []
<upload_ticket>R51iF0gRwy26XvOWWP1xNvba</upload_ticket>

Deze url bevat echter ook 'upload_ticket' als parameter. In de response komt ook 'upload_ticket' terug. In het voorbeeld in hoofdstuk 6.3 wordt 'upload_ticket' als input in het formulier gezet. De action url van het voorbeeld bevat geen url parameter.
Is dit niet dubbelop en POST je het forumulier niet gewoon naar  http://upload.pilot.vpcore.snkn.nl/mediafile/upload [] met als input veld 'upload_ticket'? Dan kan de url parameter uit de response gehaald worden, scheelt weer een extra bewerking.

Change History

Changed 4 years ago by marek

  • owner set to MC-arjen
  • status changed from new to assigned
  • component set to Core

<upload_ticket> is removed. (also adjusted call /internal/mediafile/$mediafile_id/upload is changed to get the upload_ticket from the action URL.

Changed 4 years ago by admin

  • related_to set to none
  • milestone changed from MediaMosa 1.6 to MediaMosa 1.7

Changed 4 years ago by admin

  • status changed from assigned to closed
  • resolution set to ready_for_review

Changed 4 years ago by robert

  • status changed from closed to reopened
  • resolution ready_for_review deleted

Changed 4 years ago by robert

  • status changed from reopened to closed
  • resolution set to fixed

Changed 4 years ago by Michiel.Schok

Work has been done as documented by Marek in comment 1.
But I'm not sure if that was what the topic starter wanted. I have the feeling he wanted it the other way around.

There is no documentation at the moment about this feature, and there is no update available for the document to create an upload-form. Both should be provided.

In any case, SURFmedia is still able to upload.

Issue is tested, but finite approval should be from somebody else.

Changed 4 years ago by Frans

  • version set to 1.7.0

Changed 4 years ago by Frans

  • accepted changed from no to yes

Accepted. Topic starter is unknown at the moment and the result is a more efficient way than before.

Note: See TracTickets for help on using tickets.