PO is Immutable: org.compiere.model.MCtxHelpMsg

Description

With ticket was created a way to allow direct edit of context help when the context is defined in client (no need to go through the suggestion approval flow).

Testing that feature threw an error:

Environment

None

discovered while testing

Activity

Carlos Ruiz 
May 13, 2022 at 2:15 AM

(#1327)

Carlos Ruiz 
May 12, 2022 at 11:25 AM

This error is hitting again, this time the exception is:

Carlos Ruiz 
February 24, 2022 at 1:55 PM

Test case for this ticket:

  • as SuperUser in System → Create a context help for a tab in system, and assign it in the tab (for example Sales Order Header tab)

  • as SuperUser in GardenWorld → Create a context help message in GardenWorld for that same help

  • as GardenUser in GardenWorld → open the window with the context help (f.e. Sales Order), right click in the help and select the “Edit” option, edit it and save → error PO is Immutable

Carlos Ruiz 
February 24, 2022 at 1:50 PM

Taking note here:

Initially I opened the ticket as “This is better to be configurable per organization”, however during tests I noticed it is configurable per role - it’s just needed to forbid role to modify table AD_CtxHelpSuggestion.

Fixed

Details

Assignee

Reporter

Fix versions

Priority

Created February 24, 2022 at 12:10 PM
Updated July 1, 2022 at 2:30 PM
Resolved May 13, 2022 at 2:15 AM