Christian Boos  committed 6116820

1.0dev: the default values for a new ticket are already preset (and in a better way) in `Ticket._init_defaults`.

This fixes the glitch seen in the new ticket preview which displayed ''(fixed)'' as the new ticket resolution.

  • Participants
  • Parent commits 03f9054
  • Branches trunk

Comments (0)

Files changed (1)

File trac/ticket/

         fields = self._prepare_fields(req, ticket)
-        # setup default values for the new ticket
-        for field in fields:
-            ticket.values.setdefault(field['name'], field.get('value'))
         # position 'owner' immediately before 'cc',
         # if not already positioned after (?)