Rename a namespace has removed all my code
Hi all.
I hope you can help me.
I've renamed a namespace and its databases names.
- Old Namespace: LABORATORIO
- New namespace: SRV-LABORATORIO
The rename of all has worked fine. When I've tried to access to the portal, it is no available, displaying the message "Tha namespace SRV-LABORATORIO does not support productions"
So, I've run the following command in terminal
zn"SRV-LABORATORIO"do##class(%EnsembleMgr).EnableNamespace($namespace)My IRIS has created the links to create the production.
Now, I've opened the portal but my code has disappear.
If all the code was into Routine database, Why do I only see the classes that are mapped to my namespace?
Where are the classes I had in the old namespace and stored in the routines database?
Comments
Hi @Kurro Lopez
Did you follow step by step this documentation?
Thank you Luis Angel,
I've followed the steps of the documentation and now it works.
Fortunally, the code of that namespace it was a dummy code just to create a documentation about how to rename a namespace.