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

DateProperty#equals pretty much never works between a document loaded from the database and a document loaded from the XAR for example

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 4.4.1
    • 4.4
    • Old Core
    • None
    • Unknown
    • N/A
    • N/A

    Description

      Because hibernate produce Timestamp and not Date. Timestamp extends Date but is not equals to a simple Date (even if in practice it is).

      Among other things it causes most of the conflicts in XWIKI-8634.

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: