[rt-users] RTx::Shredder question

Ruslan Zakirov ruslan.zakirov at gmail.com
Wed Oct 5 20:18:11 EDT 2005


On 10/6/05, Andy Moran <andy at wildbrain.com> wrote:
> Ruslan Zakirov wrote:
> > On 10/4/05, Andy Moran <andy at wildbrain.com> wrote:
> >
> > This error mean next: Field Creator or LastUpdatedBy of the
> > RT::Ticket-3612 is link to the user RT::User-37898. This links are
> > minor dependencies, but you have to resolve them with
> > 'replace_relations' option of the Users plugin, for example sane
> > values are nobody's id.
>
> Okay I'll try it with the replace_relations for Nobody.
>
> >
> >>[Mon Oct  3 17:34:18 2005] [crit]: couldn't find resolver for dependency
> >>'RT::User-37898 (depends on,resolvable dependency) RT::Ticket-3612' at
> >>/usr/local/rt3/lib/RTx/Shredder/Dependency.pm line 87, <STDIN> line 1.
> >> (/usr/local/rt3/lib/RT.pm:295)
> >
> > Ok, could you check ticket #3612? Does RT show it ok? Why it has
> > dependency on that user?
>
>
> The ticket looks okay.. only person connected is Nobody (enabled).. I'm
> not getting that error anymore.   Now I get this one:
>
> ./rtx-shredder --plugin
> 'Users=status,disabled;limit=30000;replace_relations=10'
> [Wed Oct  5 22:31:30 2005] [crit]: couldn't find resolver for dependency
> 'RT::User-66 (depends on,resolvable dependency) RT::Attachment-1865' at
> /usr/local/rt3/lib/RTx/Shredder/Dependency.pm line 87, <STDIN> line 1.
>  (/usr/local/rt3/lib/RT.pm:295)
>
> I can't figure it out.. User-66 is a spam user.  Attachment-1865 is
> connected to ticket 248.. it does not seem to have anything to do with
> User-66 that I can tell.  248 has no disabled users on it that I can
> see.  Strange.
Could you run 'SELECT Creator, LastUpdatedBy FROM Attachments WHERE id
= 1865' and see if it's 66? But that's ver strange. I should write
some tests for this.

>
>
> > Do you have sqldumps for last runs when you were deleting users?
>
> Nah.  But it was only a test database.. I'm going to do the migration
> this weekend.
>
>


--
Best regards, Ruslan.



More information about the rt-users mailing list