arobirosa / areco-deployment-script-manager

Simple but powerful Patch system for SAP Commerce Cloud (hybris)
Apache License 2.0
12 stars 5 forks source link

Create Project in Junit Tenant must be optional #20

Closed arobirosa closed 1 year ago

arobirosa commented 3 years ago

Describe the bug When the property deploymentscripts.init. junittenant.createessentialdata is true, not only essential data is executed, but also project data. Project data is optional in some projects and it can't be turned off

To Reproduce Steps to reproduce the behavior:

  1. Set deploymentscripts.init. junittenant.createessentialdata=true in local.properties
  2. run ant all yunitinit
  3. Observe in the logs that project data is always run

Expected behavior The execution of the project data can be turned off

Log entries None

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

arobirosa commented 3 years ago

Here is the patch with the proposed changes 20_bug_patch.txt

arobirosa commented 1 year ago

The new property deploymentscripts.init.junittenant.createprojectdata was documented on the wiki

Because the modified class uses jalo, it won't be tested.