Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-6459

Overriding KeyGenerator does not work because system cannot handle more than one key generator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Neutral
    • None
    • None
    • None
    • Yes
    • 3

    Description

      The system defaults to a particular key generator. If you provide your own, the system simply bails because it doesn't know what to do when more than one key generator exists. This actually makes it impossible to use a custom key generator.

      A patch which (strictly) fixes this issue by taking the last key generator in the Set is attached.

      A more proper solution might be to not rely on this behavior, but rather to create a mapping of all such relationships, and, for each case, select the branch from the tree closest to the class under annotation.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                bandersen Bradley Andersen
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD