Open mueller-tobias opened 1 year ago
I think the real problem is the publiccode-parser. Should i open there an issue as well?
@mueller-tobias thanks for the issue
I think the real problem is the publiccode-parser. Should i open there an issue as well?
If you managed to crash the parser with some wrong input, please do
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 anythingWhen 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.