core icon indicating copy to clipboard operation
core copied to clipboard

#23009 now can set categories on velocity on wf

Open jdotcms opened this issue 2 years ago • 3 comments

Now you can run this

#set($parentCategory = $categories.getCategoryByKey('ageOrGender'))
#set($cats= $categories.getChildrenCategories($categories.getCategoryByKey('ageOrGender')))
#set($contentDeps = $workflow.copyContentletDependenciesBuilder().categories($cats).build())
$workflow.setContentletDependencies($contentDeps))

To set the categories on workflow

jdotcms avatar Sep 16 '22 18:09 jdotcms

Postman Tests Report

     59 files  1 155 suites   2h 47m 54s :stopwatch:    515 tests    515 :heavy_check_mark: 0 :zzz: 0 :x: 1 910 runs  1 910 :heavy_check_mark: 0 :zzz: 0 :x:

Results for commit 7f2479ed.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Sep 16 '22 18:09 github-actions[bot]

Unit Tests Report

1 332 tests  ±0   1 322 :heavy_check_mark: ±0   3m 1s :stopwatch: -1s    130 suites ±0        10 :zzz: ±0     130 files   ±0          0 :x: ±0 

Results for commit 7f2479ed. ± Comparison against base commit 45f9803c.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Sep 16 '22 18:09 github-actions[bot]

Integration Tests [postgres] Report

   398 files  +1     398 suites  +1   58m 28s :stopwatch: - 7m 46s 3 801 tests +1  3 777 :heavy_check_mark: +1  23 :zzz: ±0  1 :x: ±0  3 820 runs  +1  3 796 :heavy_check_mark: +1  23 :zzz: ±0  1 :x: ±0 

For more details on these failures, see this check.

Results for commit 7f2479ed. ± Comparison against base commit 45f9803c.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Sep 16 '22 21:09 github-actions[bot]

This test must be included in MainSuite

Done

jdotcms avatar Oct 19 '22 17:10 jdotcms

Integration Tests [mssql] Report

   397 files  +1     397 suites  +1   1h 6m 15s :stopwatch: - 52m 38s 3 796 tests +1  3 764 :heavy_check_mark:  - 2  23 :zzz: ±0  9 :x: +3  3 815 runs  +1  3 783 :heavy_check_mark:  - 2  23 :zzz: ±0  9 :x: +3 

For more details on these failures, see this check.

Results for commit 7f2479ed. ± Comparison against base commit 45f9803c.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Oct 19 '22 19:10 github-actions[bot]