Last modified: 2008-10-23 11:14:05 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 T18067, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 16067 - #ask queries for u-queryable property values should report error
#ask queries for u-queryable property values should report error
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Semantic MediaWiki (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Markus Krötzsch
http://www.wikijava.org/test/w/index....
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-10-22 11:58 UTC by Giulio
Modified: 2008-10-23 11:14 UTC (History)
0 users

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


Attachments

Description Giulio 2008-10-22 11:58:51 UTC
Hi, 

In my wiki (MediaWiki  	1.13.2) I've got some properties set some time ago with smw 1.11. Yesterday I added some new properties which are used only in pages that are in the namespace "TestFramework". 

I also added some #ask queries in 
http://www.wikijava.org/test/w/index.php?title=TestFramework:Contribute
login: test 
password: test

The result is that some queries don't give the expected results while others do. 

My feeling is that the queries that get corrupted are the ones which include results in the new namespace "TestFramework". While the queries that are just supposed to give results only in the main namespace fine. 

All the other features work fine. also in the namespace "TestFramework". 

I upgraded to smw 1.13 and the problem still persist both with the old and with the new store.
(the server online has still the old store, I tested it on local) 

Thanks,
Comment 1 Markus Krötzsch 2008-10-23 10:57:54 UTC
The reason is that the problematic properties use Type:Text which cannot be used in value-matching searches. The search thus abstract "search objects with property P with value V" to "search objects with property P". Not reporting this problem is confusing, and hence will require fixing.

For your application, it should suffice to change the "Text" type to "String" in all cases where very long texts are not required as values (the list is at http://www.wikijava.org/test/w/index.php?title=Type:Text)
Comment 2 Giulio 2008-10-23 11:14:05 UTC
Indeed it solved, 

I think reporting this problem in http://semantic-mediawiki.org/wiki/Help:Displaying_information this page could avoid other people having the same issue. 

Thank you very much.

Giulio

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


Navigation
Links