Project

General

Profile

Actions

Bug #4910

closed

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

Added by krileon almost 10 years ago. Updated almost 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

Also available in: Atom PDF