Skip to content

RFI: Reasoning behind not being able to whitelist the path containing the reference #35

@royteeuwen

Description

@royteeuwen

In our project we have proxies / extensions of AEM Forms components. Sadly enough it seems that AEM Forms content classification is not properly setup, they reference INTERNAL things in their open-source core components that you want to proxy, e.g.:

https://github.com/adobe/aem-core-forms-components/blob/master/ui.af.apps/src/main/content/jcr_root/apps/core/fd/components/form/base/v1/base/_cq_dialog/.content.xml#L361

[ERROR] ValidationViolation: Element with name "optionsBindRef" references resource 'fd/af/authoring/components/granite/form/bindrefselector' which is marked as 'granite:InternalArea'. It therefore violates the content classification! @ jcr_root/apps/adaptive-forms/core/fd/components/form/dropdown/_cq_dialog/.content.xml, line 48, column 78, validator: netcentric-aem-classification, JCR node path: /apps/adaptive-forms/core/fd/components/form/dropdown/cq:dialog/content/items/tabs/items/basic/items/columns/items/column/items/optionsBindRef

I was trying to ignore this in the plugin by doing

<whitelistedResourcePathPatterns>/apps/adaptive-forms/core/fd/components/form/.*</whitelistedResourcePathPatterns>

But it seems I have to ignore fd/af/authoring/components/granite/form/bindrefselector, which sadly enough isn't the only one not correctly setup by AEM Forms. It would be easier to be able to say "forms are not properly setup by AEM, just ignore things in /apps/adaptive-forms/core/fd/components/form/.*

For now, I will work around this by ignoring fd/af/authoring/components/granite/form/bindrefselector in the whitelisted resource path patterns, so not blocking, just a request for information

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions