-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rule MANIFEST - Extension type 'library' is not accepted by JED? #136
Comments
@anibalsanchez Just to be sure, what about others: |
language and template are not accepted as standalone extensions. In the extension where I detected the issue, the library is a part of a package. So, it is a completely accepted usage:
|
I'm going to move this check to the XMLINFO ruleset, because it should be applied to the main manifest file only. But it requires PR #120 to be merged (as it introduces $isTopLevel parameter to distinguish main and dependent manifests). @Llewellynvdm Could you try to merge PR #120? |
JED "officially" supports components, modules, and plugins only (they are the only options you have at the submission page). The TCPDF has type=library in the manifest, but submitted as an component (just because there is no other way). I was sure it's the only library on JED, but then found another one on https://extensions.joomla.org/category/core-enhancements/libraries/. IMHO, the correct way would be to add library type to the extension types on JED (see https://github.com/joomla/com_jed4/blob/main/public_html/administrator/components/com_jed/forms/extension.xml#L68-L77), and modify TCPDF entry properly. PS. @Llewellynvdm @anibalsanchez I've just found above-mentioned extension.xml file contains "component" and "module" values, but https://github.com/joomla/com_jed4/blob/main/public_html/administrator/components/com_jed/forms/filter_extensions.xml#L63-L75 contains "com" and "mod" instead. Most likely it is related to migration from JED3 to JED4 and not a problem actually, but to be sure check it. |
Wow how surprised I am that I listed this like five or more years ago... I wonder if libraries was allowed back then... can't remember that far back. I have been updating that library here https://github.com/vdm-io/tcpdf but need to update it on the JED too.... anyway only today realized this, thanks @dryabov for pointing this issue out. Probably have to remove it then... will mention it to the JED team. |
Please, check the terms of service for the definitive guide on these matters: https://extensions.joomla.org/community/terms-of-service/
|
@dryabov have you corrected this issue? |
Yes, XMLInfo ruleset display an error message for library-type extensions. |
This means you have not fixed the issue, as @anibalsanchez has stated... the: |
…at use the Joomla installer.
Hi,
Testing an extension, I found this false positive error.
Libraries are accepted on JED. It is a valid extension type.
CC @dryabov
The text was updated successfully, but these errors were encountered: