Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-13716

Error when deleting domain with 1+ applications

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.1.0.Alpha2
    • 4.1.0.Alpha1
    • openshift
    • None
      • ASSERT: make sure you have an openshift account added to explorer with more than 1 app attached to it
      • EXEC: Delete domain via explorer (force application deletion)
      • RESULT: Failed to delete domain "sbunciak"

    Description

      This is an issue on OpenShift, this issue is just a watcher to help us track the progress on OpenShift.

      Failed to delete domain "sbunciak"
      Could not request https://openshift.redhat.com/broker/rest/domains/sbunciak: Operation failed with exit code "1".Reason given: "
      Problem:
        Cannot delete Domain because of dependent 'applications'.
      Summary:
        When defining 'applications' with a :dependent => :restrict, Mongoid will raise an error when attempting to delete the Domain when the child 'applications' still has documents in it.
      Resolution:
        Don't attempt to delete the parent Domain when it has children, or change the dependent option on the relation."
      

      Attachments

        Issue Links

          Activity

            People

              adietish@redhat.com André Dietisheim
              sbunciak-rh Stefan Bunciak
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: