Project

General

Profile

Actions

Bug #3977

closed

Conditional Self not working with substitutions

Added by krileon over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
17 April 2013
Due date:
% Done:

100%

Estimated time:

Description

Conditional Self conditions seam to be ignored for substitutions, but Conditional Others is working fine.

Actions #2

Updated by krileon over 9 years ago

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.

Actions #3

Updated by krileon over 9 years ago

  • Target version set to 3.0.6
Actions #4

Updated by krileon over 9 years ago

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?).

Actions #5

Updated by krileon over 9 years ago

  • 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.

Actions #6

Updated by krileon over 9 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF