Removing key from en.xml results in temporarily broken admin interface
Hello,
I've created a package that, among other things, appends a key to the sections area of "en.xml." Something like this:
<area alias="sections">
....
<key alias="myNewSection">My New Section</key>
</area>
Everything works fine on install but when the package is uninstalled and the key is removed, the labels in Umbraco temporarily break. For example, the success page for the uninstall shows this:
[packageUninstalledText]
for the success message instead of:
The package was successfully uninstalled
as it should be.
If I log out and log back in, everything is fine but I was hoping for a more elegant solution. Perhaps I should update the time stamp on web.config during uninstall (after en.xml is revised) to force a reload of the language file? Has anybody run into a similar issue?
Removing key from en.xml results in temporarily broken admin interface
Hello,
I've created a package that, among other things, appends a key to the sections area of "en.xml." Something like this:
Everything works fine on install but when the package is uninstalled and the key is removed, the labels in Umbraco temporarily break. For example, the success page for the uninstall shows this:
[packageUninstalledText]
for the success message instead of:
The package was successfully uninstalled
as it should be.
If I log out and log back in, everything is fine but I was hoping for a more elegant solution. Perhaps I should update the time stamp on web.config during uninstall (after en.xml is revised) to force a reload of the language file? Has anybody run into a similar issue?
Thanks,
Rick Noelle
I have noticed the same problem, but don't have a solution. Perhaps you should add an issue in Codeplex about it?
~Heather
is working on a reply...