← Back to team overview

mahara-contributors team mailing list archive

[Bug 1770069] [NEW] Openbadges fails to install table on upgrade

 

Public bug reported:

A user got this error

  Upgrade openbadgedisplayer plugin
  mysqli error: [1050: Table 'blocktype_openbadgedisplayer_data' already exists]

I believe it is because one could install openbadgedisplayer plugin as a
thirdparty plugin.

And so when they tried to upgrade they found because it is shipped as
part of the core files the plugin tries to try and install again.

The bit of code to create the blocktype_openbadgedisplayer_data table
should have a check to see if the table already exists.

** Affects: mahara
     Importance: High
     Assignee: Robert Lyon (robertl-9)
         Status: In Progress

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1770069

Title:
  Openbadges fails to install table on upgrade

Status in Mahara:
  In Progress

Bug description:
  A user got this error

    Upgrade openbadgedisplayer plugin
    mysqli error: [1050: Table 'blocktype_openbadgedisplayer_data' already exists]

  I believe it is because one could install openbadgedisplayer plugin as
  a thirdparty plugin.

  And so when they tried to upgrade they found because it is shipped as
  part of the core files the plugin tries to try and install again.

  The bit of code to create the blocktype_openbadgedisplayer_data table
  should have a check to see if the table already exists.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1770069/+subscriptions


Follow ups