[MGNLSTK-1421] Update cache-related update tasks to reflect new configuration Created: 21/Aug/14  Updated: 06/Feb/15  Resolved: 06/Jan/15

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: None
Affects Version/s: None
Fix Version/s: 2.9

Type: Task Priority: Major
Reporter: Roman Kovařík Assignee: Evzen Fochr
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
caused by MGNLCACHE-55 Caching arbitrary objects Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:
Epic Link: reflectNewCacheConfiguration

 Description   

Flush policy configuration has changed (see MGNLCACHE-55). Because of this, a number of modules fail to install:

> Could not create property contacts at /modules/cache/config/configurations/default/flushPolicy/policies/flushAll/repositories, please create it with value contacts.
> Could not create property dam at /modules/cache/config/configurations/default/flushPolicy/policies/flushAll/repositories, please create it with value dam.
> Could not install or update standard-templating-kit module. Task 'Browser cache policy' failed. (ItemNotFoundException: node /modules/cache/config/configurations/default/browserCachePolicy/policies has no child node with name default)
> Could not create property category at /modules/cache/config/configurations/default/flushPolicy/policies/flushAll/repositories, please create it with value category.
> Could not install or update personalization-integration module. Task 'Cache setup' failed. (PathNotFoundException: modules/cache/config/configurations)

Update dependency to cache 5.3. Please update/remove obsolete bootstrap files/update tasks, don't forget to update/remove also obsolete version handler tests setups etc.



 Comments   
Comment by Roman Kovařík [ 01/Sep/14 ]

Please raise the module version to new major version. You have to do this for all modules, use mvn org.codehaus.mojo:versions-maven-plugin:1.3.1:set -DnewVersion=2.9-SNAPSHOT to do it automatically.

Comment by Jan Haderka [ 10/Dec/14 ]
  • why is ordering of theme images cache policy in STK module rather then in theme module (apart from being there already)?
  • why is part of this change upping of min version of Magnolia and admin legacy? That should not be necessary or is it?
  • and while at it, pls update version of cache in pom and module descriptor to 5.4 already
Comment by Evzen Fochr [ 06/Jan/15 ]

why is ordering of theme images cache policy in STK module rather then in theme module (apart from being there already)? - moved
why is part of this change upping of min version of Magnolia and admin legacy? That should not be necessary or is it? - cache module is dependent on 5.2
and while at it, pls update version of cache in pom and module descriptor to 5.4 already - done

Comment by Roman Kovařík [ 20/Jan/15 ]

All commits:
https://git.magnolia-cms.com/gitweb/?p=modules/standard-templating-kit.git;a=commitdiff;h=61d3bc878ac8fdb3ac57fe29c2d9d479fef753d6
https://git.magnolia-cms.com/gitweb/?p=modules/standard-templating-kit.git;a=commitdiff;h=3690ce05ed4d9305460e0c1735581d52cbb7cb16
https://git.magnolia-cms.com/gitweb/?p=modules/standard-templating-kit.git;a=commitdiff;h=abe044f960d127bbf4236b9fe1f9e611c441a08a
https://git.magnolia-cms.com/gitweb/?p=modules/standard-templating-kit.git;a=commitdiff;h=a57c880025e99210343d65ab531e74650e8574b5

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