Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-1550

Remove metamodel validation that insists on at least one @PersistenceCapable class.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.13.1
    • 1.13.2
    • Core
    • None

    Description

      As per JdoMetaModelValidator:

                      if(!found) {
                          validationFailures.add("No @PersistenceCapable entities found. " +
                                  "(Are the entities referenced by the registered services? " + 
                                  "are all services registered? " + 
                                  "did the DataNucleus enhancer run?)");
                      }
      

      because it's perfectly valid to have an Isis app with no persisted entities, just view models.

      Attachments

        Activity

          People

            danhaywood Daniel Keir Haywood
            danhaywood Daniel Keir Haywood
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: