Last modified: 2013-10-09 21:15:27 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T57481, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 55481 - AJAXpoll doesn't create database tables when update.php is called
AJAXpoll doesn't create database tables when update.php is called
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
AJAX Poll (Other open bugs)
master
All All
: Normal normal (vote)
: ---
Assigned To: T. Gries
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-08 19:57 UTC by Isarra
Modified: 2013-10-09 21:15 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Isarra 2013-10-08 19:57:16 UTC
Kind of annoying. Had to manually sql.php the create-table-- things.
Comment 1 T. Gries 2013-10-08 20:33:25 UTC
uh. please can you indicate the exact versions of your

* mediawiki core; and
* AJAXpoll extension

I think, you are using an outdated version.
Comment 2 Isarra 2013-10-08 23:21:04 UTC
Oh, yes, just assume I'm wrong. That's endearing.

As I selected above, it's the git master, with the current mediawiki release, 1.21.
Comment 3 T. Gries 2013-10-09 08:02:55 UTC
(In reply to comment #2)
> Oh, yes, just assume I'm wrong. That's endearing.
> 
> As I selected above, it's the git master, with the current mediawiki release,
> 1.21.

That looks fine to me.

Thanks for letting me know. I don't know, why I did not work for you, as the subroutine 'AJAXPoll::onLoadExtensionSchemaUpdates' looks fine.

Perhaps, can you invest a minute and check in your installation:

- delete the two tables ajaxpoll-vote and ajaxpoll-info in your database
- run again then in your maintenance folder

php update.php

- check, whether the two tables have then be created.

Let me know your findings. If you can - I suggest this - update your MediaWiki core to the latest MediaWiki version from git master, I always run this.
Comment 4 T. Gries 2013-10-09 15:10:58 UTC
@ Isarra:

I guess you saw a "Database Error", is thsi true =?
I can confirm your observation, the error happens when the table is created, because a table row is missing. 

Will be fixed in the next 12 hours. 


Thanks for reporting this (installer) bug!
Comment 5 Isarra 2013-10-09 15:53:43 UTC
The tables weren't there at all. I checked the database schema after update.php completed.

Generally speaking, however, running the git master on a production site is not a good idea. This is why stable releases are released, and branches maintained for them.
Comment 6 Gerrit Notification Bot 2013-10-09 21:14:07 UTC
Change 88880 had a related patch set (by Wikinaut) published:
adding the forgotten table row to the table schema sql

https://gerrit.wikimedia.org/r/88880
Comment 7 Gerrit Notification Bot 2013-10-09 21:14:37 UTC
Change 88880 merged by Wikinaut:
adding the forgotten table row to the table schema sql

https://gerrit.wikimedia.org/r/88880
Comment 8 T. Gries 2013-10-09 21:15:27 UTC
https://gerrit.wikimedia.org/r/#/c/88880/ fixed, tested, merged

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links