[MGNLDATA-106] Delete dialog when deleting data type Created: 31/Aug/10  Updated: 04/Nov/15  Resolved: 04/Nov/15

Status: Closed
Project: Magnolia Data Module (closed)
Component/s: None
Affects Version/s: 1.4.2
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: Antti Hietala Assignee: Philipp Bärfuss
Resolution: Won't Do Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: JPEG File OrphanTypes.jpg    
Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

When you create a custom data type the system creates a type definition, a tree item and a basic dialog. When you delete the data type the system only deletes the definition and tree item but leaves the dialog. It should delete the dialog too.



 Comments   
Comment by Viacheslav Garmash [ 13/Oct/10 ]

I also noticed that issue when I played with Data plugin. Even after I deleted all custom types I created I still can see them in the main menu of Data plugin. May be there is a way to delete them from there? If you know that, please put it as workaraund here.

Comment by Philipp Bärfuss [ 14/Oct/10 ]

The menu and its entries are configured at /modules/adminInterface/config/menu

Comment by Viacheslav Garmash [ 14/Oct/10 ]

Thank you. I was able to remove configs for non-existing types. I think it should be done automatically during type deletion.

Comment by Felix Rabe [ 14/Oct/10 ]

Creating a new type creates these five nodes: (is this documented somewhere?)

  • config:/modules/adminInterface/config/menu/data/<type> (reload adminCentral to see node in menu)
  • config:/modules/data/config/types/<type>
  • config:/modules/data/dialogs/<type>
  • config:/modules/data/trees/<type>
  • data:<rootPath> (the "Root Path" you defined in the type dialog when you created it, starts with "/")

You might have to remove some of them manually.

Comment by Viacheslav Garmash [ 14/Oct/10 ]

I found last 4 by myself and removed them, but when I found that the custom types are still on the menu in Data Module, I added my comment here in this issue. Thank you for helping me find place #1 (/modules/adminInterface/config/menu/data/) where menu is configured.

And to answer your question about documentation: no, it is not documented in official public documentation for Data Module.

Comment by Antti Hietala [ 28/Jun/11 ]

This is now documented in the Data module article. The doc lists the configuration nodes the system creates when a user creates a new data type. I also added a warning against creating a data type named config which would conflict and override the existing config menu definition.

Comment by Michael Mühlebach [ 04/Nov/15 ]

Given the thousands of other issues we have open that are more highly requested, we won't be able to address this issue in the foreseeable future. Instead we will focus on issues with a higher impact, and more votes.
Thanks for taking the time to raise this issue. As you are no doubt aware this issue has been on our backlog for some time now with very little movement.
I'm going to close this to set expectations so the issue doesn't stay open for years with few updates. If the issue is still relevant please feel free to reopen it or create a new issue.

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