bigbluebutton-api-php icon indicating copy to clipboard operation
bigbluebutton-api-php copied to clipboard

Error "Node no longer exists" when calling getParticipants() in a Meeting

Open davidrojo opened this issue 4 years ago • 1 comments

When calling getParticipants() of a meeting, there is an error in Attendee constructor because $xml->customdata->children() fails if customdata doesn't exists.

Warning: BigBlueButton\Core\Attendee::__construct(): Node no longer exists

davidrojo avatar Apr 13 '20 14:04 davidrojo

@davidrojo Thank you for finding this.

The customdata might exist

https://github.com/bigbluebutton/bigbluebutton/blob/41f19a2cd1bc7dae76cbd805cdc3ddfbf1e6ab18/bigbluebutton-web/src/main/webapp/WEB-INF/freemarker/get-meeting-info.ftlx#L39-L45

I think the check you put is good.

GhaziTriki avatar Apr 19 '20 12:04 GhaziTriki

Fixed in https://github.com/bigbluebutton/bigbluebutton-api-php/commit/e9624dfa2a59c26dbcc867763d8b3e9192ec871e

GhaziTriki avatar Apr 20 '24 15:04 GhaziTriki