Last modified: 2013-09-03 10:18:51 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 T55589, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 53589 - Like operator cannot be used to select from allowed value
Like operator cannot be used to select from allowed value
Status: RESOLVED DUPLICATE of bug 21893
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-30 12:54 UTC by Remco de Boer
Modified: 2013-09-03 10:18 UTC (History)
5 users (show)

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


Attachments

Description Remco de Boer 2013-08-30 12:54:04 UTC
When a property uses the special property 'Allows value' to limit the set of permissible values, it is not possible to query that property using the like operator (::~). 

Reproduction / observed behavior:

Suppose we have a Property:Enumeration with [[allows value::Foo]], [[allows value::Bar]] and [[allows value::Foobar]]. The query {{#ask: [[Enumeration::Fo*]] }} results in the error

"Fo*" is not in the list of possible values (Foo, Bar, Foobar) for this property

Expected behavior:

Query returns all pages with Enumeration::Foo and Enumeration::Foobar
Comment 1 Andre Klapper 2013-09-03 10:18:51 UTC
Hi Remco. Thanks for taking the time to report this!
This particular problem has already been reported into our bug tracking system, but please feel free to report any further issues you find.

*** This bug has been marked as a duplicate of bug 21893 ***

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


Navigation
Links