Bug #8231
closed
Substitutions not always accessible
Added by krileon over 4 years ago.
Updated over 4 years ago.
Start date:
11 November 2020
Description
This is due to the onAfterFieldsFetch trigger sending the viewing user user object instead of the user object being called in getField sent to getFieldRow. Likely that core CB will need to be improved before these substitutions can be more reliable.
This is specifically in regards to substituting in fields within a field group. Example as follows.
[cb_fieldgroup__0__cb_text]
This appears to be a long standing bug in core CB with getField using $this->getMyUserDataInstance() instead of $this->_cbuser to pass to _getTabFieldsDb as _getTabFieldsDb should be called with the user object of the profile attempting to be accessed.
- Status changed from Assigned to Rejected
- Target version deleted (
2.0.0)
- % Done changed from 0 to 100
This is a core CB bug. See #8232
Also available in: Atom
PDF