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

[production][webui/package#save_file] Suse::ValidationError: service validation error: Start tag expected, '<' not found #1253

Closed
hennevogel opened this issue Oct 16, 2015 · 3 comments · Fixed by #1313
Assignees
Labels
Bug Frontend Things related to the OBS RoR app

Comments

@hennevogel
Copy link
Member

webui/package#save_file threw this 0 times

Suse::ValidationError: service validation error: Start tag expected, '<' not found

https://build.opensuse.org/package/save_file/home:scalpel4k/libmlt"

See this exception on Errbit

@hennevogel
Copy link
Member Author

This happens when you upload a _service file via webui

@hennevogel hennevogel added Bug Frontend Things related to the OBS RoR app labels Oct 16, 2015
@hennevogel
Copy link
Member Author

Another part of this is #1253

@ChrisBr ChrisBr self-assigned this Oct 27, 2015
@ChrisBr
Copy link
Member

ChrisBr commented Oct 27, 2015

I'll have a look at this!

ChrisBr added a commit to ChrisBr/open-build-service that referenced this issue Oct 28, 2015
* file is sometimes a UploadedFile object which is handled now
* catches ValidationExceptions and Exception
* some simplifications

This will fix openSUSE#1253
ChrisBr added a commit to ChrisBr/open-build-service that referenced this issue Oct 29, 2015
* A new file is an UploadedFile object which caused an Exception in Suse::Validator.validate
because it called to_s on UploadedFile
* Catches and shows now all Excepton
* Some simplifications
* Refactoring and improving of the tests

This closes openSUSE#1253, closes openSUSE#1315
ChrisBr added a commit to ChrisBr/open-build-service that referenced this issue Oct 30, 2015
* A new file is an UploadedFile object which caused an Exception in Suse::Validator.validate
because it called to_s on UploadedFile
* Catches and shows now all Excepton
* Some simplifications
* Refactoring and improving of the tests

This closes openSUSE#1253, closes openSUSE#1315
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Frontend Things related to the OBS RoR app
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants