Project

General

Profile

Actions

Bug #3604

closed

Ajax fields are overriding CBSubs protected fields

Bug #3604: Ajax fields are overriding CBSubs protected fields

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

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
23 July 2012
Due date:
% Done:

100%

Estimated time:

Description

When setting a field to Ajax display, but also protecting its display with CBSubs it overrides CBSubs in cases where the field should actually be hidden. This results in the field still visible and still functional.

https://www.joomlapolis.com/forum/153-professional-member-support/204480-cb-core-fields-ajax-disrepsects-cbsubs-fields-tabs

Updated by krileon over 13 years ago Actions #1

  • Target version set to 1.4.3

Updated by krileon over 13 years ago Actions #2

Was able to confirm issue, but the field isn't functional. Still visible, but not functional.

Updated by krileon over 13 years ago Actions #3

canEditAjax needs to be extended to do a callField getFieldRow for the Edit mode of the field. If this returns nothing then AJAX display should disable as this implies there is absolutely no edit display possible. This helps with CB Conditionals and CBSubs usage. CB Privacy also needs testing. Read only scenarios are already handled.

Updated by krileon over 13 years ago Actions #4

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

Also works with CB Privacy disabling a field.

Updated by krileon over 13 years ago Actions #5

  • Status changed from Resolved to Closed
Actions

Also available in: PDF Atom