[MGNLFORM-217]  Clean up obsolete update tasks Created: 16/Dec/13  Updated: 18/Dec/13  Resolved: 18/Dec/13

Status: Closed
Project: Magnolia Form Module
Component/s: migration & updates
Affects Version/s: 2.2
Fix Version/s: 2.2.1

Type: Bug Priority: Major
Reporter: Roman Kovařík Assignee: Roman Kovařík
Resolution: Fixed Votes: 0
Labels: maintenance
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLINTEMPL-51 Clean up obsolete update tasks Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Epic Link: obsoleteTasks

 Description   

Update from 1.4:

2013-12-16 10:14:17,544 ERROR info.magnolia.module.InstallContextImpl           : > Error while installing or updating form module. Task 'Confirm mail type' failed. (NullPointerException: )
java.lang.NullPointerException
	at info.magnolia.module.delta.BootstrapFileUtil.getElementAsStream(BootstrapFileUtil.java:104)
	at info.magnolia.module.delta.PartialBootstrapTask.getNodeStream(PartialBootstrapTask.java:120)
	at info.magnolia.module.delta.PartialBootstrapTask.execute(PartialBootstrapTask.java:108)
	at info.magnolia.module.ModuleManagerImpl.applyDeltas(ModuleManagerImpl.java:512)
	at info.magnolia.module.ModuleManagerImpl.installOrUpdateModule(ModuleManagerImpl.java:494)
	at info.magnolia.module.ModuleManagerImpl$1.doExec(ModuleManagerImpl.java:277)
	at info.magnolia.context.MgnlContext$VoidOp.exec(MgnlContext.java:415)
	at info.magnolia.context.MgnlContext$VoidOp.exec(MgnlContext.java:412)
	at info.magnolia.context.MgnlContext.doInSystemContext(MgnlContext.java:386)
	at info.magnolia.module.ModuleManagerImpl.performInstallOrUpdate(ModuleManagerImpl.java:271)
	at info.magnolia.module.ui.ModuleManagerWebUI$2.run(ModuleManagerWebUI.java:127)
	at java.lang.Thread.run(Thread.java:662)


 Comments   
Comment by Federico Grilli [ 17/Dec/13 ]

Sorry to reopen but updating from magnolia EE 4.5.0 to 5.2.1 fails with

Magnolia Form Module (version 2.2.1-SNAPSHOT)
Updating to 2.0 is only supported from 1.4.5 or higher.
Comment by Roman Kovařík [ 18/Dec/13 ]

We had to change precondition to enable update only from Form Module version 1.4.5 or higher.
We can do it, because we don't say from which version of Magnolia it's possible to update to 5.2.1 but every module has it's own precondition for its own update.
So now it's not possible to update from bundles with lower versions of Form Module then 1.4.5.

Generated at Mon Feb 12 05:38:02 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.