[jbosstools-issues] [JBoss JIRA] (JBIDE-13716) Error when deleting domain with 1+ applications

Stefan Bunciak (JIRA) jira-events at lists.jboss.org
Tue Mar 5 05:28:56 EST 2013


Stefan Bunciak created JBIDE-13716:
--------------------------------------

             Summary: Error when deleting domain with 1+ applications
                 Key: JBIDE-13716
                 URL: https://issues.jboss.org/browse/JBIDE-13716
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: openshift
    Affects Versions: 4.1.0.Alpha1
            Reporter: Stefan Bunciak
            Assignee: Andre Dietisheim
             Fix For: 4.1.0.Alpha2


{code}
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."
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list