Has anyone run into a problem when attempting to browse to OpenMRS 2 from another site?
When I attempt to browse to our OpenHMIS demo site via a link on our OpenHMIS web site I get an StringIndexOutOfBoundsException when the login page is attempted to be rendered. I have already created an issue for this that includes more detail:
Oops… thanks for letting me know about the bad link! I’ve updated it to the correct one (demo2.openhmisafrica.org) and the exception still appears.
@lluismf Yes, I had to change that to get the link to work. However, this does seem to indicate that there is some issue with the referrer parsing in the UI framework (or OpenMRS?) that needs to be resolved.
I couldn’t reproduce this, is it because you are excluding the referer header? Another work around is to add a redirectUrl to the home page as request parameter in the link on the OpenHMIS site
This should really not be complicated or require discussion.
Wes has described a bug and provided a stack trace with a StringIndexOutOfBoundsException. No value of the referrer header should be allowed to cause this.
Someone should just pick it up and fix it.
Since this is a Reference Application bug, not a UI Framework bug, I moved the JIRA issue to the RA project. It is now:
The work arounds are just for the period when the new version is not released but yes it needs to be addressed. Thanks @ibewes for reporting this and actually filing a well described ticket.