Issue Details (XML | Word | Printable)

Key: GLASSFISH-17097
Type: Bug Bug
Status: Open Open
Priority: Minor Minor
Assignee: Byron Nevins
Reporter: Tim Quinn
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

Certain message strings set in action reporter prevent asadmin from correctly handling the return action report

Created: 25/Jul/11 01:49 PM   Updated: 02/Dec/11 07:25 PM
Component/s: admin
Affects Version/s: 3.1.1, 4.0
Fix Version/s: None

Time Tracking:
Not Specified

Tags: 3_1_1-exclude 3_1_1-scrubbed
Participants: Byron Nevins, Tim Quinn and Tom Mueller

 Description  « Hide

Please also see the related issue.

asadmin asks the DAS to use the PropsFileActionReporter to report the command status. PropsFileActionReporter does not correctly handle certain strings when passed to setMessage if parts of the string are formatted in the same way as a manifest attribute: new line, attr-name: attr-value

The related issue shows an example in which the apparent attribute name is invalid, so asadmin's attempt to interpret the entire action report as a manifest fails.

PropsFileActionReporter should be changed so it can handle such strings and/or asadmin should use some other type of action reporter implementation that can handle such strings.