Page MenuHomePhabricator

[SMWWriter] Check that value is not empty before doing getHash()
Closed, ResolvedPublic

Description

Author: samuel.lampa

Description:
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).


Version: unspecified
Severity: critical

Details

Reference
bz24501

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:03 PM
bzimport set Reference to bz24501.

samuel.lampa wrote:

(Removed unnecessary tag in title)

samuel.lampa wrote:

[updated patch] Check that object is not empty before getHash() (2 occurences)

Attached:

fixed in revision 71039. Thanks!