Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1353974 - Truncate miq_request user_message length.
Truncate miq_request user_message length.
Status: CLOSED ERRATA
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate (Show other bugs)
5.6.0
Unspecified Unspecified
high Severity high
: GA
: 5.6.1
Assigned To: Tina Fitzgerald
Milan Falešník
: ZStream
Depends On: 1353730
Blocks:
  Show dependency treegraph
 
Reported: 2016-07-08 10:54 EDT by Chris Pelland
Modified: 2016-08-19 15:31 EDT (History)
7 users (show)

See Also:
Fixed In Version: 5.6.1.2
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1353730
Environment:
Last Closed: 2016-08-18 14:03:09 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:1634 normal SHIPPED_LIVE Important: CFME 5.6.1 security, bug fix, and enhancement update 2016-08-18 17:43:52 EDT

  None (edit)
Comment 2 Milan Falešník 2016-08-01 11:13:21 EDT
Verified in 5.6.1.0

I did

request.user_message = ('x' * 255) + 'you should not see this'

in the method.

By the way, there was an important reproduction step missing in this bugzilla as the VM that was executed against must have come to life as CFME provision. It is partially obvious as there is the request involved, but it might lead to needinfo for less experienced QE.

[----] I, [2016-08-01T10:52:38.977993 #1798:52b2564]  INFO -- : <AutomationEngine> <AEMethod truncate> XXXXX 255 user_message: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
[----] I, [2016-08-01T10:52:38.978118 #1798:52b2564]  INFO -- : <AEMethod truncate> XXXXX 255 user_message: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
Comment 4 errata-xmlrpc 2016-08-18 14:03:09 EDT
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2016-1634.html

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