tposney / midi-qol

Other
5 stars 0 forks source link

The key does not exist in the EmbeddedCollection Collection [No packages detected] #555

Open tposney opened 3 years ago

tposney commented 3 years ago

In GitLab by @soffici94 on Oct 5, 2021, 10:36

Sorry but i can't recognize the reason for the error when the effect Overtime expires after save success.

tposney commented 3 years ago

Can you export your midi-qol settings and the item that is causing the problem. Then I can look at the issue.

tposney commented 3 years ago

In GitLab by @soffici94 on Oct 7, 2021, 03:30

Same Problem Sorry.

Inviato da Postahttps://go.microsoft.com/fwlink/?LinkId=550986 per Windows

fvtt-midi-qol-settings.json

Infernal_Poison.json

fvtt-Item-devil_s-glaive.json

... Da: Tim Posney (@tposney) Inviato: martedì 5 ottobre 2021 08:05 A: soffici94@hotmail.it Oggetto: Re: midi-qol | The key does not exist in the EmbeddedCollection Collection [No packages detected] (#555) Tim Posney commented: Can you export your midi-qol settings and the item that is causing the problem. Then I can look at the issue. — Reply to this email directly or view it on GitLab. You're receiving this email because of your account on gitlab.com. If you'd like to receive fewer emails, you can unsubscribe from this thread or adjust your notification settings.
tposney commented 3 years ago

I tried with you midi-settings and with both of the items and had no problem with the expiry.

I am aware that in 0.8.x the race condition for applying effects causes the active effect to be created on the local client but does not get committed to the database, which means when you try and remove it you get the "key does not exist in embedded collection".

Normally this happens if you are apply 2 effects from the same item, but it is possible that the stacking of the infernal wound could trigger this. There is no good solution in 0.8.x I am afraid. You just have to reload (via ctrl-shift-r) and see what the state is.

Once 0.9 is out I'll be able to find any remaining cases (which could well be module errors), but in 0.8.x it is just to unreliable to test.

tposney commented 3 years ago

In GitLab by @soffici94 on Oct 7, 2021, 22:16

Ok, thanks. I get the same error when I try to place animated tiles. This is bad, but probably not from your modules. Thx again

Scarica Outlook per Androidhttps://aka.ms/AAb9ysg

... ________________________________ From: gitlab@mg.gitlab.com on behalf of Tim Posney (@tposney) Sent: Thursday, October 7, 2021 4:51:21 AM To: soffici94@hotmail.it Subject: Re: midi-qol | The key does not exist in the EmbeddedCollection Collection [No packages detected] (#555) Tim Posney commented: I tried with you midi-settings and with both of the items and had no problem with the expiry. I am aware that in 0.8.x the race condition for applying effects causes the active effect to be created on the local client but does not get committed to the database, which means when you try and remove it you get the "key does not exist in embedded collection". Normally this happens if you are apply 2 effects from the same item, but it is possible that the stacking of the infernal wound could trigger this. There is no good solution in 0.8.x I am afraid. You just have to reload (via ctrl-shift-r) and see what the state is. Once 0.9 is out I'll be able to find any remaining cases (which could well be module errors), but in 0.8.x it is just to unreliable to test. — Reply to this email directly or view it on GitLab. You're receiving this email because of your account on gitlab.com. If you'd like to receive fewer emails, you can unsubscribe from this thread or adjust your notification settings.
tposney commented 3 years ago

Just to make certain it is the issue I think it is, can you post the console error message (bring up the developer console via F12) and copy the error text.

tposney commented 3 years ago

In GitLab by @soffici94 on Oct 8, 2021, 02:30

Uncaught (in promise) Error: The key LuzaIWa8rYMjyE3b does not exist in the EmbeddedCollection Collection [No packages detected] at Map.get (/C:/Program%20Files/FoundryVTT/resources/app/common/utils/collection.mjs:106) at ServerDatabaseBackend._deleteEmbeddedDocuments (/C:/Program%20Files/FoundryVTT/resources/app/dist/database/backend/server-backend.mjs:1) at ServerDatabaseBackend.delete (/C:/Program%20Files/FoundryVTT/resources/app/common/abstract/backend.mjs:214) at async Socket.handleEvent (/C:/Program%20Files/FoundryVTT/resources/app/dist/server/sockets.mjs:1)

Inviato da Postahttps://go.microsoft.com/fwlink/?LinkId=550986 per Windows

localhost-1633620566988.log

... Da: Tim Posney (@tposney) Inviato: giovedì 7 ottobre 2021 14:20 A: soffici94@hotmail.it Oggetto: Re: midi-qol | The key does not exist in the EmbeddedCollection Collection [No packages detected] (#555) Tim Posney commented: Just to make certain it is the issue I think it is, can you post the console error message (bring up the developer console via F12) and copy the error text. — Reply to this email directly or view it on GitLab. You're receiving this email because of your account on gitlab.com. If you'd like to receive fewer emails, you can unsubscribe from this thread or adjust your notification settings.