[Spacewalk-list] rhnContentSource: label column sizing

Kalchik, Jeffery JDKalchik at landolakes.com
Thu Jan 24 16:16:23 UTC 2019


Good morning, all.

Seems to be my week.  I'd like to revisit something I ran across better than 3 years ago (tell me to file a bug report....)

For reference:

https://github.com/spacewalkproject/spacewalk/commit/facb6866380eb36e7791340614f765b004e564bd
https://www.redhat.com/archives/spacewalk-list/2015-May/msg00109.html

This morning, I've discovered that going in through the web UI, when updating a repository (Channels/Manage Software Channels/Manage Repositories,) when a repository label is long, I'm getting the following error:


  *   Label cannot be greater than 64 characters (Note: double byte chars are not supported).
The underlying table appears to be correct, per the github commit:

                Table "public.rhncontentsource"
   Column   |           Type           |       Modifiers
------------+--------------------------+------------------------
id         | numeric                  | not null
org_id     | numeric                  |
type_id    | numeric                  | not null
source_url | character varying(2048)  | not null
label      | character varying(128)   | not null
created    | timestamp with time zone | not null default now()
modified   | timestamp with time zone | not null default now()

Looks to me that while the schema has been updated, the UI code hasn't been (or got rolled back, somehow....)

Jeff Kalchik
Server Support Managed Resources
Land O'Lakes
This message may contain confidential material from Land O'Lakes, Inc. (or its subsidiary) for the sole use of the intended recipient(s) and may not be reviewed, disclosed, copied, distributed or used by anyone other than the intended recipient(s). If you are not the intended recipient, please contact the sender by reply email and delete all copies of this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20190124/3055a578/attachment.htm>


More information about the Spacewalk-list mailing list