Uploaded image for project: 'Cayenne'
  1. Cayenne
  2. CAY-1332

Embeddable validation error in CM on custom Java types

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 3.0 beta 1
    • 3.0RC1
    • Modeler
    • None
    • All

    Description

      Using Cayenne Modeler 3.0B1, I edited an ObjEntity's Java Type to be a custom enum (say, foo.bar.enums.MyType). When I save the project, I
      get an incorrect validation warning:

      Warning: EmbeddedAttribute has incorrect Embeddable.

      CM used to not work this way (never gave a warning for this) because custom Java Types are supported.

      You can still save the project, but the incorrect and misleading validation warning could confuse people.

      Attachments

        Activity

          People

            cayenne_olga Olga Tkacheva
            blacknext Michael Gentry
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: