sahana / vesuvius

Sahana Vesuvius
http://sahanafoundation.org/products/vesuvius/
MIT License
24 stars 27 forks source link

Attempting to access reported person record gives 404 error #6

Closed ravihansa3000 closed 10 years ago

ravihansa3000 commented 10 years ago

Attempting to access a person record that has been just reported gives a 'Page Not Found' error.

Reproduction steps.

  1. Login as Administrator or user with person reporting privileges.
  2. Access Report A Person 1 module.
  3. Fill out details (all fields/some fields) and submit.
  4. A URL (person.number) will be given. Attempting to access this URL gives the above error.

Imported from Launchpad using lp2gh.

ravihansa3000 commented 10 years ago

(by mayankkrjain) The problem lies in vesuvius/mod/eap/main.inc file. The RAP module sends the UUID in base_64 encoded format. You need to decode it once you receive it. This is applicable only for RAP 1 module. So you need to check whether decoding is neccesary or not

ravihansa3000 commented 10 years ago

(by rasade88) Sounds like you've got a hold of the problem. Could you provide a patch in the form of unidiff (bzr diff) ?

ravihansa3000 commented 10 years ago

(by rasade88) Not a bug. Error was caused due to redirect to https:// URL where SSL was not enabled. Fixing sahana.conf with the https value set as http:// fixes this problem.