Modify

Opened 13 months ago

Last modified 7 months ago

#11205 new defect

Tags of some plugin are broken

Reported by: matobaa Owned by: otaku42
Priority: normal Component: TracHacks
Severity: normal Keywords:
Cc: rjollos, hasienda Trac Release:

Description

Tags of some plugin are broken. It seems be overwritten by spam. TagsPlugin on this site should store changes.


Attachments (0)

Change History (9)

comment:2 Changed 13 months ago by jun66j5

  • Cc rjollos hasienda added

comment:4 Changed 13 months ago by hasienda

For getting back former tags the only hope is to read a db backup from before the SPAM overwrite.

In general tags are currently version-less, and they where ever before. While SPAM is a valid argument for adding versions as demanded by #2429 for years, the design of an appropriate implementation raises some questions.

comment:5 Changed 9 months ago by hasienda

Consider the proposed patch in #2429 for tag revision support to become available soon.

comment:6 Changed 9 months ago by hasienda

In 13428:

TagsPlugin: Introduce tag version recording, requires db upgrade, refs #2429.

This will especially help recovering tags after SPAM tagging, refs #11205.
Therefore configurable behavior enables tracking of wiki page tag changes, but
excludes ticket keywords changes by default.

comment:7 Changed 7 months ago by rjollos

Let me know when you feel that the tag versioning added to TagsPlugin is stable, and I'll then go ahead and upgrade TagsPlugin on trac-hacks.

comment:8 in reply to: ↑ 3 ; follow-up: Changed 7 months ago by rjollos

Replying to jun66j5:

The following pages have the same issue which is spam tagging and wiki page doesn't exist.

Any idea of the best way to deal with those pages? I'm thinking that we need a script to remove orphaned tags from the database. We should also make sure that tags are deleted when wiki pages are deleted so that this issue can't occur again.

comment:9 in reply to: ↑ 8 Changed 7 months ago by hasienda

Replying to rjollos:

Replying to jun66j5:

The following pages have the same issue which is spam tagging and wiki page doesn't exist.

Any idea of the best way to deal with those pages? I'm thinking that we need a script to remove orphaned tags from the database.

Yes, but ...

We should also make sure that tags are deleted when wiki pages are deleted so that this issue can't occur again.

This is guaranteed by using wiki page change listener support that has been there since 0.6, so we'll should check an trace of db insanity more closely.

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.