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

HibernateStore#getConfiguredColumnName does not support properties located in a combined identifier

    XMLWordPrintable

    Details

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

      Description

      It seems to be a bug in Hibernate's PersistentClass#getProperty which does look at the identifier but only if it's a unique identifier, and it misses the use cases of combined identifiers.

      Doing a workaround for now but we'll probably have to report it on Hibernate side.

        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: