data-govt-nz / ckanext-security

A CKAN extension to hold various security improvements for CKAN
GNU Affero General Public License v3.0
25 stars 31 forks source link

Bug on new version #76

Open Nimaj1994 opened 3 months ago

Nimaj1994 commented 3 months ago

Hi You’re plugin won’t let me to login on ckan 2.10.4 with error ERROR [ckan.lib.webassets_tools] Trying to include unknown asset: <ckanext-geoview/geo-resource-styles_css>, Is there any solution?

markstuart commented 3 months ago

Are you able to see where in the codebase that CSS file is being included? Without looking into it, I'm unaware of any template overrides in this plugin that would be a cause of this issue. Are you sure this error isn't due to another plugin you have configured in your CKAN installation?

Nimaj1994 commented 3 months ago

I managed to resolve this problem by changing the content of MANIFEST.in to recursive-include ckanext *.html *.json *.yaml *.js *.html *.css *.yml *.config .

markstuart commented 3 months ago

Do you mean that you edited the MANIFEST.in file in this plugin to the above, and that fixed the issue for you?

Nimaj1994 commented 2 months ago

@markstuart that is correct.