TitleAttachment and Info Tabs are blank
Date06-May-2007 22:57:24 EEST
Version2.5.51
SubmitterFrank_Fischer
Bug criticalityMediumBug
Browser versionFirefox 2.0.0.3
Bug statusClosedBug
PageProvider used
Servlet ContainerTomcat 5.5.9
Operating SystemSuSe Linux
URL
Java version1.6.0-b105

I see blank tabs and the following messages in the log file:

An error occurred at line: 115 in the jsp file: /templates/default/AttachmentTab.jsp
Generated servlet error:
The method setValue(Object) in the type FormatNumberTag is not applicable for the arguments (double)

and

An error occurred at line: 484 in the jsp file: /templates/default/InfoTab.jsp
Generated servlet error:
The method setValue(Object) in the type FormatNumberTag is not applicable for the arguments (float)

I have attached patches AttachmentTab.patch(info) and InfoTab.patch(info).
With these the tabs have their expected content.


This bug tracking system is primarily meant for submitting bugs for the stable releases.
I think you can better (also) post this bug and patch on the mailing list (jspwiki-users@jspwiki.org).

--HarryMetske, 07-May-2007


Sorry - i was confused.

I did not look at SubmitBugReport which tells us to use jspwiki-dev (and not jspwiki-users) for bug reports for experimental branches. I fact i did not post to jspwiki-dev because i thought it was not common practice to post code (patches) there.

(And there is CategoryPatches which does not seem to be much in use).

--Frank_Fischer, 08-May-2007


Nono, posting patches to jspwiki-dev is well and accepted.

--JanneJalkanen, 08-May-2007


Good catch. Is updated in v2.5.58 with brushed template updates --DF

Add new attachment

In order to upload a new attachment to this page, please use the following box to find the file, then click on “Upload”.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
patch
AttachmentTab.patch 0.8 kB 1 06-May-2007 22:58 Frank_Fischer
patch
InfoTab.patch 0.8 kB 1 06-May-2007 22:58 Frank_Fischer
« This page (revision-11) was last changed on 13-May-2007 12:29 by DirkFrederickx