Description of problem: When a user enters a long description for a content view (presumably more than 255 characters?), subsequent attempts to promote error out. This does not seem to be readily apparent in UI except for a tiny red smidge in the progress bar and clicking through to see that "something" caused an error. Traceback in candlepin.log Version-Release number of selected component (if applicable): Satellite-6.0.3-RHEL-6-20140328.1 How reproducible: Steps to Reproduce: 1. Create view called "this is a test" with the following description: this is a testthis is a testthis is a testthis is a testthis is a testthis is a testthis is a testthis is a testthis is a testthis is a testthis is a testthis is a testthis is a testthis is a testthis is a testthis is a testthis is a testthis is a testthis is a testthis is a testthis is a testthis is a testthis is a testthis is a testthis is a test 2. Noting that view is created with no failure, add content to view and attempt to promote it. 3. View results Actual results: An incomplete red status bar; clicking through "Publishing and promoting to 1 environment." notes an error but doesn't really provide details. Expected results: Validation in the UI to keep user from creating a content view longer than allowable db field length. Additional info: See forthcoming example from candlepin.log
Created attachment 880028 [details] error.log from candlepin Note: I referred to the above file twice as "candlepin.log". Rather, it is the error log.
PR: https://github.com/Katello/katello/pull/3973
commit facafed473d7d7900cedbe6f211f63f370921182 Merge: 53902fb 99d8144 Author: Walden Raines <walden> Date: Mon Apr 14 13:57:51 2014 -0400 Merge pull request #3973 from waldenraines/bug-5160 Fixes #5160, BZ1082163 - limit content view descriptions to 255 chars. commit 99d814414cfd4bd218eb46a22b59b7f02206f2f7 Author: Walden Raines <walden> Date: Fri Apr 11 14:05:59 2014 -0400 Fixes #5160, BZ1082163 - limit content view descriptions to 255 chars.
Verified in Satellite/Satellite-6.0.3-RHEL-6-20140430.4, UI tells user that descriptions > 255char are disallowed.
This was delivered with 6.0.3, which is the Satellite 6 Beta.