core
core copied to clipboard
Issue 22704 dotasset contentmap
Fixes the velocity output for dotAsset image fields
curl -u [email protected]:admin -XGET https://local.dotcms.site:8443/api/vtl/dynamic/ \
-H "Content-Type:text/plain" \
-d '
#foreach($con in $dotcontent.pull("+contentType:testing", 100,""))
title: $con.title
name: $con.image.name
size: $con.image.size
shorty: $con.image.shortyUrl
#end
'
results in:
title: dotASset
name: Screen Shot 2022-08-09 at 10.47.13 AM.png
size: 38.9 K
shorty: /dA/84d0c7ff20/asset/Screen Shot 2022-08-09 at 10.47.13 AM.png
Unit Tests Report
1 318 tests 1 308 :heavy_check_mark: 3m 3s :stopwatch: 127 suites 10 :zzz: 127 files 0 :x:
Results for commit a5d950d5.
:recycle: This comment has been updated with latest results.
Integration Tests [postgres] Report
379 files 379 suites 1h 1m 12s :stopwatch: 3 693 tests 3 670 :heavy_check_mark: 23 :zzz: 0 :x: 3 712 runs 3 689 :heavy_check_mark: 23 :zzz: 0 :x:
Results for commit a5d950d5.
:recycle: This comment has been updated with latest results.
Integration Tests [mssql] Report
378 files 378 suites 1h 16m 36s :stopwatch: 3 688 tests 3 658 :heavy_check_mark: 23 :zzz: 7 :x: 3 707 runs 3 677 :heavy_check_mark: 23 :zzz: 7 :x:
For more details on these failures, see this check.
Results for commit a5d950d5.
:recycle: This comment has been updated with latest results.
Postman Tests Report
57 files 1 061 suites 2h 44m 49s :stopwatch: 476 tests 476 :heavy_check_mark: 0 :zzz: 0 :x: 1 773 runs 1 773 :heavy_check_mark: 0 :zzz: 0 :x:
Results for commit a5d950d5.
:recycle: This comment has been updated with latest results.