Can anyone please explain the meaning of above line. Appears at cliaent lib validation console http://localhost:4502/libs/granite/ui/content/dumplibs.validate.html
Below is the scree shot
Solved! Go to Solution.
From what I think, it means that the category exists but it does not have the specified category type(JS/CSS/both). For example, in screenshot above, for "http://localhost:4502/crx/de/index.jsp#/etc/clientlibs/fd/fp/draftsandsubmissions", there will be a dependency "jquery" but as it is highlighted in yellow and type is CSS, that means category named "jquery" does not have a css in it(/libs/clientlibs/granite/jquery).
Similarly, "cq.dam.assetshare" does not have a JS in it, which justifies last row in your screenshot
This means that there is a problem with the dependency that a client lib uses. Typically a dependency has library files that that are required to make the libs in the given clientlib work.
For example. - assume you have an AEM clientlib named myCat with JQuery plug-in files. This clientlib will have a dependency to cq.jquery - where JQuery files are located. If you changed that dependency to another value that did not exist - ie - cq.nojquery - you would get this error.
Views
Replies
Total Likes
if depended clientlib does not exist, it will be shoen in Red.
I am asking about the dependencies shown in "yellow" , i.e. dependency does not exist for the category type(s).
When I checked these dependencies do exist in crx/de. I think this is for if we have added some unnecessary dependency.
Views
Replies
Total Likes
From what I think, it means that the category exists but it does not have the specified category type(JS/CSS/both). For example, in screenshot above, for "http://localhost:4502/crx/de/index.jsp#/etc/clientlibs/fd/fp/draftsandsubmissions", there will be a dependency "jquery" but as it is highlighted in yellow and type is CSS, that means category named "jquery" does not have a css in it(/libs/clientlibs/granite/jquery).
Similarly, "cq.dam.assetshare" does not have a JS in it, which justifies last row in your screenshot
Its because of both CSS and JS dependency is not resolved properly as mentioned by Vivek above. On the example,
http://localhost:4502/etc/clientlibs/fd/fp/draftsandsubmissions.css is valid where as
http://localhost:4502/etc/clientlibs/fd/fp/draftsandsubmissions.js fails. Hence the jquery dependency is not fulfilled.
Views
Replies
Total Likes