Last modified: 2010-08-13 19:08:36 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 T26501, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 24501 - [SMWWriter] Check that value is not empty before doing getHash()
[SMWWriter] Check that value is not empty before doing getHash()
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Other (Other open bugs)
unspecified
All All
: Normal critical (vote)
: ---
Assigned To: denny vrandecic
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-07-22 20:58 UTC by Samuel Lampa
Modified: 2010-08-13 19:08 UTC (History)
1 user (show)

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


Attachments
[updated patch] Check that object is not empty before getHash() (2 occurences) (1.19 KB, patch)
2010-07-22 21:25 UTC, Samuel Lampa
Details

Description Samuel Lampa 2010-07-22 20:58:21 UTC
Error messages of the type 
"Fatal error: Call to a member function getHash() on a non-object in [...]SMWWriter on line 82"

It was solved by adding a check that it is not empty, before doing getHash, in function removePropertynameValue() (see attached patch).
Comment 1 Samuel Lampa 2010-07-22 20:59:17 UTC
(Removed unnecessary tag in title)
Comment 2 Samuel Lampa 2010-07-22 21:25:34 UTC
Created attachment 7586 [details]
[updated patch] Check that object is not empty before getHash() (2 occurences)
Comment 3 denny vrandecic 2010-08-13 19:08:36 UTC
fixed in revision 71039. Thanks!

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


Navigation
Links