Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register

Ticket #882 (new defect)

Opened 2 months ago

Last modified 2 months ago

url mapping conflict (maybe rwanda-specific?)

Reported by: djazayeri Assigned to: somebody
Priority: major Milestone:
Component: OpenMRS Code Base Keywords:
Cc: catullus, bwolfe

Description

On the PIH Rwanda production server go to Manage Patient Searches and click on one of them. The url will be something like

http://rwanda.pih-emr.org/openmrs/admin/reports/patientSearch.form?patientSearchIdLookup=82

but you'll actually see a page from the patientlookup module.

Core has this url mapping:

<prop key="admin/reports/patientSearch.form">patientSearchForm</prop>

Patientlookup module has this one:

<prop key="module/@MODULE_ID@/patientSearch.form">patientSearchForm</prop>

I tried to replicate this by doing something similar with the pihhacks module on our staging server, but couldn't, using this:

<prop key="module/@MODULE_ID@/patientSearch.form">chartAbstractionReconcileController</prop>

Then I installed the patientlookup module and the bug was replicated.

I'm confused. Maybe this has to do with spring 2 vs spring 2.5?

Change History

06/27/08 07:33:07 changed by bwolfe

Have you played with the "order" element on the urlMapping element in your module? It might need to be set to something lower or higher than 99 so that it comes before the core mapping element.