arobirosa / arobirosa/areco-deployment-script-manager

Sync of catalogues not working inside a beanshell script

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
bug priorityLow
Dominant language
Java
Stars
13
Forks
6
PR merge metrics
No merged PRs in 30d

Description

Original Ticket: https://sourceforge.net/p/arecodeploymentscriptsmanager/tickets/55/

# Steps to reproduce the error
* Create a new hybris project using the recipe b2c_acc_plus
* Add the areco deployment manager extension
* Configure the deployment manager to run during the create project step
* Create a custom extension
* Add a new deployment script to create a new cms component in the content catalogue of the electronics store
* Add a step to synchronize the content catalogue taking hybris/bin/third-party/arecoDeploymentScriptsManager/resources/test/synchronization_of_catalogs/14112018_Ticket49/2-Sync-Start.beanshell as an example
* Do an initilization

# Actual Result
The component don't exist in the online catalogue
# Expected result
The component exists in the online catalgue
# Additional data
* The console shows that the sync job is started but no object is synchronized.
* By using the setupSyncJobService the sync works. You will find the working code in https://github.com/arobirosa/hybris-cms-components/commit/fd2448af19b0770d532a57dbdc1896507762c3d4

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with hybris/bin/third-party/arecoDeploymentScriptsManager/resources/test/synchronization_of_catalogs/14112018_Ticket49/2-Sync-Start.beanshell and compare it with the working setupSyncJobService implementation linked in the issue. Reproduce the b2c_acc_plus initialization flow, inspect why the sync job starts without synchronizing objects, and verify that the new CMS component appears in the online catalogue.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.