[MAGNOLIA-5043] Prevention of unnecessary warnings during Activation/Deactivation Created: 17/May/13  Updated: 25/Jun/13  Resolved: 25/Jun/13

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

Type: Bug Priority: Neutral
Reporter: Milan Divilek Assignee: Daniel Lipp
Resolution: Duplicate Votes: 0
Labels: beta2
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
duplicate
duplicates MGNLACTIVATION-29 Activating pages should not set activ... 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:

 Description   

Stable build of Beta2

Activation/Deactivation of any page leads into a lot of warning messages like

2013-05-17 11:14:32,792 WARN  info.magnolia.jcr.util.NodeTypes                  : Trying to set property/ies 'mgnl:lastActivated, mgnl:lastActivatedBy, mgnl:activationStatus' although the node '/demo-project/extras/extras1' with PrimaryType 'mgnl:area' is not of type 'mgnl:activatable'!
2013-05-17 11:14:32,793 WARN  info.magnolia.jcr.util.NodeTypes                  : Trying to set property/ies 'mgnl:lastActivated, mgnl:lastActivatedBy, mgnl:activationStatus' although the node '/demo-project/extras/extras1/0' with PrimaryType 'mgnl:component' is not of type 'mgnl:activatable'!


 Comments   
Comment by Tobias Mattsson [ 17/May/13 ]

I think we intentionally didn't add it mgnl:area and mgnl:component because they're not versionable and if its not versionable then they're not activatable. Maybe the problem here is that activation tries to set these properties on all nodes part of the activation.

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