[MGNLSTK-730] STK can't be updated if demo-project has not been installed Created: 20/Dec/10  Updated: 19/Jan/11  Resolved: 21/Dec/10

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: demoproject, update
Affects Version/s: 1.4, 1.4.1
Fix Version/s: 1.3.6, 1.4.2

Type: Bug Priority: Blocker
Reporter: Magnolia International Assignee: Ondrej Chytil
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

The UpdateAllTemplateDefinitions tasks fails with a PathNotFoundException when attempting to update some of the templates. This can potentially impact any project where the demo-project was never installed.

Could not install or update standard-templating-kit module. Task 'Update template definitions.' failed. (PathNotFoundException: demo-features)



 Comments   
Comment by Magnolia International [ 21/Dec/10 ]

2 comments:

  • Those templates are added by the demo-project module, so shouldn't this part of the update happen in the demo project's version handler ?
  • Since this is a post-release-fix-to-an-update-task, we should provide a fix that works for those who have updated already (well - this one is debatable, since users running into this issue won't have been able to update...)
Comment by Philipp Bärfuss [ 21/Dec/10 ]

In my opinion the UpdateAllTemplateDefinitions should update all templates which resides in standard-templating-kit/templates.

Generated at Mon Feb 12 07:29:52 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.