Ticket #7238 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

Can't add attachment with trac 0.12 RC1

Reported by: anonymous Assigned to: Blackhex
Priority: normal Component: DiscussionPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

Please have a look at the log:

2010-06-11 12:48:46,214 Trac[authz_policy] DEBUG: Checking ATTACHMENT_CREATE on discussion:topic/5@*/attachment:*@*
2010-06-11 12:48:46,214 Trac[authz_policy] DEBUG: Checking DISCUSSION_ATTACH on discussion:topic/5@*/attachment:*@*
2010-06-11 12:48:46,214 Trac[api] DEBUG: SELECT id, forum, subject, time, author, subscribers, body FROM topic WHERE id = 5
2010-06-11 12:48:46,214 Trac[main] WARNING: HTTPNotFound: 404 Trac-Fehler (Die Seite Topic #5 ist nicht vorhanden. Sie können keinen Anhang erstellen.)

Of course, topic 5 exists:
SELECT id, forum, subject, time, author, subscribers, body FROM topic WHERE id = 5

idforumsubjecttimeauthorsubscribersbody
54TeamSpeak1272380583Müller Wo bekomme ich die Daten für den TeamSpeak her? TeamSpeak Version: Server IP: Port: Server Passwort: Channel: Channel Passwort:

1 row(s) returned [0 ms taken]

Do you have some suggestions?

Thanks in advance

Markus

Attachments

Change History

06/11/10 12:57:50 changed by anonymous

  • cc set to atrav99@web.de.

06/11/10 13:10:24 changed by Blackhex

  • status changed from new to assigned.

Ok. It seems that Resource API in 0.12 changed slightly:

http://trac.edgewall.org/browser/trunk/trac/resource.py#L73

I'll add implementation of this interface method at the evening...

06/11/10 13:19:34 changed by anonymous

Wow! Quick answer! Thanks.

06/12/10 01:41:56 changed by Blackhex

Please try if r8112 fixes that because I don't have 0.12 installed yet.

06/13/10 21:36:39 changed by anonymous

  • status changed from assigned to closed.
  • resolution set to fixed.

Solved. Thank you.

07/24/10 15:41:21 changed by anonymous

  • cc deleted.

Add/Change #7238 (Can't add attachment with trac 0.12 RC1)




Change Properties
Action