Bugs item #2512868, was opened at 2009-01-16 12:01
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=119984&aid=2512868&group_id=19984

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: 1.5.1
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: TaciturnMan (taciturnman)
Assigned to: Nobody/Anonymous (nobody)
Summary: Double quote problem in some fields of JSPUI

Initial Comment:
I just created a collection in DSpace named «Seminar on "Media and 
Communication"».
When I edit the collection name through admin interface it gives only «Seminar 
on».
The rest of the collection name doesn't appear. Is it because of the unescaped 
double quotes.

See also similar bug: Double quote problem in some fields in submit UI - ID: 
1238276

My solution: edit file edit-collection.jsp and add calls of function 
org.dspace.core.Utils.addEntities(name). For example:
<input type="text" name="name" value="<%= Utils.addEntities(name) %>" size="50" 
/>
instead of
<input type="text" name="name" value="<%= name %>" size="50" />

Fixed file is attached.

It also affects community (edit-community.jsp file). 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=119984&aid=2512868&group_id=19984

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to