Open tcarmelveilleux opened 2 years ago
@tcarmelveilleux Note that after https://github.com/project-chip/connectedhomeip/commit/e5e09f5c00 Leave event is no longer generated because ACLs are removed first and then generating a report fails with UNSUPPORTED_ACCESS
error. I onced fixed it by moving this part to operational-credentials-server.cpp
to have a better control over the order of the operation (see https://github.com/project-chip/connectedhomeip/pull/18434), but maybe we should do the other way around. The point is to execute all the actions in a single listener because otherwise it's very easy to break things by changing order of initialization of certain components.
https://github.com/project-chip/connectedhomeip/issues/21012 tracks the ordering issue there.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
We now generate Leave
events in FabricWillBeRemoved
, which is a notification from the fabric table. So any fabric removal that the fabric table knows about will generate the event.
@tcarmelveilleux Are you worried about fabric removals directly from storage, bypassing the fabric table?
Problem
The Basic Info cluster Leave event is required to be generated when a fabric is removed. It is not certain this is generated in every instance of fabric removal.
Proposed Solution