Bug 1785640

Summary: 500 Internal server error on importing corrupted metadata template.
Product: Red Hat Satellite Reporter: Jitendra Yejare <jyejare>
Component: Templates PluginAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED INSUFFICIENT_DATA QA Contact: Jitendra Yejare <jyejare>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.7.0CC: mhulan, oprazak
Target Milestone: 6.7.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-01-17 09:26:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1778146    

Description Jitendra Yejare 2019-12-20 14:10:49 UTC
Description of problem:
Satellite throws '500 Internal server errors' on importing a corrupted metadata template.

Version-Release number of selected component (if applicable):
Satellite 6.7 snap 6

How reproducible:
Always

Steps to Reproduce:
1. Create / Have the corrupted metadata template in local / git repo.
2. Attempt to import that template.

Actual results:
Satellite throws '500 Internal server errors' on importing a corrupted metadata template.

Expected results:
The satellite should show that the template cannot be imported due to 'corrupted metadata'.

Additional info:

Comment 3 Ondřej Pražák 2020-01-03 11:40:37 UTC
In what way is metadata corrupted? Could you provide an example template please?

Comment 4 Jitendra Yejare 2020-01-06 08:47:44 UTC
Unable to repro this for now, but let's keep this open for now. If I find it in testing in recent future, I can provide the details for the same.

Comment 5 Marek Hulan 2020-01-14 16:47:30 UTC
Can we close now? It can be easily reopened in future if needed.

Comment 6 Jitendra Yejare 2020-01-17 09:26:26 UTC
@Marek, Lets close this one for now.