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

API History "event": "CREATED" and "DELETED" Issue #1981

Open
gitvnt opened this issue May 3, 2023 · 1 comment
Open

API History "event": "CREATED" and "DELETED" Issue #1981

gitvnt opened this issue May 3, 2023 · 1 comment
Labels
API REST API bug it's broken!
Milestone

Comments

@gitvnt
Copy link

gitvnt commented May 3, 2023

Hello all,

It looks like there is a problem since version 0.12.x in the history API: creating a link does not generate a "CREATED" event and deleting a link does not generate a "DELETED" event.

To reproduce the error :

  • Create a link from the web interface
  • Test the API history: expected return "event: "CREATED", received return "event": "UPDATED"
  • Modify the previously created link
  • Test the API history: expected return "event: "UPDATED", received return "event": "UPDATED"
  • Delete the link
  • Test API history: expected return "event": "DELETED" unfortunately no "event" is added after this deletion.

Thanks

@gitvnt gitvnt changed the title API History "event": "DELETED" Issue API History "event": "CREATED" and "DELETED" Issue May 3, 2023
@nodiscc nodiscc added bug it's broken! unconfirmed API REST API labels May 4, 2023
@nodiscc nodiscc added this to the 0.13.0 milestone May 21, 2023
@Kosteron
Copy link

Hello, It seems the plugins shaarli-webhooks is broken with this bug

@nodiscc nodiscc modified the milestones: 0.13.0, 0.14.0 Nov 22, 2023
@nodiscc nodiscc modified the milestones: 0.14.0, 0.15.0 Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API REST API bug it's broken!
Projects
None yet
Development

No branches or pull requests

3 participants