On Thu, May 07, 2009 at 09:07:13AM -0400, Jason Dobies wrote:
>> Before we open up this can of worms again look at this bug:
>>
>> https://bugzilla.redhat.com/show_bug.cgi?id=459827 (sorry private bug)
>>
>> jesus
>
> "Increasing the length of the column probably isn't the right solution.  "
>
> Is there more to it than that (referring to the can of worms comment,  
> I'm guessing there was a non-documented debate)? I'm not seeing a real  
> reason why increasing the name to match the label size is a bad idea.  
> This has come up twice in BZs now and I just saw it on the satellite  
> mailing list as well.

Isn't the main problem here the fact that whatever limit you chose, if
the original channel is at or near the limit, the cloned one will be
over limit? So the real fix is to

- match the textfield length in the WebUI to the column width,
  whatever that one is;
- if the generated name would end up longer, truncate it in such a way
  that the name is still unique;
- when handling the form, verify that the data is indeed shorter or
  equal the column width.

-- 
Jan Pazdziora
Senior Software Engineer, Satellite Engineering, Red Hat

_______________________________________________
Spacewalk-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to