Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-1364

Improve Asciidoc and Javadoc for migrating from DomainObjectContainer#persist() to RepositoryService#persist()

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.12.0
    • Fix Version/s: 1.13.0
    • Component/s: Core
    • Labels:
      None

      Description

      DomainObjectContainer#persist() has been deprecated and RepositoryService#persist() might be used instead.

      But current RepositoryService#persist() implementation does not throw an exception if the Domain Object is already persistent, so its behavior is different from the current DomainObjectContainer#persist() one.
      In fact, is identical to DomainObjectContainer#persistIfNotAlready(), which has also been moved to RepositoryService#persistIfNotAlready()

      Improve Asciidoc migration notes and documentation, and also Javadoc on DomainObjectContainer.

        Attachments

          Activity

            People

            • Assignee:
              oscarbou Oscar Bou
              Reporter:
              oscarbou Oscar Bou
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: