Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0050369
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 00. Application dictionaryminorhave not tried2022-09-28 17:002022-09-29 11:48
ReportershuehnerView Statuspublic 
Assigned Toshuehner 
PrioritynormalResolutionfixedFixed in VersionPR22Q4
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0050369: Empty folders without any content should be removed from application menu

DescriptionThe main application menu of Openbravo contains several folders which do not have any entries.

As those are not useful but have some overhead (data, translations) they should be removed.

Application Dictionary,Automated Test | 800108
Application Dictionary,System Admin | 218
Deprecated | 800257
Financial Management,Business Intelligence | 1004400006
Financial Management,Performance Measurement | 158
General Setup,Data | 157
General Setup,Data,Utility | 159
General Setup,Printing Options | 326
Partner Relations | 263
Partner Relations,Business Partner Rules | 165
Partner Relations,Web | 372
Product Management,Product Attributes | 357
Product Management,Setup | 167
Service | 271
Service,Knowledge | 392
Service,Reports | 800080

To double check that those are not used in modules the following can be used.
It search for ad_treenode entries (which define the menu structure) for any entries having the removed id's as a parent_id

find . -name AD_TREENODE.xml | grep PARENT_ID | cut -d'[' -f3 | cut -d']' -f1 | grep -E '157|158|159|165|167|183|218|263|271|326|357|372|392|800080|800108|800257|1004400006'
Steps To ReproduceSearch application menu for any entries (folders) not having any
- subfolders
- items

inside them.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0141451)
hgbot (developer)
2022-09-28 17:06

Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/719 [^]
(0141452)
hgbot (developer)
2022-09-28 17:06

Merge Request created: https://gitlab.com/openbravo/ci/backoffice-api/-/merge_requests/34 [^]
(0141482)
hgbot (developer)
2022-09-29 11:48

Repository: https://gitlab.com/openbravo/ci/backoffice-api [^]
Changeset: 1675cf98425b376c574bf9295f729eb848b61c37
Author: Stefan Huehner <stefan.huehner@openbravo.com>
Date: 28-09-2022 17:04:54
URL: https://gitlab.com/openbravo/ci/backoffice-api/-/commit/1675cf98425b376c574bf9295f729eb848b61c37 [^]

Related to ISSUE-50369. Accept API-change to cleanup empty menu folders.

---
M model/src-db/database/sourcedata/AD_MENU.xml
M model/src-db/database/sourcedata/AD_TREENODE.xml
---
(0141483)
hgbot (developer)
2022-09-29 11:48

Merge request merged: https://gitlab.com/openbravo/ci/backoffice-api/-/merge_requests/34 [^]
(0141484)
hgbot (developer)
2022-09-29 11:48

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 52801ed3e80e5fe428ddbb4a420c893827e63ba8
Author: Stefan Huehner <stefan.huehner@openbravo.com>
Date: 28-09-2022 17:02:05
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/52801ed3e80e5fe428ddbb4a420c893827e63ba8 [^]

Fixes ISSUE-50369. Remove empty folders from application menu

Several old folder in application menu exist which do not have any
content. Remove them as obsolete.

---
M src-db/database/sourcedata/AD_MENU.xml
M src-db/database/sourcedata/AD_TREENODE.xml
---
(0141485)
hgbot (developer)
2022-09-29 11:48

Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/719 [^]

- Issue History
Date Modified Username Field Change
2022-09-28 17:00 shuehner New Issue
2022-09-28 17:00 shuehner Assigned To => Triage Platform Base
2022-09-28 17:00 shuehner Modules => Core
2022-09-28 17:00 shuehner Triggers an Emergency Pack => No
2022-09-28 17:06 hgbot Note Added: 0141451
2022-09-28 17:06 hgbot Note Added: 0141452
2022-09-29 11:47 alostale Assigned To Triage Platform Base => shuehner
2022-09-29 11:48 hgbot Note Added: 0141482
2022-09-29 11:48 hgbot Note Added: 0141483
2022-09-29 11:48 hgbot Resolution open => fixed
2022-09-29 11:48 hgbot Status new => closed
2022-09-29 11:48 hgbot Fixed in Version => PR22Q4
2022-09-29 11:48 hgbot Note Added: 0141484
2022-09-29 11:48 hgbot Note Added: 0141485


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker