Bugs item #2528065, was opened at 2009-01-22 09:26 Message generated for change (Comment added) made by bollini 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: Closed >Resolution: Fixed 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). ---------------------------------------------------------------------- >Comment By: Andrea Bollini (bollini) Date: 2009-03-11 14:43 Message: fixed same issue also in administrative edit functionalties as edit: item, group, eperson, profile ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=119984&aid=2528065&group_id=19984 ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Dspace-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dspace-devel
