To DSpace-Devel list:

     I just found what appears to be a bug in the Item short listing display 
when a field that is designated as (date) in a "webui.itemdisplay.******" 
configuration parameter in the dspace config file, displays on the Item short 
listing.  The date value displays as one thing on the Item short listing, and 
another on the long listing.

Here's what we're seeing:

The date (although it's really an invalid date) in the metadatavalue.text_value 
column is:  1981-10-00.

On the long listing, it displays as:  1981-10-00.

On the short listing, it displays as:  30-SEP-1981.

Here's how our short listing is configured in the dspace.cfg file:
webui.itemdisplay.coreaero = dc.identifier.bitstreamUri(link), \
                             dc.identifier.accessionNumber, \
                             dc.title.*,                    \
                             dc.identifier.titleControlKey, \
                            dc.contributor.author,         \
                             dc.contributor.corpAuthor,     \
                             dc.date.published(date),       \
                             dc.identifier.reportNumber,    \
                             dc.description.note


I see that maybe since the day is 00, it's backing up one day and displaying 
that as the date, but I don't think it should be doing this since it really is 
incorrect.  If anything, it should probably display as "SEP-1981".

As an aside, when I updated the date on the Item edit screen, I had to clear my 
cache before the change was reflected on the Item short listing.

Has anyone else seen this problem?

Thanks,
Sue


Sue Walker-Thornton
Software Developer/Database Administrator
NASA Langley Research Center - LITES Contract
[email protected]
(W) 757-864-2368
(M)  757-506-9903

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Dspace-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to