Skip to content
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

errore nella validazione dei metadata che non contengono il tag contactperson #236

Open
nunzionapoli opened this issue Jan 5, 2023 · 0 comments

Comments

@nunzionapoli
Copy link
Collaborator

nunzionapoli commented Jan 5, 2023

Nel caso il metdata non contenga il tag contactperson
(es. https://registry.spid.gov.it/metadata/sp/dgiai-m_svec.xml)

il software produce il seguente errore:
TypeError: Cannot read property 'entityType' of undefined
at MetadataParser.isMetadataForOperator (/home/agidroot/spid-saml-check/spid-validator/server/lib/saml-utils.js:422:48)
at MetadataParser.isMetadataForOpPublicFull (/home/agidroot/spid-saml-check/spid-validator/server/lib/saml-utils.js:455:21)
at /home/agidroot/spid-saml-check/spid-validator/server/api/metadata-sp.js:258:27
at Layer.handle [as handle_request] (/home/agidroot/spid-saml-check/spid-validator/server/node_modules/express/lib/router/layer.js:95:5)
at next (/home/agidroot/spid-saml-check/spid-validator/server/node_modules/express/lib/router/route.js:137:13)
at Route.dispatch (/home/agidroot/spid-saml-check/spid-validator/server/node_modules/express/lib/router/route.js:112:3)
at Layer.handle [as handle_request] (/home/agidroot/spid-saml-check/spid-validator/server/node_modules/express/lib/router/layer.js:95:5)
at /home/agidroot/spid-saml-check/spid-validator/server/node_modules/express/lib/router/index.js:281:22
at param (/home/agidroot/spid-saml-check/spid-validator/server/node_modules/express/lib/router/index.js:354:14)
at param (/home/agidroot/spid-saml-check/spid-validator/server/node_modules/express/lib/router/index.js:365:14)

@nunzionapoli nunzionapoli changed the title errore nella validazione dei metadata che non contenconto il tag contactperson errore nella validazione dei metadata che non contengono il tag contactperson Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant