plainblack.com
Username Password
search
Bookmark and Share
View All Tickets
Metadata display and criteria builder problems  (#11871)
Issue

The setup:
Metadata enabled
Metadata fields defined, one of them as checkbox list

The problem:
Following along in the Content Managers Guide, http://www.webgui.org/content-managers-guide-wiki/content-profiling :
Criteria picker / expression generator in Shortcuts is broken when Metadata Property Data Type is Checkbox List.

1. "is" or "isn't" doesn't display as an option between the fieldname and the values (it does with all other field types)

2. Selecting a value from that checkbox list and clicking "Add" spits out a Javascript error: sel.options is undefined in extras/wobject/Shortcut/quertybuilder.js  (might be related to #1?)

3. There are all kinds of ugly black lines all over it.

Same thing happens on my 7.7.21 install and on the beta.webgui.org server - http://beta.webgui.org/demo1284668753_199/welcome?func=edit

See attached screenshot.

Jarrod

Solution Summary
Comments
perlDreamer
0
9/20/2010 11:40 am
Some debugging notes:

Integers show relational operators, not "is" or "isn't".  Checklists don't show anything, and should probably display something like "contains" or "doesn't contain" because the checklist could contain more than 1 option.

The ugly black lines are due to having lots of checkboxes.  This should also be fixed, but it would help if you'd do it as a separate bug for tracking purposes.
jigou
0
9/20/2010 1:52 pm
Black lines in new bug report:
http://www.webgui.org/use/bugs/tracker/11877
perlDreamer
0
10/5/2010 12:55 pm
Added the ability for the query builder and the criteria evaluator to handle checkLists.

Fixed in 7.10.2 (97ffe51)
Fixed in 7.9.16 (a25e212)
Details
Ticket Status Resolved  
Rating0.0 
Submitted Byjigou 
Date Submitted2010-09-17 
Assigned To unassigned  
Date Assigned2019-05-22 
Assigned By 
Severity Cosmetic (misspelling, formatting problems)  
What's the bug in? WebGUI Stable  
WebGUI / WRE Version 7.7.21 / 0.9.3 AND 7.9.13 (on beta server)  
URLuse/bugs/tracker/11871
Keywords
Related Files
Ticket History
10/5/2010
5:56 PM
Resolved perlDreamer
9/17/2010
6:25 PM
Ticket created jigou
© 2019 Plain Black Corporation | All Rights Reserved