[MAGNOLIA-6773] YamlDefinitionProvider logs "Definition at [..] will be re-resolved since its dependency at [..] has changed" every time Created: 09/Sep/16  Updated: 08/Nov/16  Resolved: 08/Nov/16

Status: Closed
Project: Magnolia
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Philip Mundt Assignee: Unassigned
Resolution: Outdated Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MAGNOLIA-6685 Buffer YAML file mod checks Closed
relates to MAGNOLIA-6781 Not closing URLConnection in Producti... 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

 Description   

info.magnolia.config.source.yaml.YamlDefinitionProvider will log YamlDefinitionProvider logs "Definition at .. will be re-resolved since its dependency at .. has changed" for every "request" of the definition, e.g.:

[INFO] [talledLocalContainer] 2016-09-09 13:05:55,224 INFO  magnolia.config.source.yaml.YamlDefinitionProvider: Definition at [/travel-demo/templates/pages/prototype.yaml] will be re-resolved since its dependency at [/sportstation/templates/pages/prototype.yaml] has changed
[INFO] [talledLocalContainer] 2016-09-09 13:05:56,723 INFO  magnolia.config.source.yaml.YamlDefinitionProvider: Definition at [/travel-demo/templates/pages/prototype.yaml] will be re-resolved since its dependency at [/sportstation/templates/pages/prototype.yaml] has changed
[INFO] [talledLocalContainer] 2016-09-09 13:05:57,726 INFO  magnolia.config.source.yaml.YamlDefinitionProvider: Definition at [/travel-demo/templates/pages/prototype.yaml] will be re-resolved since its dependency at [/sportstation/templates/pages/prototype.yaml] has changed
[INFO] [talledLocalContainer] 2016-09-09 13:07:39,316 INFO  magnolia.config.source.yaml.YamlDefinitionProvider: Definition at [/travel-demo/templates/pages/prototype.yaml] will be re-resolved since its dependency at [/sportstation/templates/pages/prototype.yaml] has changed
[INFO] [talledLocalContainer] 2016-09-09 13:07:40,318 INFO  magnolia.config.source.yaml.YamlDefinitionProvider: Definition at [/travel-demo/templates/pages/prototype.yaml] will be re-resolved since its dependency at [/sportstation/templates/pages/prototype.yaml] has changed
[INFO] [talledLocalContainer] 2016-09-09 13:07:41,321 INFO  magnolia.config.source.yaml.YamlDefinitionProvider: Definition at [/travel-demo/templates/pages/prototype.yaml] will be re-resolved since its dependency at [/sportstation/templates/pages/prototype.yaml] has changed
[INFO] [talledLocalContainer] 2016-09-09 13:07:59,363 INFO  magnolia.config.source.yaml.YamlDefinitionProvider: Definition at [/travel-demo/templates/pages/prototype.yaml] will be re-resolved since its dependency at [/sportstation/templates/pages/prototype.yaml] has changed
[INFO] [talledLocalContainer] 2016-09-09 13:08:00,366 INFO  magnolia.config.source.yaml.YamlDefinitionProvider: Definition at [/travel-demo/templates/pages/prototype.yaml] will be re-resolved since its dependency at [/sportstation/templates/pages/prototype.yaml] has changed
[INFO] [talledLocalContainer] 2016-09-09 13:08:01,826 INFO  magnolia.config.source.yaml.YamlDefinitionProvider: Definition at [/travel-demo/templates/pages/prototype.yaml] will be re-resolved since its dependency at [/sportstation/templates/pages/prototype.yaml] has changed
[INFO] [talledLocalContainer] 2016-09-09 13:08:08,898 INFO  magnolia.config.source.yaml.YamlDefinitionProvider: Definition at [/travel-demo/templates/pages/prototype.yaml] will be re-resolved since its dependency at [/sportstation/templates/pages/prototype.yaml] has changed
[INFO] [talledLocalContainer] 2016-09-09 13:08:09,908 INFO  magnolia.config.source.yaml.YamlDefinitionProvider: Definition at [/travel-demo/templates/pages/prototype.yaml] will be re-resolved since its dependency at [/sportstation/templates/pages/prototype.yaml] has changed
[INFO] [talledLocalContainer] 2016-09-09 13:08:12,051 INFO  magnolia.config.source.yaml.YamlDefinitionProvider: Definition at [/travel-demo/templates/pages/prototype.yaml] will be re-resolved since its dependency at [/sportstation/templates/pages/prototype.yaml] has changed

This is independent of whether in dev mode or not.



 Comments   
Comment by Philip Mundt [ 08/Nov/16 ]

Fixed with MAGNOLIA-6781 and caching of ProductionModeClasspathFile#lastModified.

Generated at Mon Feb 12 04:17:42 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.