Ticket #3206 (closed defect: fixed)

Opened 5 years ago

Last modified 3 years ago

[PATCH] Edit Wiki Page content and tag

Reported by: catalin.balan@gmail.com Assigned to: athomas
Priority: normal Component: TagsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

  • edit tags and content at the same time
  • after saving, only the tag was altered but the content remained unchanged.

The attached patch fixes that.

Thank you

Attachments

tags.th.patch (0.7 kB) - added by catalin.balan@gmail.com on 06/18/08 15:49:53.

Change History

06/18/08 15:49:53 changed by catalin.balan@gmail.com

  • attachment tags.th.patch added.

06/21/08 17:15:41 changed by athomas

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

(In [3877]) Fix Wiki tag saving semantics. Fixes #3206.

06/26/08 19:41:59 changed by anonymous

Also see #3145

06/27/08 00:52:55 changed by anonymous

  • status changed from closed to reopened.
  • resolution deleted.

(in reply to http://trac-hacks.org/ticket/3145#comment:4)

I should have re-opened #3206 instead, even though they seem related.

At least it is not working for me. As you can see, the embedded patch *removes* some code added by [3877]. Either way, please add the setup.cfg file for the sake of those who run the trunk version.

Please investigate the patch in http://trac-hacks.org/ticket/3145#comment:3

06/27/08 01:41:03 changed by athomas

What behaviour are you seeing? The same as this bug? Or is it slightly different?

07/12/08 21:22:09 changed by jamesyonan

I am seeing this issue as well with TagsPlugin 0.6 and Trac 0.11. When I attempt to create a new page (with new content) and tag it at the same time, only the tag is persisted in the DB, while the page remains in an uncreated state with the content I entered discarded.

10/02/08 18:06:43 changed by izzy

Same is happening if you update content and tags of a wiki page at the same time: Tags are updated, changes to the contents are lost. Using the latest trunk versions of both, trac and the TagsPlugin.

05/19/09 06:29:03 changed by roh

i am seeing this too. on creation one cannot add a tag without loosing the content

11/30/09 19:52:43 changed by anonymous@inspire

ack: same problem. is there no fix out there?

12/01/09 14:14:33 changed by otaku42

I can confirm that this bug occured with the combination of Trac 0.11.6 and TracTagsPlugin v0.6 (r3117). cbalan's patch works fine, though, and I can confirm that it fixes this bug for the mentioned combination.

(follow-up: ↓ 11 ) 01/12/10 09:15:51 changed by otaku42

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

(In [7372]) Fix a bug that, when trying to create a new wiki page with one or more tags, discarded the wiki page content. Thanks to cbalan for the patch. Fixes #3206.

(in reply to: ↑ 10 ) 01/12/10 17:36:25 changed by otaku42

Replying to otaku42:

(In [7372]) Fix a bug that, when trying to create a new wiki page with one or more tags, discarded the wiki page content. Thanks to cbalan for the patch. Fixes #3206.

Guess I had a bad day:

I accidentally committed stuff to the tagged release v0.6 rather than to trunk, which of course was wrong. I'll thus roll back r7372. No need to re-apply the patch to trunk, however, as the issue has been fixed there before.


Add/Change #3206 ([PATCH] Edit Wiki Page content and tag)




Change Properties
Action