Uploaded image for project: 'eXo-JCR'
  1. eXo-JCR
  2. EXOJCR-1845

Respect organization service specification in all implementations

    Details

      Description

      During refactoring JCROrgService two issues about specification were revealed. The first one is about removing group where children groups still exist. Specs says:

      Use this method to remove a group from the group database. If the group has he children group. The method should not remove the group and throw and exception

      Current implementations merely removes group and all its children. The second one is about saving user profile for not existed user.
      Specs says nothing but more logically to throw an exception than just skip saving.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                andrew.plotnikov Andrew Plotnikov
                Reporter:
                tolusha Anatolii Bazko
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 day Original Estimate - 1 day
                  1d
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days
                  2d