[Bug 31151] Property values with a space in them do not work in ”not equal”-queries.

2013-06-15 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=31151

Dan Smith dans...@byu.net changed:

   What|Removed |Added

 CC||dans...@byu.net

--- Comment #3 from Dan Smith dans...@byu.net ---
Same problem for me.  To clarify, ! works for spaces in strings, but not
spaces in page names.

Relevant output from the debug format:

t6.smw_sortkey!='A_Page_Name' (page comparison: broken, as sortkey doesn't use
underscores)
t3.o_hash!='Some text' (string comparison: this is correct)

I'm using SMW 1.8.0.4, MediaWiki 1.20.3.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 31151] Property values with a space in them do not work in ”not equal”-queries.

2013-04-25 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=31151

Thibault Taillandier thiba...@taillandier.name changed:

   What|Removed |Added

 CC||thiba...@taillandier.name

--- Comment #2 from Thibault Taillandier thiba...@taillandier.name ---
Hi,

I would like to confirm this bug. I encountered it also.

My versions :
- Semantic MediaWiki (version 1.8.0.4)
- MediaWiki1.20.3
- PHP5.3.3-7+squeeze14 (apache2handler)
- MySQL5.1.61-0+squeeze1

I found a patch, here is how to apply it :

- open file :
extensions/SemanticMediaWiki/includes/storage/SQLStore/SMW_SQLStore3_Queries.php
(line 549)

Change this line : 
code
  case SMW_CMP_NEQ: $comp = '!='; break
/code

by this one :
code
  case SMW_CMP_NEQ: $comp = '!='; $value =  str_replace( '_' , ' ' , $value
); break;
/code

This patch works fine for me. I hope it will help others, but i did not test it
anywhere else.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 31151] Property values with a space in them do not work in ”not equal”-queries.

2012-11-20 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=31151

--- Comment #1 from Leonard Wallentin leo_wallen...@hotmail.com 2012-11-20 
23:27:28 UTC ---
Also confirming this in MW1.20 / SMW1.8

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 31151] Property values with a space in them do not work in ”not equal”-queries.

2012-10-26 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=31151

Leonard Wallentin leo_wallen...@hotmail.com changed:

   What|Removed |Added

Version|unspecified |master

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
You are on the CC list for the bug.

___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l