|
There seems to be two underlying errors here, both of which actually seem to have been in the XMLUI for some time...
Issue #1 When accessing the "/handle" path, DSpace seems to assume that you'll always send a [prefix]/[suffix]. So, if you don't pass a [suffix], then it causes errors. For example:
Issue #2 Paths that begin with a number (0-9) do NOT work properly in the XMLUI. It seems that the XMLUI forwards those paths on to its AspectMatcher, which wrongly assumes that the number references the index of an Aspect in the configured aspect chain (in xmlui.xconf). See this area of the code: https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/src/main/java/org/dspace/app/xmlui/cocoon/AspectMatcher.java#L61
This issue can be seen by accessing any URL beginning with a number, although it results in slightly different displays based on whether that number actually corresponds to a valid AspectID, or not. For example:
I have a PR nearly ready to fix both of these XMLUI issues.
|