New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrader - various issues learned via CLI #6036
Conversation
Signed by Shawn Bulen, bulens@pacbell.net
Signed by Shawn Bulen, bulens@pacbell.net
Signed by Shawn Bulen, bulens@pacbell.net
Signed by Shawn Bulen, bulens@pacbell.net
Signed by Shawn Bulen, bulens@pacbell.net
Signed by Shawn Bulen, bulens@pacbell.net
Signed by Shawn Bulen, bulens@pacbell.net
Signed by Shawn Bulen, bulens@pacbell.net
The last issue I have found during testing is... Interesting... Via CLI, I am seeing a class of undefined errors that are pretty big & cause functionality gaps - but there is no corresponding gap when the upgrade is run via the browser. The difference is that the browser "comes up for air" at various points & restarts. And reloads $modSettings... CLI never reloads $modSettings, so the only values it knows are the ones that were there at the start of the upgrade. The loss of functionality is thus worse the further back you go. I have some thoughts to address. If easily fixed, we're good. If not, I think guidance needs to be that CLI isn't really appropriate for meaningful upgrades across versions. |
Signed by Shawn Bulen, bulens@pacbell.net
Signed by Shawn Bulen, bulens@pacbell.net
This is why for beyond 2.1 I'm recommending we drop support for upgrading anything other than the previous major and build converters for those. Its going to become more troublesome in the future to maintain being able to upgrade from YabbSE all the way to current. |
Yep... |
ALSO VERY IMPORTANT... We need to be careful what gets pushed down to 2.0... If we push the same changes down to 2.0.x, we will break those, too. Some may be unavoidable (security-related). But we need to be mindful of the impacts. |
Signed by Shawn Bulen, bulens@pacbell.net
Testing completed. One minor issue outstanding that will be logged separately. |
Since some of these issues impact current installs, I think we should merge this one asap. |
Signed by Shawn Bulen, bulens@pacbell.net
Fixes #5981 (in conjunction with #5986 )
Fixes #6001
CLI, especially with 1.x, was generating scores of errors.
Changes:
A subset of these changes are needed in 2.0 as well.
Testing completed...