Bug 710009 - "Macro end tag is required." when uploading binary configuration file
Summary: "Macro end tag is required." when uploading binary configuration file
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Configuration Management
Version: 541
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Tomas Lestach
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: sat541-triage
TreeView+ depends on / blocked
 
Reported: 2011-06-02 09:01 UTC by Jan Hutař
Modified: 2012-03-08 09:06 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-02 19:22:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.