Ticket #9071 (new defect)

Opened 2 years ago

Last modified 7 months ago

can't work with 0.12

Reported by: jeanvixue@gmail.com Assigned to: dan
Priority: normal Component: AwesomeAttachmentsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description (Last modified by rjollos)

Can it work with Trac 0.12? At create ticket form, no field for attachments.

I checked I has attachments button, when press create ticket, show error message:

KeyError: attachment[]

how?

Attachments

Change History

10/17/12 01:27:53 changed by rjollos

  • description changed.

(follow-up: ↓ 4 ) 10/17/12 01:31:37 changed by rjollos

(In [12185]) Refs #9071: Attempted to get AwesomeAttachmentsPlugin working, but it still needs more work.

  • Entry point in setup.py was not correct.
  • Renamed awesomattachments.py to awesomeattachments.py.
  • Fixed indentation problems in source code.
  • Get the attachments: max_size option from Config rather than re-defining the option.

It appears that this plugin may rely on a patched instance of Trac. The attachment fieldset and children are now added to the newticket form, but attachments are not added to the ticket when it is created.

10/17/12 06:33:30 changed by rjollos

(In [12187]) Refs #9071: Declared the license as 3-Clause BSD, following a discussion with the original author Dan Ordille over email exchange.

(in reply to: ↑ 2 ) 10/17/12 06:36:59 changed by rjollos

Replying to rjollos:

... It appears that this plugin may rely on a patched instance of Trac.

Rather, it inherits from TicketModule and over-rides the private method _do_save, which will make maintenance difficult, but I'm not sure yet that there is another way to accomplish this.

10/17/12 06:43:44 changed by rjollos

(In [12188]) Refs #9071: Set version to 0.3dev. Added author to setup.py.

10/17/12 06:47:46 changed by rjollos

(In [12186]) Refs #9071: Fixed some errors in [12185], which were masked because awesomeattachments.pyc was still being imported in the development environment.


Add/Change #9071 (can't work with 0.12)




Change Properties
Action