-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
padUpdate missing padId #5814
Comments
Cannot reproduce. In your example the "db" key is missing and also the "id" field.
|
Do you use padUpdate hook in a public plugin so we can take a look at the code? As seen above it should be |
Hi, thank you for the swift response. Thanks for the info that the db key was missing too, as this pointed me in the right direction. I am indeed using a public plugin, namely ep_redis_publisher, which explains why "db" is missing. The events are then read in by BigBlueButton's pads manager with context.pad.id already missing at that point. As you couldn't reproduce it, it's most likely not an Etherpad issue. Sorry for the spam and appreciate your time. |
I believe the issue is that the Pad class has its own etherpad-lite/src/node/db/Pad.js Line 123 in 13330c4
|
Introduced in 79e7697 |
True. Id and db are deleted. But it seems like that was also dropped before with a blacklist. |
Describe the bug
The
padUpdate
hook does not appear to include thepad.id
attribute as it did in 1.8.17.Sample:
Expected behavior
The hook should provide the
padId
in the pad object so that it is possible to know which pad was modified.Server (please complete the following information):
node --version
): v16.20.0npm --version
): 8.19.4Additional context
Pad was created via the HTTP API. It may be related to the open issues/PR surrounding the
appendRevision
method. I tried the suggested fix but it did not resolve this issue.The text was updated successfully, but these errors were encountered: