Project

General

Profile

Actions

Bug #4233

closed

Fields not accessible can't be conditioned

Added by krileon about 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
06 September 2013
Due date:
% Done:

100%

Estimated time:

Description

If you condition off a field that is on a tab accessible only to Special then the value will always be NULL. This is because the POST value is NULL and the getFields value is NULL. It should fallback to grabbing its value from user object if all of the above result in null.

Actions #1

Updated by krileon about 11 years ago

It should ignore this for checkbox fields. Checkbox fields when unchecked are actually set to NULL making this check pretty much impossible.

Actions #2

Updated by krileon about 11 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Fixed by cloning cbUser then populating with postUser then calling getFields. This now does proper field value checking. As a fallback if the value is null it'll fallback to grabbing from existing user object instead of post user object.

Actions #3

Updated by krileon about 11 years ago

  • Target version set to 3.0.11
Actions #4

Updated by krileon about 11 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF