Something went wrong while setting issue due date.
Special hook attrs are not available to other tabs
Closed
Special hook attrs are not available to other tabs
Actual behavior
When a hook have special attrs for hook, for instance user has 'passwordMethod', 'userLocked' and 'passwordClear', they are not available to hook on other tabs of the same object.
Expected behavior
Be able to have a postmodify hook on samba tab which makes use of %passwordClear%.
Step by step description of new behaviour
- Instead of doing
foreach ($object->attributes as $attr) {
incallHook
, call a method on the object which fills$addAttrs
- In this method, user can provide
passwordClear
and the others on top of their other attributes
Benefits
Access special attributes on hooks on other tabs