id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc 1056,Naming of child items,Nicklas Nordborg,Nicklas Nordborg,"There seems to be a problem with the naming of new child items when this is mixed with deleting child items created earlier. For example, if we have a `MergedSequences` item and then run both the legacy pipeline and the Hisat pipeline, we get two `MaskedSequecnces` child items with suffix `.k` and `.k2`. Then, if there is a problem with the legacy pipeline that requires the `.k` subtree to be deleted, the next `MaskedSequences` item will get a `.k2` suffix and now we have two items with the same name. The problem seems to be that the suffix is created by a simple count of existing child items. This will only work if items are never deleted. I think the same issue is present in most of the places where new child items are created. We need to check this and create a stable fix. It would also be a good idea to dump out the names of all items from the biosurce down to the rawbioassay level and check if there are any duplicates. ",defect,closed,blocker,Reggie v4.19,net.sf.basedb.reggie,fixed,,