xkcd-Bucket icon indicating copy to clipboard operation
xkcd-Bucket copied to clipboard

Bucket should clean up circular aliases during merges

Open dgw opened this issue 7 years ago • 0 comments

Let Bucket have two factoids: thing, which contains tidbits; and other thing, which is an alias to thing.

The only entry in other thing is <alias> thing. If an admin issues Bucket, merge thing => other thing, all of the tidbits in thing will be moved to other thing, and thing will become just <alias> other thing. But other thing will still contain <alias> thing.

Merging factoids together should not result in circular aliases. If the target factoid is already an alias, Bucket should either refuse to merge (probably sensible if it points elsewhere) or remove the alias from the target before merging (sensible if the target points to the source factoid).

dgw avatar Jul 11 '18 08:07 dgw