Red Hat Bugzilla – Bug 1015655
[RFE] Change a namespace without first deleting all associated gears
Last modified: 2015-05-14 20:21:37 EDT
Description of problem:
A request is submitted for the ability to change a namespace with applications already created within the domain. Currently, all applications must be deleted for the namespace to be changed.
In light of this being a rare necessity, it would be acceptable to have to restart all applications when the namespace is created
Steps to Reproduce:
1. Create a domain
2. Create an application
3. Attempt to change the namespace
"Domain contains applications. Delete applications first before changing the domain namespace."
Domain changed successfully
We have intentionally disabled this feature since we do not have control over how the URL is being handled by the cartridges (namespace is part of the application URL). Cartridges (partner/community cartridges) could hardcode the URL causing the application to break if the namespace is changed. Expecting the cartridges to deal with a namespace/URL change is not feasible and not guaranteed to work.
Please reopen this bug if this is an absolute necessity.