It's going to be a while before I'm able to test on 0.10.4 :/

In the meantime (or until someone else can test), try a different
field name other than 'action' -- I have a hunch that there might be
some keyword checking/handling that's not being performed.  So
something like:

[ticket-custom]
my_action = select
my_action.label = Action
my_action.options = develop|verify|design
my_action.order = 6



On Sep 28, 6:19 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I am using trac 0.10.4
>
> Thanks
>
> On Sep 28, 3:07 pm, Morris <[EMAIL PROTECTED]> wrote:
>
>
>
> > I can't duplicate this in Trac 0.11dev -- what version of Trac are you
> > using?
>
> > On Sep 28, 6:00 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>
> > > sure, here is the Python Traceback.
>
> > > Traceback (most recent call last):
> > >   File "C:\Python24\Lib\site-packages\trac\web\main.py", line 406, in
> > > dispatch_request
> > >     dispatcher.dispatch(req)
> > >   File "C:\Python24\Lib\site-packages\trac\web\main.py", line 237, in
> > > dispatch
> > >     resp = chosen_handler.process_request(req)
> > >   File "C:\Python24\Lib\site-packages\trac\ticket\web_ui.py", line
> > > 138, in process_request
> > >     self._do_create(req, db)
> > >   File "C:\Python24\Lib\site-packages\trac\ticket\web_ui.py", line
> > > 197, in _do_create
> > >     ticket.populate(req.args)
> > >   File "C:\Python24\lib\site-packages\trac\ticket\model.py", line 124,
> > > in populate
> > >     self[name] = values.get(name, '')
> > >   File "C:\Python24\lib\site-packages\trac\ticket\model.py", line 117,
> > > in __setitem__
> > >     value = value.strip()
> > > AttributeError: 'list' object has no attribute 'strip'
>
> > > Thanks in Advance
>
> > > On Sep 28, 1:52 pm, "Erik Andersson" <[EMAIL PROTECTED]> wrote:
>
> > > > The error output would be useful..
>
> > > > Cheers / Erik
>
> > > > On 9/28/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> > > > > I am trying to add a custom field called action to the ticket with the
> > > > > following changes to the trac.ini:
>
> > > > > [ticket-custom]
> > > > > action = select
> > > > > action.label = Action
> > > > > action.options = develop|verify|design
> > > > > action.order = 6
>
> > > > > and then stop and start the trac server.
>
> > > > > The field appears to be fine on the 'New Ticket' page, but when I try
> > > > > to save the ticket, it throws up an error.
>
> > > > > Any insights??- Hide quoted text -
>
> > > > - Show quoted text -- Hide quoted text -
>
> > > - Show quoted text -- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to