XWiki Platform
  1. XWiki Platform
  2. XWIKI-8624

Hide collection-type attribute in hibernate mapping files.

    Details

    • Type: Task Task
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: 4.4-rc-1
    • Fix Version/s: None
    • Component/s: Old Core
    • Labels:
      None
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      A customized collection type had to be added to the hibernate mapping for the class DBStringListProperty for fixing the dirty bit propagation (XWIKI-8398 and XWIKI-8464). But we support users customizing their hibernate mappings, so it is a problem that users may need to update their mapping files.

      In order to avoid this, we can instead silently decorate the hibernate configuration with the content-type attribute.

        Activity

        Hide
        Sergiu Dumitriu added a comment -

        Is the title of the issue supposed to be "Hide collection-type attribute..."?

        Show
        Sergiu Dumitriu added a comment - Is the title of the issue supposed to be "Hide collection-type attribute..."?
        Hide
        Andreas Jonsson added a comment -

        Yes, obviously.

        Show
        Andreas Jonsson added a comment - Yes, obviously.
        Hide
        Vincent Massol added a comment -

        Reopen since this is an invalid issue as it has the same affects and fixfor...

        Show
        Vincent Massol added a comment - Reopen since this is an invalid issue as it has the same affects and fixfor...
        Hide
        Vincent Massol added a comment -

        This issue should not have existed.

        Show
        Vincent Massol added a comment - This issue should not have existed.

          People

          • Assignee:
            Andreas Jonsson
            Reporter:
            Andreas Jonsson
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Date of First Response: