NASA-AMMOS / NASA-AMMOS/plandev
Aerie Gateway Plan Upload Allows Activities with duplicate Ids
@cohansen is already working on this.
Since Aug 6, 2025.
- Dominant language
- Java
- Stars
- 128
- Forks
- 33
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 12
Description
Checked for duplicates
Yes - I've already checked
Is this a regression?
No - This is a new bug
Version
3.4.0
Describe the bug
I upload an external plan to Aerie through the Gateway, the upload is successful even if different activities inside my plan have the same id. Specifically in my instance, I was referring to one of these overlapping id as an anchor id for another activity, the database just seemed to revert the anchor id to null and rewrite the activity ids and continue. I believe the appropriate behavior in this scenario is for an error to be thrown and all database changes to be reverted.
Reproduction
Upload a plan through the gateway where multiple activities have the same id attribute. For an exact replica of the situation, add an activity that refers to an overlapping id as an anchor id.
Logs
System Info
Uploaded through the Gateway on localhost.
Severity
Minor
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.