Uploaded image for project: 'DNN Platform'
  1. DNN-9708

Delete Themes failed if it was installed with a wrong package file

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Medium
    • Resolution: Won't Fix
    • Affects Version/s: Platform 9.1.0
    • Fix Version/s: Platform 9.1.1
    • Component/s: Host - Extensions
    • Labels:
      None
    • Story Points:
      1
    • Story Size:
      XS
    • Severity:
      Major
    • Triage:
      Triaged
    • Includes Code Fix:
      No
    • Sprint:
      9.1.1 Sprint 4, 9.1.1 Sprint 5, 9.1.1 - Regression

      Description

      I don't think it is a regression bug, but an issue brought in when we trying to handle all zip files during the extension installation.

      Sample Module: \\dnn-vh1\QA\Tools & Software & 3rd Party Skins Modules\3rd Party Skins\2016Nov\SampleSkinsFromHotCakes\Gravity-Bootstrap-Skins-Site-Templates_unzipMe.zip

      • By certain chance, ppl might be able to install some wrong zip file in Extensions without "Unzip" first. At that moment, the extension installer normally will ask for 2 options to continue: Theme or Container.
      • If user picked up "Theme" at that time, and the installer will continue and add this new installed item to PB > Themes
      • However, that theme won't be able to delete. It will pop up some error like I copied below:
      2017-04-22 10:15:40,664 [DNN-PC107][Thread:33][ERROR] Dnn.PersonaBar.Themes.Services.ThemesController - System.InvalidOperationException: UsePackageUninstall
         at Dnn.PersonaBar.Themes.Components.ThemesController.DeleteThemePackage(PortalSettings portalSettings, ThemeInfo theme)
         at Dnn.PersonaBar.Themes.Services.ThemesController.DeleteThemePackage(ThemeInfo theme)
      

      Expected:

      • Either it should be deleted no matter what since it was installed successfully,
      • Or the installer shall not allow the installation from the 1st place.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bing.wu Bing Wu (Inactive)
              Dev Owner:
              Ben Zhong
            • Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support