Markus Kroetzsch has uploaded a new change for review.

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(-)


  git pull 
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/SemanticMediaWiki 
refs/changes/79/31279/1
--
To view, visit https://gerrit.wikimedia.org/r/31279
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8b1b9a13ca2b3e193df94970545c413fff467d71
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/SemanticMediaWiki
Gerrit-Branch: master
Gerrit-Owner: Markus Kroetzsch <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to