Bug 710009

Summary: "Macro end tag is required." when uploading binary configuration file
Product: Red Hat Satellite 5 Reporter: Jan Hutař <jhutar>
Component: Configuration ManagementAssignee: Tomas Lestach <tlestach>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 541CC: slukasik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-02 19:22:41 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: 677498    

Description Jan Hutař 2011-06-02 09:01:09 UTC
Description of problem:
When I try to upload binary configuration file (created from /dev/urandom), WebUI says me:

Macro end tag is required.
Macro start tag is required.


Version-Release number of selected component (if applicable):
spacewalk-java-1.2.39-29.el5sat


How reproducible:
always


Steps to Reproduce:
1. Create config channel
2. Configuration -> Configuration Channels -> <your_channel> ->
   -> Upload configuration files:
       File to Upload *: choose file created with
         `dd if=/dev/urandom of=/home/pok/Desktop/aaa bs=1024 count=10`
       File Type: Binary file
       Filename/Path *: /etc/jhutar-uploaded.bin
       Keep defaults on other places
3. Click "Upload Configuration File"


Actual results:
Error message appears:
> Macro end tag is required.
> Macro start tag is required.

Also "Macro Delimiters" change to:
  Start Delimiter: |   (instead of "{|")
  End Delimiter: |   (instead of "|}")


Expected results:
File should be uploaded

Comment 1 Jan Hutař 2011-06-02 19:22:41 UTC
Sorry, this report was against 5.4.0. When I have updated to 5.4.1 with spacewalk-java-1.2.39-82.el5sat, binary file upload works as expected.