Red Hat Bugzilla – Bug 615980
Recipe uploaded via file upload control displays only a portion of recipe uploaded in IE
Last modified: 2010-07-19 10:29:50 EDT
Created attachment 432850 [details]
Description of problem:
If a user uploads a recipe file (refer the attached example recipe file 'deploy.xml'), only a portion of the file is uploaded and is shown in the recipe text area.
Please refer the attached screenshot.
Tested and observed the issue in IE 6, IE7 and IE8,
Below are the IE versions:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Only a portion of the recipe file is uploaded.
All the content of recipe file should be uploaded and should be displayed in the recipe text area.
Created attachment 432851 [details]
This is a known limitation of the direct "upload via recipe" feature. I
documented this in our dev wiki here:
which yes is hidden away. Should probably put this in our user docs somewhere.
Specifically, the yellow box that says:
"For some reason, if you file upload a ANT script as the recipe, you can't use
XML notation like <property name="a" /> - you need to explicitly provide the
ending tag like this: <property name="a"></property>. If you don't want to be
forced into using that notation, just copy-n-paste the ANT script content
directly in the text field, as opposed to using the file upload mechanism."
Fix the rhq:input-property tag in the attached deploy.xml so it doesn't use the
<tag/> notation and try again. No tags should use the <tag/> notation when you
directly upload the recipe xml.
NOTE: this is ONLY a limitation when uploading the recipe directly - when
uploading a bundle distribution file, your XML can have <tag/> notation.
Moving back to ON_QA to test using a different XML file.
Closing this as we should already cover this case when testing https://bugzilla.redhat.com/show_bug.cgi?id=615978
*** This bug has been marked as a duplicate of bug 615978 ***