XWiki Platform
  1. XWiki Platform
  2. XWIKI-12143

Automatic conversion of object properties don't invalidate related caches

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.3 M2
    • Fix Version/s: 7.1-rc-1
    • Component/s: Old Core
    • Labels:
      None
    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      The field is converted directly in database without any generation of new document version or any notification of any kind (not even for the document cache) which causes two bugs:

      • the related document in cache ends up out of sync
      • the change does not appear anywhere in the history
      • nobody knows about the change which sometimes modify the value (double -> int, shorter text, etc.)

        Activity

        Hide
        Thomas Mortagne added a comment -

        IMO the whole feature should be reimplemented in a listener after the class has been modified and should manipulate documents and public APIs instead of the database.

        Show
        Thomas Mortagne added a comment - IMO the whole feature should be reimplemented in a listener after the class has been modified and should manipulate documents and public APIs instead of the database.

          People

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

            Dates

            • Created:
              Updated:
              Resolved: