Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Rick Noelle 10 posts 43 karma points
    Feb 24, 2010 @ 22:09
    Rick Noelle
    0

    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?

    Thanks,
    Rick Noelle

  • Heather Floyd 605 posts 1004 karma points MVP 5x c-trib
    Mar 04, 2010 @ 20:44
    Heather Floyd
    0

    I have noticed the same problem, but don't have a solution. Perhaps you should add an issue in Codeplex about it?

    ~Heather

Please Sign in or register to post replies

Write your reply to:

Draft