You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we've the problem that some developers of our plattform create the publiccode.yaml manually. When the publicode.yaml hasn't the correct format, the editor will crash when the developer tries to upload the publicode.yaml for validation.
Steps to reproduce
Create a publiccode.yaml but use a string instead of a list on the description.en.feature attribute.
The Editor will crash and not load anything
# This repository adheres to the publiccode.yml standard by including this# metadata file that makes public software easily discoverable.# More info at https://github.com/italia/publiccode.ymlpubliccodeYmlVersion: "0.5"name: Testappurl: "https://gitlab.opencode.de/test/testapp"releaseDate: "2023-07-01"softwareVersion: "1.0"platforms:
- linuxcategories:
- data-analytics
- data-visualizationdevelopmentStatus: stablesoftwareType: standalone/otheren:
countryExtensionVersion: "0.2"maintenance:
type: communitycontacts:
- name: Testemail: [email protected]contractors:
- name: Testwebsite: "https://www.test.com/"legal:
license: EUPLmainCopyrightOwner: ITDZrepoOwner: ITDZlocalisation:
localisationReady: falseavailableLanguages:
- endescription:
en:
genericName: DSGVO compliant test appshortDescription: DSGVO compliant test app description shortlongDescription: | DSGVO compliant test app description longfeatures: "Test Feature"
When you can the line
features: "Test Feature"
to
features:
- "Test Feature"
Expected behaviour
Show the yaml file and mark the line/lines that throw the error.
This would give the user a hint where the error in his file is.
Actual behaviour
The Editor crashs and show's nothing.
The text was updated successfully, but these errors were encountered:
Hello,
we've the problem that some developers of our plattform create the publiccode.yaml manually. When the
publicode.yaml
hasn't the correct format, the editor will crash when the developer tries to upload thepublicode.yaml
for validation.Steps to reproduce
Create a
publiccode.yaml
but use a string instead of a list on thedescription.en.feature
attribute.The Editor will crash and not load anything
When you can the line
to
Expected behaviour
Show the yaml file and mark the line/lines that throw the error.
This would give the user a hint where the error in his file is.
Actual behaviour
The Editor crashs and show's nothing.
The text was updated successfully, but these errors were encountered: