Geta / InstantTemplates

Apache License 2.0
5 stars 5 forks source link

[Marketplace] Content of template tree still not be clean up after uninstalling #54

Closed milosmih92 closed 4 years ago

milosmih92 commented 4 years ago
  1. Uninstall Instant template 1.0.0
  2. Clean solution, build project
  3. Open Site
  4. Go to Admin mode > Set Access Right

Expected: Template folder tree are clean up. Actual: Do not see on Edit mode, but still see it on content tree of Admin mode (see attachment). In manage websites when searching content with keyword "template", exception "Content with id '126' is of type 'EPiServer.Core.ContentFolder' which does not inherit required type 'EPiServer.Core.PageData'"

image

milosmih92 commented 4 years ago

We did not found good way to clean widgets after uninstalling widget from Visual Studio, as currently EPiServer does not support attaching to any similar event. Advice for customers is to delete templates first before uninstalling.