
Bug: major database/table upgrades
Reported by dleffler | February 6th, 2013 @ 09:30 PM | in 2.2.4 (closed)
Running into an issue by removal of obsolete table fields leftover from 0.9x. Causes an issue with $cb->insertObject since it fails with a field which doesn't exist in the target table. Not sure if this is a 'feature' or a 'bug'
Before moving to beta or definitley rc state, we need to resolve what we can do to alleviate this issue:
- keep obsolete fields in critical tables
- do a check to remove 'absent' fields before doing a 'restore database' operation
- do a check to remove 'absent' fields before insertObject
Secondary issue is should we call it 'container2' or simply 'comtainer'. The latter might help compensate for other issues since it might appear to be a containermodule reference. Again, something to be resolved before moving to a new code state.
Comments and changes to this ticket
-
expNinja February 6th, 2013 @ 09:32 PM
(from [2a2ac16309c3898ab1d0d328f8ad7d0146206d1d]) Returns some obsolete fields to container & sectionref tables defs to keep other things working for the time being [#908] https://github.com/exponentcms/exponent-cms/commit/2a2ac16309c3898a...
-
dleffler February 6th, 2013 @ 09:53 PM
FWIW, this issue basically only caused importing old eql files and installing with sample data to not work as expected, in that containers and sectionrefs were zeroized. And this was only for a fresh installation and NOT an upgrade from previous versions < v2.2 UNLESS you did a remove obsolete table columns call.
-
expNinja February 12th, 2013 @ 02:44 AM
(from [cecd5e178a2f41a75ec6de42c315c377abc39eee]) Removes all old school files, fixes some issues with nested containers not being displayed. Issue w/ containers not showing where inserted now is ticket #917 [#909 state:resolved] [#908] [#892 state:resolved] https://github.com/exponentcms/exponent-cms/commit/cecd5e178a2f41a7...
-
dleffler February 16th, 2013 @ 02:56 AM
- Milestone changed from 2.2.0alpha2 to 2.2.0alpha3
-
dleffler March 2nd, 2013 @ 09:43 PM
- Milestone changed from 2.2.0alpha3 to 2.2.0beta1
-
-
dleffler March 16th, 2013 @ 03:28 AM
- Milestone changed from 2.2.0beta1 to 2.2.0beta2
-
dleffler March 29th, 2013 @ 08:00 PM
- Milestone changed from 2.2.0beta2 to 2.2.0beta3
-
dleffler April 20th, 2013 @ 10:17 AM
- Milestone changed from 2.2.0beta3 to 2.2.0release-candidate
-
dleffler May 1st, 2013 @ 10:22 AM
- Milestone changed from 2.2.0release-candidate to 2.2.1
-
-
dleffler December 12th, 2013 @ 12:59 PM
- State changed from new to resolved
- Milestone set to 2.2.4
This no longer appears to be an issue
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Bug Tracker for Exponent CMS
Tags
Referenced by
-
909 Bug: container2 add module doesn't work as expected (from [cecd5e178a2f41a75ec6de42c315c377abc39eee]) Removes...
-
892 Feature request - Removed deprecated modules/files (from [cecd5e178a2f41a75ec6de42c315c377abc39eee]) Removes...