Message: The following issue has been closed.
Resolver: Ralf Hauser Date: Thu, 17 Feb 2005 3:36 AM Apologies, tested further and it appears that also the reason for this behaviour is caused by the jdbc --> see http://bugs.mysql.com/8564 --------------------------------------------------------------------- View the issue: http://jira.codehaus.org/browse/DISPL-191 Here is an overview of the issue: --------------------------------------------------------------------- Key: DISPL-191 Summary: when null value bean field is to be displayed, a previous column content is taken Type: Bug Status: Closed Priority: Major Resolution: WON'T FIX Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: DisplayTag Versions: 1.0 Assignee: Reporter: Ralf Hauser Created: Wed, 16 Feb 2005 2:32 PM Updated: Thu, 17 Feb 2005 3:36 AM Description: The webmail application (http://p4u.ch) is sometimes serving empty subject lines from the DB (an error unrelated to displaytag probably due to the MySQL AESENCRYPT function). When displayed with display-tag, unfortunately, not the zero-length-String ("") is shown as described in http://displaytag.sourceforge.net/tagreference-displaytag-12.html#column, about the "nulls" attribute, but a value of a previous line. To reproduce, register for free, create a few new mails with different subject lines and save them as drafts. Then, create a new mail with subject line "default secure smtp for contacts (RFE 1186) und Outlook-smtp-" and save again. It will swallow the text (the above-described supposed MySQL error) and the go to drafts. Instead of seeing just an empty subject (or ". . ." we put under some conditions in this case), you will see one of your earlier subject lines repeated? the (struts) jsp part regarding this field reads like this: <display:column title='Subject to edit <img src="images/edit.png" style="border: 0;vertical-align:bottom;" alt="edit draft message - load for sending" title="edit draft message - load for sending"/> ' sortable="true" headerClass="sortable" > <acronym title='<bean:write name="draftMsgList" property="subject" filter="true"/>' > </acronym> <html:link page="/editDraft.do" paramName="draftMsgList" paramId="msgId" paramProperty="msgId" title="draft message - load for sending" ><bean:write name="draftMsgList" property="subject" filter="true"/></html:link> </display:column> --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel