Bug #3977
closed
Conditional Self not working with substitutions
Added by krileon over 11 years ago.
Updated over 11 years ago.
Description
Conditional Self conditions seam to be ignored for substitutions, but Conditional Others is working fine.
getFieldConditional with $fields set to null so it grabs and parses all fields isn't working properly in some cases. It's not returning all fields it seams for parsing and results in some fields being excluded from the Hide array.
- Target version set to 3.0.6
This is because when all the fields are grabbed the field is already removed due to conditionals. New method is needed as it should be ignoring conditionals when grabbing all the fields (or maybe it shouldn't even be doing this? just use the existing $field object, which seams to work... why is this here?).
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
When grabbing the full list of fields it should use adminfulllist for the user and ignore access checks. This is because these fields are parsed to populate arrays to hide them or not. So all checks need to be ignored when grabbing them so this is done properly.
- Status changed from Resolved to Closed
Also available in: Atom
PDF