Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

jcr:isCheckedOut Property set to true on using AssetManager createOrUpdateAsset method

Avatar

Avatar
Validate 1
Level 2
Ashish_Ranjan1
Level 2

Likes

3 likes

Total Posts

16 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 2
Ashish_Ranjan1
Level 2

Likes

3 likes

Total Posts

16 posts

Correct Reply

2 solutions
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 3
Boost 1
View profile
Ashish_Ranjan1
Level 2

18-08-2020

We are programmatically trying to create/update assets . Code looks like below:

 

Asset asset = assetManager.createOrUpdateAsset(path, assetBinary, documentMimeType, true);

 

Now the first time asset gets created. If the asset is updated using the same method it is adding jcr:isCheckedOut = true. As per https://docs.adobe.com/docs/en/spec/jcr/1.0/8.2.6_Check_Out.html documentation this property states that the node is checkedOut while its versions are created/updated. 

 

Can we get clarity if this property should change to checkedOut = false stating that the asset updates are completed or is it as designed product behavior to have this property as true.

Capture.PNG

 

Appreciate all the help in advance.