Ivan Masár created DS-1543:
------------------------------
Summary: field labels not displayed in Atom 1.0 feed
Key: DS-1543
URL: https://jira.duraspace.org/browse/DS-1543
Project: DSpace
Issue Type: Bug
Components: XMLUI
Affects Versions: 3.1, 1.8.2
Reporter: Ivan Masár
Fix For: 3.2
In <description> element of the Atom 1.0 feed there's a difference between the
JSPUI and XMLUI version - field descriptions are not added in the XMLUI version.
The /feed/... URL is served by different code in XMLUI than in JSPUI. In JSPUI,
the field labels are taken from Messages.properties [1] (metadata.dc.*),
whereas in XMLUI, they're taken from messages.xml [2], where they not only do
not exist by default, but even after adding them they do not work. This
localization list is the last parameter to the populate() method.
[1]
https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace-jspui/src/main/java/org/dspace/app/webui/servlet/FeedServlet.java#L231
[2]
https://github.com/DSpace/DSpace/blob/dspace-3_x/dspace-xmlui/src/main/java/org/dspace/app/xmlui/cocoon/DSpaceFeedGenerator.java#L231
Example results:
/jspui/feed/atom_1.0/site
<description>Title: Estimating identification disclosure risk using mixed
membership models
Authors: Manrique-Vallier, Daniel; Reiter, Jerome
Abstract: Statistical agencies and other organizations...(rest
deleted)</description>
/xmlui/feed/atom_1.0/site
<description>Estimating identification disclosure risk using mixed
membership models Manrique-Vallier, Daniel; Reiter, Jerome Statistical agencies
and other organizations...(rest deleted)</description>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel