Last modified: 2013-11-04 21:15:11 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T23893, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 21893 - The 'like' property comparator fails to select pages when the property 'allows value'.
The 'like' property comparator fails to select pages when the property 'allow...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Markus Krötzsch
:
: 53589 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-12-19 01:50 UTC by Dan Bolser
Modified: 2013-11-04 21:15 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Dan Bolser 2009-12-19 01:50:10 UTC
The docs say: "Like: The comparator ~ works only for properties of Type:String and ... ", however I found if the string property is qualified with one or more 'Allows value' special properties the query fails.

I'm seeing the following error with this code:

 {{#ask: [[Technology::~*454*]]}}
 
:"*454*" is not in the list of possible values (Roche 454, Sanger, Illumina Solexa, Tool X, Tool Y, OPA, WGP, DaRT) for this property.


If I remove the 'Allows value' clauses from this property, the query works fine, returning pages with values of the Technology property 'like' 454.
Comment 1 Remco de Boer 2013-09-02 21:12:51 UTC
Any news on the status of this bug? It's been open for almost four years now.

I filed bug 53589 a couple of days ago. I just noticed it is a duplicate of this bug.
Comment 2 Andre Klapper 2013-09-03 10:18:51 UTC
*** Bug 53589 has been marked as a duplicate of this bug. ***
Comment 3 Gerrit Notification Bot 2013-11-02 17:18:59 UTC
Change 93168 had a related patch set uploaded by Rcdeboer:
Ignore allowed values when the LIKE comparator is used

https://gerrit.wikimedia.org/r/93168
Comment 4 Gerrit Notification Bot 2013-11-04 03:01:25 UTC
Change 93168 merged by Jeroen De Dauw:
Ignore allowed values when the LIKE comparator is used

https://gerrit.wikimedia.org/r/93168

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links