Bug 1330570

Summary: Raise helpful message while allocating Memory w/o unit to Docker Container
Product: Red Hat Satellite Reporter: Jitendra Yejare <jyejare>
Component: Container ManagementAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: bbuckingham
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-26 18:49:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jitendra Yejare 2016-04-26 13:39:07 UTC
Description of problem:
While creating a docker container from satellite and allocating memory to the container w/o unit(i.e m for mb,g for gb) satellite UI throws error:
"Oops, we're sorry but something went wrong undefined method `full_messages' for #<Array:0x007f5175822990>"
Some helpfull message should be raised to mention unit or by default memory size should be considered in mb.

Version-Release number of selected component (if applicable):
Sat 6.2 Snap 9.2

How reproducible:


Steps to Reproduce:
1. From UI, Attempt to create a docker container with custom Memory size without unit.
2. Attempt to submit the Container.

Actual results:
satellite UI throws error:
"Oops, we're sorry but something went wrong undefined method `full_messages' for #<Array:0x007f5175822990>"

Expected results:
Some helpfull message should be raised to mention unit or by default memory size should be considered in mb.

Comment 2 Brad Buckingham 2016-04-26 18:49:04 UTC

*** This bug has been marked as a duplicate of bug 1243140 ***