[MGNLDAM-1143] Provide optional support for mgnl:type Created: 27/Mar/23  Updated: 23/Oct/23

Status: Selected
Project: Magnolia DAM Module
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Story Priority: Neutral
Reporter: Marek Strucka Assignee: Marek Strucka
Resolution: Unresolved Votes: 0
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: Not Specified Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Issue Links:
Cloners
Relates
relates to MGNLDAM-1167 Couldnt load DAM app decoration Open
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MGNLDAM-1163 Implementation Sub-task In Progress Marek Strucka  
MGNLDAM-1164 Review Sub-task To Do  
MGNLDAM-1165 PiQA Sub-task To Do  
MGNLDAM-1166 QA Sub-task To Do  
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Epic Link: DevX Bucket
Story Points: 2
Team: DeveloperX
Work Started:

 Description   

Use Case:

As a developer, i want to filter un/publish events by mgnl:type in my webhook definition.

ticket cloned from the Norsu CT issue that is the same, see linked tickets

Norsu assets optionally support node types (mgnl:type in Norsu). However the mgnl:type is not persisted in the database because Norsu UI framework definitions doesn't allow to specify the mgnl:type anywhere. We would like to ask you if you could evaluate the possibility of making it possible to persist mgnl:type.

We would like to use mgnl:type in our filter in Webhooks.

Acceptance Criteria:

  • nodeType is persisted to mgnl:type property
  • The nodeType could be achieved via item.getType(), and it cannot be null or empty
  • nodeType possible values:
    • default: content (tbd)
    • folder: folder (already used) Folder.java


 Comments   
Comment by Marek Strucka [ 25/Apr/23 ]

While working on this, a bug was spotted that has to be resolved first to be able to continue, ticketed here https://jira.magnolia-cms.com/browse/MGNLDAM-1167 , stopping the progress on this one until the mentioned ticket gets resolved

Generated at Mon Feb 12 05:06:40 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.