Ticket #307 (closed defect: wontfix)

Opened 3 years ago

Last modified 3 years ago

rest-call '/profiles' geeft een fout

Reported by: Michiel.Schok Owned by:
Priority: trivial Milestone: MediaMosa 2.3
Component: Core Version:
Keywords: Cc:
MoSCoW: Should Have Estimated time after impact analysis:
Related to project: none Tested: yes
Accepted: yes Estimated Hours:

Description

Is het een error 500 op deze niet bestaande call ?

Change History

Changed 3 years ago by Frans

Didn't you mean: /transcode/profile ?
That is an existing and valid call.

Changed 3 years ago by Michiel.Schok

  • summary changed from rest-call '/profile' geeft een fout to rest-call '/profiles' geeft een fout

No, I was aiming for the /transcode/profile call, but typed '/profiles' instead (to get a list of transcode profiles). That resulted in a '403' (forbidden).
Normally, non-existing calls return a nice xml-response.

Compare direct results on the pages
 http://app.acceptatie.vpcore.snkn.nl/profiles/
and
 http://app.acceptatie.vpcore.snkn.nl/nonexist/

But a '403' is better than a '500'. There must be an explanation for it... out there... somewhere...

Changed 3 years ago by robert

/profiles is a drupal directory and gives back 403 because you are not logged in as a drupal user to access the page.

Tested on 1.7.x and also returns 403 on REST interface, so this is always been like this.

Think we need to fix this it for REST interface to return 404 in XML when set on exclusive XML output like we have in 2.x now.

Ideas?

Changed 3 years ago by Michiel.Schok

Well,
I'm satisfied with the explanations.
We could as well close the issue.

Changed 3 years ago by Frans

  • milestone changed from MediaMosa 2.1 to MediaMosa 2.2

Will move to MM 2.2

Changed 3 years ago by Frans

  • moscow changed from none to Could Have

Changed 3 years ago by Frans

  • moscow changed from Could Have to Should Have
  • milestone changed from MediaMosa 2.2 to MediaMosa 2.3

Still valid?

Changed 3 years ago by Frans

  • status changed from new to closed
  • tested changed from no to yes
  • accepted changed from no to yes
  • resolution set to wontfix

Still valid, but won't fix

Note: See TracTickets for help on using tickets.