gpt4 book ai didi

aem - javax.jcr.version.VersionException : Cannot set property. 节点已 checkin

转载 作者:行者123 更新时间:2023-12-01 19:41:43 26 4
gpt4 key购买 nike

我正在尝试在 DAM 中上传图像,但工作流程 (OOTB) 陷入困境。以下是我收到的错误。

12.07.2018 09:58:27.712 *ERROR* [JobHandler: /etc/workflow/instances/server1/2018-07-11_2/update_asset_923:/content/../../../../../../icon-1.png/jcr:content/renditions/original] com.day.cq.dam.core.impl.AssetImpl addRendition: cannot add new rendition [cq5dam.thumbnail.48.48.png] for asset [/content/dam/____________________________]: 
com.adobe.granite.asset.api.AssetException: javax.jcr.version.VersionException: Cannot set property. Node is checked in.
at com.adobe.granite.asset.core.impl.DefaultRenditionHandler.setRendition(DefaultRenditionHandler.java:79)
at com.adobe.granite.asset.core.impl.AssetImpl.setRendition(AssetImpl.java:131)
at com.day.cq.dam.core.impl.AssetImpl.addRendition(AssetImpl.java:490)
at com.day.cq.dam.core.impl.AssetImpl.addRendition(AssetImpl.java:484)
at com.day.cq.dam.core.impl.RenditionMakerImpl$PlanBasedTemplate.apply(RenditionMakerImpl.java:129)
at com.day.cq.dam.core.impl.RenditionMakerImpl.generateRenditions(RenditionMakerImpl.java:184)
at com.day.cq.dam.core.process.CreateThumbnailProcess.execute(CreateThumbnailProcess.java:121)
at com.day.cq.workflow.compatibility.CQWorkflowProcessRunner.execute(CQWorkflowProcessRunner.java:93)
at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:215)
at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:143)
at org.apache.sling.event.impl.jobs.queues.JobQueueImpl.startJob(JobQueueImpl.java:395)
at org.apache.sling.event.impl.jobs.queues.JobQueueImpl.access$100(JobQueueImpl.java:66)
at org.apache.sling.event.impl.jobs.queues.JobQueueImpl$1.run(JobQueueImpl.java:238)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:622)
at java.lang.Thread.run(Thread.java:745)
Caused by: javax.jcr.version.VersionException: Cannot set property. Node is checked in.
at org.apache.jackrabbit.oak.jcr.session.NodeImpl$35.checkPreconditions(NodeImpl.java:1330)
at org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate.prePerform(SessionDelegate.java:606)

图片上传后,我可以看到 Assets 节点上设置的属性是

enter image description here

造成这种情况的可能原因是什么。

最佳答案

这是影响 AEM 6.0、6.1 和 6.2 的已知产品错误。

来自official documentation

This is a known product bug CQ-4215298. When a user creates a version or publishes ("activates") a page that is locked by another user, then it causes the page to go into an inconsistent state.

分辨率

This issue is fixed in AEM6.3 and AEM6.2 SP1 Cumulative Fix Pack 8.

With or without the fix pack applied, you would have to fix the broken pages. To fix the pages, follow the steps below:

Go to /crx/explorer/index.jsp and log in as admin user. Open Content Explorer. Browse to the jcr: content subnode of the broken page. For example: /content/geometrixx/en/services/jcr:content Go to Versions => CheckOut. Go to /sites.html UI and browse to the page and open it for editing. Unlock the page by clicking the lock icon on the top left.

关于aem - javax.jcr.version.VersionException : Cannot set property. 节点已 checkin ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51301409/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com