Jeroen De Dauw has submitted this change and it was merged. Change subject: Fixed bug in inverse property handling ......................................................................
Fixed bug in inverse property handling Inverse properties would not reliably work (in queries etc.) when property names are written in lower case, e.g., "-located in". The reason was that the property name was not normalized after stripping the -, so the DB lookup would be based on "located_in" rather than on "Located_in". Change-Id: I8b1b9a13ca2b3e193df94970545c413fff467d71 --- M includes/SMW_QueryParser.php M includes/dataitems/SMW_DI_Property.php M includes/datavalues/SMW_DV_Property.php M includes/storage/SQLStore/SMW_SQLStore3_Queries.php M includes/storage/SQLStore/SMW_Sql3SmwIds.php 5 files changed, 28 insertions(+), 22 deletions(-) Approvals: Nikerabbit: Looks good to me, but someone else must approve Jeroen De Dauw: Verified; Looks good to me, approved -- To view, visit https://gerrit.wikimedia.org/r/31279 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I8b1b9a13ca2b3e193df94970545c413fff467d71 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/SemanticMediaWiki Gerrit-Branch: master Gerrit-Owner: Markus Kroetzsch <[email protected]> Gerrit-Reviewer: Daniel Werner <[email protected]> Gerrit-Reviewer: Denny Vrandecic <[email protected]> Gerrit-Reviewer: Foxtrott <[email protected]> Gerrit-Reviewer: Jeroen De Dauw <[email protected]> Gerrit-Reviewer: Kghbln <[email protected]> Gerrit-Reviewer: Markus Kroetzsch <[email protected]> Gerrit-Reviewer: Mwjames <[email protected]> Gerrit-Reviewer: Nikerabbit <[email protected]> Gerrit-Reviewer: Nischayn22 <[email protected]> Gerrit-Reviewer: Yaron Koren <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
