Context Help can have multiple messages

Description

I just tried out the new Context Help feature (https://idempiere.atlassian.net/browse/IDEMPIERE-626) and i find it quiet useful. However, since i never used it i just created two messages because idempiere allowed it to me. Then when i opened the window i assigned my context help to, it only showed the second message. I think we should modify this a little bit to either one of the following:
-Display all messages in one panel
-Display each message in a separate panel
-Prevent the user from creating more than one message (with a db constraint)
-Prevent the user from creating more than one message by creating the message entry with a eventhandler/modelvalidator and then use IsInsertRecord = N on the tab so no more new entries can be created

I would like to hear your suggestions.

Environment

None

Activity

Layda Salas 
February 25, 2022 at 10:42 AM

(#1200)

Carlos Ruiz 
February 24, 2022 at 12:12 PM

Reviewed the functionality and the index suggested by still requires to have ad_client_id+ad_org_id.

So, the ideal is:

because the functionality is intended to allow client/org configured messages.

Carlos Ruiz 
June 26, 2020 at 7:57 PM

The suggested index must be created directly on dictionary

Diego Ruiz 
June 25, 2020 at 5:58 PM

Triaged by Diego Ruiz,

The issue described here is still present.

Context help can have multiple messages and the System will only show the one with the higher ID in the context menu.

Jan Thielemann 
July 24, 2014 at 11:11 AM

Postgres:
CREATE UNIQUE INDEX ad_ctxhelpmsg_limit ON AD_CtxHelpMsg USING btree (ad_ctxhelp_id);

Oracle:
CREATE UNIQUE INDEX ad_ctxhelpmsg_limit ON AD_CtxHelpMsg (AD_CtxHelp_ID);

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created June 2, 2014 at 10:56 AM
Updated April 1, 2022 at 5:39 PM
Resolved February 25, 2022 at 10:42 AM