Last modified: 2012-11-07 10:48:35 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 T35610, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33610 - [SMW] 1.7.0.1; Special:Properties creates Internal error: no predefined property with "___gld"
[SMW] 1.7.0.1; Special:Properties creates Internal error: no predefined prope...
Status: RESOLVED FIXED
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: 2012-01-09 19:04 UTC by MWJames
Modified: 2012-11-07 10:48 UTC (History)
3 users (show)

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


Attachments

Description MWJames 2012-01-09 19:04:33 UTC
Trying to use Special:Properties creates the following error.


There is no predefined property with "___gld".
Backtrace:
#0 ...\extensions\SemanticMediaWiki\includes\storage\SMW_SQLStore2.php(1036): SMWDIProperty->__construct('___gld')
#1 ...\extensions\SemanticMediaWiki\specials\QueryPages\SMW_SpecialProperties.php(118): SMWSQLStore2->getPropertiesSpecial(Object(SMWRequestOptions))
#2 ...\extensions\SemanticMediaWiki\specials\QueryPages\SMW_QueryPage.php(56): SMWPropertiesPage->getResults(Object(SMWRequestOptions))
#3 ...\extensions\SemanticMediaWiki\specials\QueryPages\SMW_SpecialProperties.php(30): SMWQueryPage->doQuery(0, 50)
#4 ...\includes\SpecialPageFactory.php(458): SMWSpecialProperties->execute(NULL)
#5 ...\includes\Wiki.php(226): SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
#6 ...\includes\Wiki.php(626): MediaWiki->performRequest()
#7 ...\includes\Wiki.php(533): MediaWiki->main()

Cheers, 

mwjames
Comment 1 Jeroen De Dauw 2012-01-09 19:32:41 UTC
I don't know what this ___gld thing is. It's not native SMW, nor is it in any of the extensions I have locally. Running any non-common or SMW+ semantic extensions?
Comment 2 MWJames 2012-06-05 23:26:01 UTC
## Analysis 

We had to deactivated the Semantic Glossary extension (which defines the special property ___gld) and during the update procedure (or call to Special:Properties) ___gld properties where still "active" and when SMW tried to de-solve the ___gld property it couldn't find any definition because SMWDIProperty failed.

This could happen to any special property that is defined outside SMW core and comes/goes with an extension. 

This behaviour has be verified against SMW 1.7.0.2 / SMW 1.8 alpha.
Comment 3 MWJames 2012-11-07 08:34:46 UTC
[1] should solve this problem for inactive/former registered special properties.

[1] https://gerrit.wikimedia.org/r/#/c/31829/
Comment 4 Markus Krötzsch 2012-11-07 10:48:35 UTC
No, this problem had not been fixed in the above commit. It has been fixed only now in the following change (review pending):

https://gerrit.wikimedia.org/r/#/c/32201/

Status can remain fixed though.

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


Navigation
Links