client-web icon indicating copy to clipboard operation
client-web copied to clipboard

BUG: When create/delete collection of links callout (with refs) and create callout for posts afterward - error is thrown

Open Comoque1 opened this issue 1 year ago • 3 comments

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to https://dev.alkem.io/delete-callout/challenges/del-callout-7213/dashboard
  2. Create "collection of links" callout
  3. Add 2 or more references to it
  4. Remove the created callout
  5. Create call for posts callout - error is thrown: "message": "Callout with requested ID (53bcf9d7-bd34-4fd0-98bb-9f00bc48541f) not located within current Collaboration: 75842def-f5fb-4985-8ce9-0d8b446f7f17",

Private Zenhub Image

Expected behavior No error is thrown, after going through the flow described in steps to reproduce.

Comoque1 avatar Oct 23 '23 15:10 Comoque1

After creation of the post collection callout. Callouts query is called with calloutIds variable that contains the ID of the deleted callout.

alstojanovic avatar Dec 05 '23 08:12 alstojanovic

@alstojanovic so in the same client instance? So just a cache / list needs updating?

techsmyth avatar Dec 05 '23 09:12 techsmyth

@techsmyth it's in the same client but the callout is removed from the cache properly. There is a callback that should not happen and we are trying to figure out why it's being triggered.

alstojanovic avatar Dec 06 '23 10:12 alstojanovic