Bug 644700
Summary: | API -> configchannel.lookupFileInfo fails for files with escape characters | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Marcelo Moreira de Mello <mmello> | ||||||
Component: | API | Assignee: | Tomas Lestach <tlestach> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Šimon Lukašík <slukasik> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 530 | CC: | clasohm, cperry, jhutar, mmello, mzazrivec, stephan.duehr, xdmoon | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | spacewalk-java-1.2.39-56 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2011-06-17 02:34:22 UTC | Type: | --- | ||||||
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: | 677501 | ||||||||
Attachments: |
|
Description
Marcelo Moreira de Mello
2010-10-20 00:55:14 UTC
Created attachment 454483 [details]
API Python Program
Created attachment 454484 [details]
Test File with escape characters
The problem is, that the escape.txt contains an invalid xml character. Fix: A file content doesn't get returned via API, if iy contains invalid xml characters. spacewalk.git: b84a4b59f6df2aad23f7f4daf4a3e7c6677fb9a1 Changing to Verified: Testing procedure: - automated test (upload and download of attached escape file through API) Verified against: spacewalk-java-1.2.39-61 Note: I thought, that instead of do-not-send, it might be nicer to send the content encoded in base54. After the offline discussion I understand that we do not send it, because of customer automations might expect plain-text. Verified in stage w/ spacewalk-java-1.2.39-82 -> release pending. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. https://rhn.redhat.com/errata/RHSA-2011-0879.html |