[Bug 38907] IP Block query fails with External auth

2013-02-11 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=38907

Sumana Harihareswara suma...@wikimedia.org changed:

   What|Removed |Added

 CC||kren...@gmail.com,
   ||suma...@wikimedia.org

--- Comment #5 from Sumana Harihareswara suma...@wikimedia.org ---
Krenair, could you take a moment to look at this?

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


[Bug 38907] IP Block query fails with External auth

2013-02-11 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=38907

--- Comment #6 from Alex Monk (Krenair) kren...@gmail.com ---
That query works for me in MySQL if I get rid of the apostrophes around the
table name. This sounds like something has been tested to work with MySQL but
not PostgreSQL. I don't know anything about that database system though, so I
can't help.

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


[Bug 38907] IP Block query fails with External auth

2012-12-30 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=38907

Andre Klapper aklap...@wikimedia.org changed:

   What|Removed |Added

   Priority|Unprioritized   |Normal

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


[Bug 38907] IP Block query fails with External auth

2012-09-12 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=38907

--- Comment #4 from Steve Walsh st...@nerdvana.org.au 2012-09-12 14:00:03 UTC 
---
This also occurs with a clean 1.18.5 install and just my auth plugin

Query: SELECT * FROM ipblocks WHERE ipb_address IN
('123123123123','123123123123') OR ((ipb_range_start LIKE '%' ) AND
(ipb_range_start = 0) AND (ipb_range_end = 0))
Function: Block::newLoad
Error: 1 ERROR: operator does not exist: text = integer

I'd be really interested in knowing if this is an actual bug with MW, or
something else.

-- 
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 38907] IP Block query fails with External auth

2012-09-07 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=38907

Karun karun...@gmx.de changed:

   What|Removed |Added

 CC||karun...@gmx.de
  Component|User blocking   |[other]
Version|1.19|unspecified
 Blocks|384 |
Product|MediaWiki   |MediaWiki extensions
   Target Milestone|--- |Future release

-- 
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 38907] IP Block query fails with External auth

2012-08-05 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=38907

--- Comment #3 from Steve Walsh st...@nerdvana.org.au 2012-08-05 13:32:53 UTC 
---
OK, thinking about that for a a few days, I can see that changing those columns
to int won't work for ipv6, so they need to remain text. 

This still looks like a problem with the query itself, not our plugin, it's
just our plugin triggering the issue.

-- 
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 38907] IP Block query fails with External auth

2012-08-01 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=38907

matanya matanya.mo...@gmail.com changed:

   What|Removed |Added

   Keywords||postgresql
 CC||matanya.mo...@gmail.com

--- Comment #1 from matanya matanya.mo...@gmail.com 2012-08-01 15:16:29 UTC 
---
Sounds like something is wrong with you external plugin and not in mediawiki.
One more point is, did you remove the old wiki and installed a fresh one or did
you upgrade?

-- 
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 38907] IP Block query fails with External auth

2012-08-01 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=38907

--- Comment #2 from Steve Walsh st...@nerdvana.org.au 2012-08-02 00:05:57 UTC 
---
Hi Matanya

thanks for the reply. Due to privacy issues, every year gets a new VM, so this
was a clean install from the 1.19.1 tar.gz.

The query I highlighted will always fail (I believe), as it's trying to compare
text to an integer to see if it matches any existing blocks in the database,
which is just going to go to custard.

Should the ipb_range_start column be an int and not text?

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