Project

General

Profile

Actions

Bug #4910

closed

Conditioning a tab with a field that's on the tab causes infinite loop

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

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
04 December 2014
Due date:
% Done:

100%

Estimated time:

Description

If you condition the username field against [cb:userfield field="username" user="#me" /] to show/hide the contact info tab you end up with an infinite loop. If you use [cb:userdata field="username" user="#me" /] though there is no issue as it's direct raw value. The HTML value is parsed through the conditional API again, which causes the infinite loop.

https://www.joomlapolis.com/forum/153-professional-member-support/227437-cb-conditional-version-4-problem?start=6#254088

Actions #1

Updated by krileon about 10 years ago

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

Needs further testing, but implemented pre-caching appears to have resolved this. This will allow html output substitutions of field values for conditioning to ignore conditions.

Actions #2

Updated by krileon about 10 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF