mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #24128
[Bug 1413036] Re: Mahara should create new tables from install.xml
The current system is that you have to:
1. Add the table to the relevant install.xml file
2. Add a section to create the table, in the relevant upgrade.php file (unless the install.xml is for a brand new plugin)
3. Update the relevant version.php file
Arguably, steps #1 and #2 are redundant, and if implemented, this would
fix the problem. We also sometimes have bugs where the upgrade.php
section has differences from the install.xml definition of the table,
and this proposal would fix that as well.
So, I think it would be a beneficial change, if it can be done without
too much effort.
** Changed in: mahara
Status: New => Confirmed
--
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/1413036
Title:
Mahara should create new tables from install.xml
Status in Mahara ePortfolio:
Confirmed
Bug description:
Enhancement idea:
It would be good if creating new tables in Mahara, was simply a matter
of adding them to the install.xml. If the installer checked
install.xml and created any new tables listed there, then ran the
upgrade script, the upgrade script could still do any population of
the tables required and the developer would only need to describe the
new table in one place.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1413036/+subscriptions
References