Bugs item #2528065, was opened at 2009-01-22 08:26 Message generated for change (Settings changed) made by cjuergen You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=119984&aid=2528065&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: Web UI 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 (continued) Initial Comment: It's continuation of fixed bug (ID 2512868), but now for other field: SHORT DESCRIPTION. I just created a collection in DSpace with SHORT DESCRIPTION «Seminar on "Media and Communication"». When I edit the collection SHORT DESCRIPTION through admin interface it gives only «Seminar on». The rest of the collection SHORT DESCRIPTION doesn't appear. Is it because of the unescaped double quotes and other special symbols. My solution: edit file edit-collection.jsp and add calls of function org.dspace.core.Utils.addEntities for ALL fields in form. I.E.: 1. <input type="text" name="short_description" value="<%= Utils.addEntities(shortDesc) %>" size="50"/> instead of <input type="text" name="short_description" value="<%= shortDesc %>" size="50"/> 2. <textarea name="introductory_text" rows="6" cols="50"><%= Utils.addEntities(intro) %></textarea> instead of <textarea name="introductory_text" rows="6" cols="50"><%= intro %></textarea> 3. <textarea name="copyright_text" rows="6" cols="50"><%= Utils.addEntities(copy) %></textarea> instead of <textarea name="copyright_text" rows="6" cols="50"><%= copy %></textarea> 4. <textarea name="side_bar_text" rows="6" cols="50"><%= Utils.addEntities(side) %></textarea> instead of <textarea name="side_bar_text" rows="6" cols="50"><%= side %></textarea> 5. <textarea name="license" rows="6" cols="50"><%= Utils.addEntities(license) %></textarea> instead of <textarea name="license" rows="6" cols="50"><%= license %></textarea> 6. <textarea name="provenance_description" rows="6" cols="50"><%= Utils.addEntities(provenance) %></textarea> instead of <textarea name="provenance_description" rows="6" cols="50"><%= provenance %></textarea> It also affects community (edit-community.jsp file). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=119984&aid=2528065&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
