Kbase P24657: Problem with modifyDisabledActions and all entries using asterisk (*)
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  16/10/2008 |
|
Status: Unverified
SYMPTOM(s):
Problem with modifyDisabledActions and all entries using asterisk (*)
In adm2 the modifyDisabledActions function may be used to disable/enable toolbar buttons. If the '*' is passed to the function then all toolbar buttons are disabled however if an attempt is made to re-enable one entry, eg. 'next' then it fails.
CAUSE:
The problem is in the function itself as the code tries to match the passed parameter ('next') to an entry in the list of changed buttons which, in this case, is '*'. As 'next' is not found in '*' then it fails.
FIX:
As a result this function does not support using the '*' wildcard to set/unset all buttons and instead all entries in your toolbar should be passed for the standard product to work correctly.