[MGNLSYNC-31] Compatibility with new publishing module Created: 14/Jul/17  Updated: 29/Mar/22  Resolved: 10/Nov/17

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

Type: Task Priority: Neutral
Reporter: Michael Mühlebach Assignee: Roman Kovařík
Resolution: Fixed Votes: 0
Labels: tech-debt
Remaining Estimate: 1.25d
Time Spent: 1.75d
Original Estimate: 3d

Issue Links:
dependency
depends upon MGNLACTIVATION-142 Activation split and refactoring Closed
depends upon MGNLACTIVATION-157 Remove uses of the Content API Closed
documentation
documents DOCU-1901 Update Synchronization module pages Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Documentation update required:
Yes
Date of First Response:
Epic Link: Remove Content API
Sprint: Saigon 108, Kromeriz 121
Story Points: 5
Team: Nucleus

 Description   

see https://wiki.magnolia-cms.com/pages/viewpage.action?pageId=136852051 for further detail.



 Comments   
Comment by Sang Ngo Huu [ 14/Aug/17 ]

This task cannot resolved because of:

  • Since info.magnolia.cms.exchange.Syndicator in main didn't have replacement yet
  • Activation module refactoring is not completed yet
  • Removal task for Activation module should be completed first

Committed the code for maven's relocation in the linked branch

Comment by Milan Divilek [ 10/Nov/17 ]

Reopen:
Wrong bootstrap files
mgnl-bootstrap/synchronization-app/config.modules.synchronization.apps.xml -> needs to be config.modules.synchronization-app.apps.xml
mgnl-bootstrap/synchronization-core/config.modules.synchronization.commands.xml -> needs to be config.modules.synchronization-core.commands.xml

synchronization-app has missing dependency to ui-admincentral in module descriptor.. this can cause that mgnl-bootstrap/synchronization-app/config.modules.ui-admincentral.config.appLauncherLayout.groups.dev.apps.synchronization.xml is rebootstrapped if synchronization-app module is installed before ui-admincetral

Comment by Milan Divilek [ 10/Nov/17 ]

Command fails when "From date" is empty - > org.apache.commons.beanutils.ConversionException: No value specified for 'Date'

Missing recursive field in app

And publishing fail on

2017-11-10 13:03:31,088 ERROR ia.synchronization.commands.SynchronizationCommand: can't activate
info.magnolia.objectfactory.MgnlInstantiationException: No suitable constructor found for class [interface info.magnolia.synchronization.sender.SynchronizationSender]
	at info.magnolia.objectfactory.ObjectManufacturer.newInstance(ObjectManufacturer.java:124) ~[magnolia-core-5.6-SNAPSHOT.jar:?]
	at info.magnolia.objectfactory.guice.GuiceComponentProvider.newInstanceWithParameterResolvers(GuiceComponentProvider.java:132) ~[magnolia-core-5.6-SNAPSHOT.jar:?]
	at info.magnolia.objectfactory.guice.GuiceComponentProvider.newInstanceWithParameterResolvers(GuiceComponentProvider.java:119) ~[magnolia-core-5.6-SNAPSHOT.jar:?]
	at info.magnolia.objectfactory.guice.GuiceComponentProvider.newInstance(GuiceComponentProvider.java:114) ~[magnolia-core-5.6-SNAPSHOT.jar:?]
	at info.magnolia.synchronization.commands.SynchronizationCommand.execute(SynchronizationCommand.java:84) ~[magnolia-synchronization-1.8-SNAPSHOT.jar:?]
	at info.magnolia.synchronization.commands.SynchronizationCommand.execute(SynchronizationCommand.java:60) [magnolia-synchronization-1.8-SNAPSHOT.jar:?]
	at info.magnolia.commands.MgnlCommand.executeSynchronized(MgnlCommand.java:80) [magnolia-core-5.6-SNAPSHOT.jar:?]
	at info.magnolia.commands.MgnlCommand.execute(MgnlCommand.java:69) [magnolia-core-5.6-SNAPSHOT.jar:?]
	at info.magnolia.module.scheduler.CommandJob.execute(CommandJob.java:110) [magnolia-module-scheduler-2.3.1.jar:?]
	at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-2.2.3.jar:?]
	at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573) [quartz-2.2.3.jar:?]
Generated at Mon Feb 12 07:39:10 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.