You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 1, 2023. It is now read-only.
I just solved a problem that i had with the duplocation configuration array, into the getCleanedDuplicationConfiguration method, there was a problem when you retrieve the duplicationConfiguration with this line : $duplicationConfiguration = Core::sortArrayByPositionValue(TypoScriptUtility::getExtensionConfigurationFromPath('duplication', $pageUid));
If this array is overided, sometimes the element n°10 can be called after the element n°20 for example.
I solved it by adding this line just after the Core::sortArrayByPositionValue call : ksort($duplicationConfiguration);
It force the array to be sorted by number order.
Hello !
I just solved a problem that i had with the duplocation configuration array, into the getCleanedDuplicationConfiguration method, there was a problem when you retrieve the duplicationConfiguration with this line :
$duplicationConfiguration = Core::sortArrayByPositionValue(TypoScriptUtility::getExtensionConfigurationFromPath('duplication', $pageUid));If this array is overided, sometimes the element n°10 can be called after the element n°20 for example.
I solved it by adding this line just after the Core::sortArrayByPositionValue call :
ksort($duplicationConfiguration);It force the array to be sorted by number order.
Best regards.