Actions
Bug #3977
closedConditional Self not working with substitutions
Description
Conditional Self conditions seam to be ignored for substitutions, but Conditional Others is working fine.
Actions
Added by krileon about 12 years ago. Updated about 12 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.
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?).
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.