-
Type:
Feature Request
-
Status: Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: Master
-
Fix Version/s: None
-
Component/s: Widget Templates, ~[Archived] WCM
-
Labels:
There are objects, like ADT templates, that can be deleted even when they are being used by a portlet,, so data inconsistence is created.
Steps to reproduce for ADT templates: See LPS-52320
So for every object that a reference is stored at portletpreferences, a validation must be done before execute the deletion operation to avoid inconsistencies.
For example, for ADT templates we can check it at deletion time, executing following SQL
select count(*) from portletpreferences where portletid like '101%' and preferences like '%ddmTemplate_133655e8-6afd-5d8a-524e-070b47929619%'
This SQL perhaps is a bit is expensive because of "like" commands, perhaps a new column or table with references must be stored to allow a quicker check at deletion time.
- causes
-
LPS-52246 NPE is thrown while importing a lar which contains an Asset Publisher that its asociated ddmtemplate was removed from system
- Closed
- relates
-
LPS-52320 Asset Publisher portlet shows error message after removing its ADT
- Closed
-
LPS-40052 Warn a user when documents and media files are deleted yet still referenced in other assets
-
- Open
-
-
LPS-54793 Find an alternative to storing localised fields as an XML in a DB column
-
- Closed
-
-
LPS-52769 As Web Content Editor or Admin I want to know which contents are using an Structure or an Template if I try to delete it
-
- Aligned with Roadmap
-
-
LPS-68686 Documents and Media portlet should warn user about deleting content that is linked to Web Content articles, and also provide the option to automate reference removal from the linked articles upon deletion
-
- Aligned with Roadmap
-