[PUBLISHING-298] Use passing default for receiversWhitelist configuration Created: 21/Sep/23  Updated: 18/Oct/23  Resolved: 03/Oct/23

Status: Closed
Project: Publishing
Component/s: None
Affects Version/s: 1.3.12
Fix Version/s: 1.3.13

Type: Bug Priority: Neutral
Reporter: Adam Siska Assignee: Adam Siska
Resolution: Fixed Votes: 0
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: 3h Time Spent: 3h
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Issue Links:
causality
duplicate
duplicates BUILD-1138 Can't delete files because of misconf... Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
PUBLISHING-299 Implementation Sub-task Completed Adam Siska  
PUBLISHING-300 Code review Sub-task Closed Antonín Juran  
PUBLISHING-301 Preintegration QA Sub-task Completed Quach Hao Thien  
PUBLISHING-302 QA Sub-task Completed Jaromir Sarf  
PUBLISHING-305 Use non-deprecated BootstrapSingleMod... Sub-task Completed Adam Siska  
PUBLISHING-306 DOCu update Sub-task Completed Adam Siska  
PUBLISHING-308 DOCu review Sub-task Completed Adrian Brooks  
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Release notes required:
Yes
Documentation update required:
Yes
Date of First Response:
Sprint: Nucleus 46
Story Points: 2
Team: Nucleus
Work Started:
Approved:
Yes

 Description   

Since introducing receiversWhitelist config (see PUBLISHING-258) some instances have broken publication because yaml decorations (or microprofile config) are used to configure receivers.

To avoid more problems we decided to use default configuration that would pass all request. For more info see this commit: https://git.magnolia-cms.com/projects/INTERNAL/repos/demo.magnolia-cms.com/pull-requests/67/commits/c6bc136886c480300bf7cb79184e9e28a435aaf9

DOCu update is required here: https://docs.magnolia-cms.com/product-docs/6.2/Administration/Security/Publishing-security.html#_whitelist_of_publishing_receivers 



 Comments   
Comment by Richard Gange [ 21/Sep/23 ]

It looks like I'm only able to get those messages from the first publication after the install or restart. Subsequent publications are ok.

2023-09-21 13:15:24,220 INFO  info.magnolia.module.scheduler.CommandJob         : Starting job [asyncCommand1695294924197]... 
2023-09-21 13:15:24,280 WARN  magnolia.jcr.node2bean.impl.Node2BeanProcessorImpl: Property [enabled] not found in class [info.magnolia.cms.exchange.ActivationManager$ReceiverUrl], property is not assigned
2023-09-21 13:15:26,276 ERROR info.magnolia.jcr.wrapper.ExtendingNodeWrapper    : Can't find referenced node for value: node /server/activation/receiversWhitelist
2023-09-21 13:15:27,424 INFO  ing.receiver.operation.jcr.JcrPublicationOperation: About to update content under path [/travel/about].
2023-09-21 13:15:27,561 INFO  r.operation.jcr.JcrTransactionPublicationOperation: 993 User superuser successfully published website:/travel/about on magnoliaPublic.
2023-09-21 13:15:27,819 INFO  info.magnolia.module.scheduler.CommandJob         : Job executed successfully [asyncCommand1695294924197]


2023-09-21 13:17:46,745 INFO  info.magnolia.module.scheduler.CommandJob         : Starting job [asyncCommand1695295066742]... 
2023-09-21 13:17:46,974 INFO  ing.receiver.operation.jcr.JcrPublicationOperation: About to update content under path [/travel/about/company].
2023-09-21 13:17:47,050 INFO  r.operation.jcr.JcrTransactionPublicationOperation: 986 User superuser successfully published website:/travel/about/company on magnoliaPublic.
2023-09-21 13:17:47,284 INFO  info.magnolia.module.scheduler.CommandJob         : Job executed successfully [asyncCommand1695295066742]
Comment by Adam Siska [ 21/Sep/23 ]

Hey rgange,
I moved the ticket and rewrote description. New default will also fix this errors in log (as extends wouldn't be used).

Generated at Mon Feb 12 10:37:10 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.