Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-1651

Different format for $doc.creationDate when $doc is retrieved from cache

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 1.3 M2
    • 1.1 M4
    • {Unused} Core
    • None
    • Integration

    Description

      When a document is retrieved from database, $doc.creationDate is java.sql.Timestamp and when it is retrieved from the cache, it is a java.util.Date. This causes $doc.creationDate to be different in the two cases, because of the toString() implementation.

      Attachments

        Activity

          People

            sdumitriu Sergiu Dumitriu
            lucaa Anca Luca
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: