Bug #5160
closedContent Views: Long descriptions for view cause mostly-silent failure to publish
Description
(In reply to Corey Welton from comment #0)
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.logVersion-Release number of selected component (if applicable):
Satellite-6.0.3-RHEL-6-20140328.1How 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 resultsActual 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