Skip to:

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#3572 closed defect (bug) (fixed)

empty profile group displayed if multiselect box value was previously set

Reported by: djpaul's profile DJPaul Owned by:
Milestone: 1.5 Priority: normal
Severity: normal Version:
Component: Extended Profile Keywords:


As reported by Quint on

This shows up when the field group has a multiselect box where an item has been selected then saved. When viewed in Public, the Group field heading shows up as well as the field’s value. After clearing that multiselect field and saving, Public still shows the Group heading with no values. This happens in testbp as well. Thanks.

Confirmed on testbp and in trunk

Attachments (2)

3572.01.diff (2.5 KB) - added by boonebgorges 13 years ago.
3572.02.diff (778 bytes) - added by boonebgorges 13 years ago.

Download all attachments as: .zip

Change History (6)

#1 @boonebgorges
13 years ago

It's being caused by the fact that empty multiselect boxes are stored as empty arrays. See 3572.01.diff

#2 @boonebgorges
13 years ago

Never mind 3572.01.diff, it has some extra crap in it. 3572.02.diff has the fix.

#3 @boonebgorges
13 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [5144]) Ensure that empty arrays don't count as field data when querying using hide_empty_fields in the xprofile query class. Fixes #3572.

#4 @boonebgorges
13 years ago

  • Milestone changed from Awaiting Review to 1.5
Note: See TracTickets for help on using tickets.