Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-610

SyndicationFeed expects dc.date.issued to be available as a java.util.Date

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.0, 1.6.1
    • Fix Version/s: 1.6.0, 1.6.1, 1.6.2
    • Component/s: None
    • Labels:
      None
    • Attachments:
      1
    • Comments:
      3
    • Documentation Status:
      Not Required

      Description

      SyndicationFeed calls DCDate.toDate() which returns a java.util.Date. This is only currently possible because DCDate stores all dates as java.util.Date even if they were only entered as year or year+month. On the assumption that we fix DCDate what do we do about SyndicationFeed ? I am guessing this date ultimately appears as a 'published date' in an RSS feed. Either it should use default values for month and day if not available, or it should ignore incomplete dates. I think the latter is safer. Any thoughts ?

        Attachments

          Activity

            People

            Assignee:
            robintaylor Robin Taylor
            Reporter:
            robintaylor Robin Taylor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: