Open krystian-panek-wttech opened 4 months ago
I just found that in the meantime that proxy was added and this is the most probably a root cause of my problem:
in PR/change https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/2734/files done by @froggin, @kwin / @davidjgonzalez do you think that maybe some fix/improvement needs to be done here? BTW why that proxy has been added? Based on my understanding it looks like quite such heavy stuff has been added here to just to make the CM build/code quality check passing.
If fixing this requires too much effort / will not be done by anyone as this impacts on-prem and there is no interest, just tell me. I will look for a different approach to do my job but... I always liked to use BWM :)
It would be nice to have this fixed since on the tool page https://adobe-consulting-services.github.io/acs-aem-commons/features/bulk-workflow-manager/index.html there is no info that it is deprecated/no-longer supported on on-prem 6.5.x so I am a bit surprised here.
BTW this class "com.adobe.granite.workflow.collection.util.ResultSet" is still loadable from e.g Groovy Console (which has Dynamic-Import-Package: *
)
@krystian-panek-wttech if i recall this was due to a rule change that no longer allowed us to implement certain Java interfaces.
Will need to look more closely at this.
a rule change that no longer allowed us to implement certain Java interfaces.
this makes sense on CM but not on-prem. I fell like the way how the problem was solved is too cumbersome.
for whoever also struggling with this I created a patch for recovering working synthetic runner on AEM On-Prem.
synthetic-workflows-on-prem.patch
just clone repo at tag 6.5.0 version/tag and apply the patch then build with command cd bundle && mvn clean package -Dmaven.test.skip=true
and install patched jar (target/*-6.5.1-SNAPSHOT.jar) onto your AEM instance
BTW some CSS on the BWM page seems to no longer work, just see this screenshot captured from pure AEM 6.5.19 + ACS Commons 6.5.0
I have a feeling that this tool is abandoned... Even when using multithreaded runner yesterday after a few hours of processing, the "completed" number changed to "0" for some unknown reason... so many bugs seem to be here now. If the tool is really abandoned maybe please state it explicitly.
Required Information
Expected Behavior
No issues
Actual Behavior
Trying to run DAM Update Workflow (transient) on some assets using Synthetic Single Threaded runner but all workflows are marked as failed most probably because of the following error:
Note that before upgrading to SP20 from SP6 and ACS Commons to 6.5.0 from 4.8.6 everything worked without any code changes as expected.
I already have done instance restart after installing AEM SP /ACS Commons package upgrades.
Any tips?