manage duplicate attachment on mantis issue