[MAGNOLIA-6852] Clean up log entries in Node2BeanProcessorImpl at the startup Created: 31/Oct/16  Updated: 21/Nov/16  Resolved: 17/Nov/16

Status: Closed
Project: Magnolia
Component/s: node2bean
Affects Version/s: 5.5
Fix Version/s: 5.5.1

Type: Bug Priority: Neutral
Reporter: Ngoc Nguyenthanh Assignee: Mikaël Geljić
Resolution: Fixed Votes: 0
Labels: n2b
Remaining Estimate: 0d
Time Spent: 1d 3h
Original Estimate: 2.5d

Issue Links:
Relates
relates to MAGNOLIA-6743 Aggregate problems during Node2Bean c... 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:
Sprint: Saigon 70
Story Points: 5

 Description   

Clean up log entries at the startup. Log if needed.

Comes from info.magnolia.cms.filters.FilterManagerImpl#createConfiguredFilters

2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [DamDownloadServlet] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [RestDispatcherServlet] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [ImagingServlet] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [ResourcesServlet] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [AdminCentral] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [VersionDiffHtmlServlet] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [FeedSyndicationServlet] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [repositoryMapping] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [contentSecurity] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [aggregator] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [variantResolver] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [modelExecution] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [rendering] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [context] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [contentType] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [cookiesDetector] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [date] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [country] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [visitor] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [preview] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [multipartRequest] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [unicodeNormalization] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [registration] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [login] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [activation] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [gzip] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [channel] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [multiSite] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [siteMerge] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [logout] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [securityCallback] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [csrfSecurity] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [crossSite] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [uriSecurity] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [range] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [i18n] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [cache] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [virtualURI] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [servlets] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [cms] not found in class [info.magnolia.cms.filters.CompositeFilter], property is not assigned
2016-10-31 17:27:47,462 INFO  info.magnolia.cms.filters.FilterManagerImpl       : Initializing filters

Comes from info.magnolia.module.rssaggregator.RSSAggregator#scheduleRSSJob

2016-11-01 14:35:10,590 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [planetFeed] not found in class [info.magnolia.module.rssaggregator.RSSJob], property is not assigned
2016-11-01 14:35:10,590 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [itemtype] not found in class [info.magnolia.module.rssaggregator.RSSJob], property is not assigned
2016-11-01 14:35:10,590 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [importState] not found in class [info.magnolia.module.rssaggregator.RSSJob], property is not assigned
2016-11-01 14:35:10,590 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [usedImporterTarget] not found in class [info.magnolia.module.rssaggregator.RSSJob], property is not assigned
2016-11-01 14:35:10,590 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [data] not found in class [info.magnolia.module.rssaggregator.RSSJob], property is not assigned
2016-11-01 14:35:10,590 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [feeds] not found in class [info.magnolia.module.rssaggregator.RSSJob], property is not assigned
2016-11-01 14:35:10,590 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [filters] not found in class [info.magnolia.module.rssaggregator.RSSJob], property is not assigned
2016-11-01 14:35:10,728 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [itemtype] not found in class [info.magnolia.module.rssaggregator.RSSJob], property is not assigned
2016-11-01 14:35:10,728 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [importState] not found in class [info.magnolia.module.rssaggregator.RSSJob], property is not assigned
2016-11-01 14:35:10,728 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [usedImporterTarget] not found in class [info.magnolia.module.rssaggregator.RSSJob], property is not assigned
2016-11-01 14:35:10,728 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [feeds] not found in class [info.magnolia.module.rssaggregator.RSSJob], property is not assigned
2016-11-01 14:35:10,728 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [filters] not found in class [info.magnolia.module.rssaggregator.RSSJob], property is not assigned
2016-11-01 14:35:10,728 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [data] not found in class [info.magnolia.module.rssaggregator.RSSJob], property is not assigned

With ChainBase, MgnlCatalog

2016-11-01 14:35:13,333 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [extractComment] not found in class [info.magnolia.commands.chain.ChainBase], property is not assigned
2016-11-01 14:35:13,333 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [versionResources] not found in class [info.magnolia.commands.MgnlCatalog], property is not assigned
2016-11-01 14:35:13,333 INFO  info.magnolia.commands.CommandsManager            : Catalog [resources] registered: [info.magnolia.commands.MgnlCatalog: versionResources]
2016-11-01 14:35:13,524 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [deactivate] not found in class [info.magnolia.commands.chain.ChainBase], property is not assigned
2016-11-01 14:35:13,524 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [delete] not found in class [info.magnolia.commands.chain.ChainBase], property is not assigned
2016-11-01 14:35:13,524 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [markAsDeleted] not found in class [info.magnolia.commands.MgnlCatalog], property is not assigned
2016-11-01 14:35:13,524 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [export] not found in class [info.magnolia.commands.MgnlCatalog], property is not assigned
2016-11-01 14:35:13,524 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [import] not found in class [info.magnolia.commands.MgnlCatalog], property is not assigned
2016-11-01 14:35:13,524 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [delete] not found in class [info.magnolia.commands.MgnlCatalog], property is not assigned
2016-11-01 14:35:13,524 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [restorePreviousVersion] not found in class [info.magnolia.commands.MgnlCatalog], property is not assigned
2016-11-01 14:35:13,524 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [exportYaml] not found in class [info.magnolia.commands.MgnlCatalog], property is not assigned

Comes from filter mappings
E.g: /server/filters/servlets/DamDownloadServlet/mappings/dam-@pattern

2016-11-01 17:11:16,820 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [pattern] not found in class [java.lang.String], property is not assigned
2016-11-01 17:11:16,820 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [pattern] not found in class [java.lang.String], property is not assigned
2016-11-01 17:11:16,820 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [pattern] not found in class [java.lang.String], property is not assigned
2016-11-01 17:11:16,820 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [pattern] not found in class [java.lang.String], property is not assigned
2016-11-01 17:11:16,820 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [pattern] not found in class [java.lang.String], property is not assigned
2016-11-01 17:11:16,820 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [pattern] not found in class [java.lang.String], property is not assigned
2016-11-01 17:11:16,820 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [pattern] not found in class [java.lang.String], property is not assigned
2016-11-01 17:11:16,820 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [pattern] not found in class [java.lang.String], property is not assigned
2016-11-01 17:11:16,820 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [pattern] not found in class [java.lang.String], property is not assigned
2016-11-01 17:11:16,820 INFO  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [pattern] not found in class [java.lang.String], property is not assigned


 Comments   
Comment by Mikaël Geljić [ 07/Nov/16 ]

Status on this one, false positives were observed due to various causes. Let me highlight below the support I have on the dev branch.

  1. String collections, as observed at servlet mappings patterns, see /server/filters/servlets/DamDownloadServlet/mappings/-dam--
    • implemented in Node2BeanTransformerImpl, checks for "parent collection" entry type
  2. Arbitrary parameter maps
  3. Non-generic maps (aka no entryCollectionType info), as observed with AdminCentral servlet parameters, e.g. /server/filters/servlets/AdminCentral/parameters@codeBasePath
  4. When adding/removing Pulse messages (!!), no real bean here, just ad-hoc object map transformation/population
  5. For autoGeneration config sub-nodes, e.g. /modules/samples/templates/pages/ftl/main/areas/extras/autoGeneration
    • all 4 above fixed by avoiding setting bean properties for maps (was always similarly avoided for plain collections)
  6. In conjunction with CollectionPropertyHidingTransformer, as inherited by CompositeFilterTransformer, see all servlet-filters in description
    • implement specific support for matching & reclaiming known properties
  1. Commands and RSS (and potentially others) are just silenced for now; as long as their own transformers do not opt-in by implementing proposed #supportsValueClaims & #canHandleValue
Generated at Mon Feb 12 04:18:27 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.