mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #51579
[Bug 1814954] [NEW] "aretefactid" is not defined error on db upgrade
Public bug reported:
On upgrade we sometimes get the error:
[WAR] 66 (lib/db/upgrade.php:893) Undefined index: artefactid
This is due to trying to spot the array key 'artefactid' whn it's value
is null
But if 'artefactid' is not set at all we get the error.
Need to use array_key_exists() instead of is_null()
As the upgrade will still complete I will mark as medium bug
** Affects: mahara
Importance: Medium
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/1814954
Title:
"aretefactid" is not defined error on db upgrade
Status in Mahara:
In Progress
Bug description:
On upgrade we sometimes get the error:
[WAR] 66 (lib/db/upgrade.php:893) Undefined index: artefactid
This is due to trying to spot the array key 'artefactid' whn it's
value is null
But if 'artefactid' is not set at all we get the error.
Need to use array_key_exists() instead of is_null()
As the upgrade will still complete I will mark as medium bug
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1814954/+subscriptions
Follow ups