Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix identifier create to error on reusing an AID alias #85

Closed
pfeairheller opened this issue Aug 7, 2023 · 2 comments
Closed

Fix identifier create to error on reusing an AID alias #85

pfeairheller opened this issue Aug 7, 2023 · 2 comments
Assignees

Comments

@pfeairheller
Copy link
Member

In IdentifierCollectionEnd.on_post method a check to see if name already needed at the beginning of the method and a 400 Bad Request exception should be raised on a second attempt to reuse a name (aid alias).

@rodolfomiranda
Copy link
Collaborator

I corrected that issue in #78.

@lenkan
Copy link
Collaborator

lenkan commented Aug 27, 2024

This is already implemented

if agent.hby.habByName(name) is not None:
raise falcon.HTTPBadRequest(
title=f"AID with name {name} already incepted"
)
and can be closed I think.

cc @2byrds

@2byrds 2byrds closed this as completed Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants