Page MenuHomePhabricator

[PostgreSQL] update.php: Call to undefined method PostgresField::isMultipleKey() in OpenID.hooks.php on line 361
Closed, ResolvedPublic

Description

Author: anton.kochkov

Description:
Mediawiki version http://droid-developers.org/wiki/Special:Version

update.php: Call to undefined method PostgresField::isMultipleKey() in OpenID.hooks.php on line 361


Version: unspecified
Severity: normal

Details

Reference
bz34846

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:14 AM
bzimport set Reference to bz34846.

Please indicate the complete version number of OpenID (see Special:Version),
and your MediaWiki.

Please see http://www.mediawiki.org/wiki/Extension_talk:OpenID#First_aid_checklist .

anton.kochkov wrote:

(In reply to comment #1)

Please indicate the complete version number of OpenID (see Special:Version),
and your MediaWiki.

Please see
http://www.mediawiki.org/wiki/Extension_talk:OpenID#First_aid_checklist .

Version of MediaWiki: 1.19alpha of OpenID 0.946-beta 20120201

(In reply to comment #1)

Please indicate the complete version number of OpenID (see Special:Version),
and your MediaWiki.

It obviously should explode on trunk.

(In reply to comment #1)

Please indicate the complete version number of OpenID (see Special:Version),
and your MediaWiki.

It obviously should explode on trunk.

What do you want to say exactly ? The version number is currently at 1.001 .

(In reply to comment #0)

Mediawiki version http://droid-developers.org/wiki/Special:Version

update.php: Call to undefined method PostgresField::isMultipleKey() in
OpenID.hooks.php on line 361

I am not an expert for PostgreSQL databases. The mentioned error will "only" happen once when changing the database schema (i.e. during updating), and checking and trying to migrate from a - possibly - very old OpenID installation , where the index was not necessarily unique.

Are you able to change this index manually so that it becomes unique ?

Please let us know your results, so that your experiences can be used to improve the extension for PostgreSQL. I have only tested it with MySQL.

An expert for PostgreSQL can perhaps look to

I will indicate this on the extensions' manual page. The readme already says only "0.940 changed database schema updater; tested for MySQL".

(In reply to comment #5)

An expert for PostgreSQL can perhaps look to

It doesn't take a postgres expert.

(In reply to comment #3)

(In reply to comment #1)

Please indicate the complete version number of OpenID (see Special:Version),
and your MediaWiki.

It obviously should explode on trunk.

Ding ding ding.

An expert for PostgreSQL can perhaps look to

It doesn't take a postgres expert.

(In reply to comment #3)

(In reply to comment #1)

Please indicate the complete version number of OpenID (see Special:Version),
and your MediaWiki.

It obviously should explode on trunk.

Ding ding ding.

This is not a helpful comment.

Change 92466 had a related patch set uploaded by saper:
Add uoi_user_registration for PostgreSQL

https://gerrit.wikimedia.org/r/92466

Change 92466 merged by Wikinaut:
Add uoi_user_registration for PostgreSQL

https://gerrit.wikimedia.org/r/92466

tested, verfied. merged version 3.43. Thanks to all, who helped.

Jdforrester-WMF subscribed.

Migrating from the old tracking task to a tag for PostgreSQL-related tasks.