Expand my Community achievements bar.

Applications for the 2024-2025 Adobe Experience Manager Champion Program are open!

AEM

Avatar

Level 1

Hello

2 Replies

Avatar

Community Advisor

Yes, this is a know issue.

We had to fix it by ourself by overrideing the file /apps/wcm/msm/components/touch-ui/livecopies/livecopies.jsp

 

There is some code missing in jsp. you can compare 6.5.15 and 6.5.16

it is something like below but make sure you do a text compare

Boolean isPartiallyCancelled = lrStatus.getAdvancedStatus().get(MSMNameConstants.PARAM_IS_TARGET_CANCELLED_CHILD);
                if (isCancelled == null) {
                    isCancelled = Boolean.FALSE;
                }
                if (isPartiallyCancelled == null) {
                    isPartiallyCancelled = Boolean.FALSE;
                }

 



Arun Patidar

Avatar

Level 4

Use SlingMocks and create different versions of the resource, which you then can feed into this getData method.

Check it out: https://cqdump.joerghoh.de/2019/01/17/writing-unittests-for-aem-part-3-mocking-resources/