Hi @ui_salim_ansari ,Have you added "proxy" property to your Clientlib?If not, please set the proxy property to true, so that your clientlib will be visible under etc folder as well to make it available on Page.
try to use lenient methods when using stubbed objects. If there is any dependency injected at the start of the code, you can use @BeforeEach annotation in method to set the dependencies in the starting of the execution.
I am getting following error when used this:
Failed to execute goal org.apache.jackrabbit:filevault-package-maven-plugin:1.1.6:generate-metadata (default-generate-metadata) on project single-app.ui.content: java.io.IOException: org.apache.jackrabbit.vault.fs.config.ConfigurationException: Invalid va...
I am getting following error @Himanshu_Jain
Failed to execute goal org.apache.jackrabbit:filevault-package-maven-plugin:1.1.6:generate-metadata (default-generate-metadata) on project single-app.ui.content: java.io.IOException: org.apache.jackrabbit.vault.fs.config.ConfigurationException: Invalid va...
Hi @sreenu539 ,
Can you try to mock Session object like
@MockSession session;
and use lenient when try to return object like:
lenient().when().then(session.nodeExits("path"))Return(true);
It worked for me.
Hi, I am trying to use "merge" mode in filter.xml for acs common generic list. When I am adding a new entry, its not getting updated.
<filter root="/etc/acs-commons/lists" mode="merge"/>
Anyone has any context on this one?
Hi @msgavali111 ,
You need to run a query through code where you will be providing the base path and resource type you are looking for. In your case, you want to take child pages so you can provide current Page path as base path. Take a reference of this--> https://aem.redquark.org/2018/10/day-17-wo...