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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 4.4
    • Fix Version/s: 4.4.1
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: