Closed (duplicate)
Project:
Flag Lists
Version:
4.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Aug 2021 at 21:07 UTC
Updated:
8 Nov 2022 at 09:26 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
bachbach commentedhere is a patch as a workarround
bug is a flag_collection doesnot have a related_flag
have to figure out why and how ...
Comment #3
sl27257Hi,
thanks for the report!
I have seen the same error lately, during my work on #3200737: make the related_flag id unique. In these cases it has always been because I have had bugs in the implementation of the update from the old naming scheme to the new one.
So it would be good if you could figure out what originally caused the mismatch? Your fix of course work as a remedy to the error message you get. But I think there must not be a missing related flag in the first place what so ever.
Comment #4
sl27257BTW: I always check the different table for what is found in these. Do you have the possibility to do that? It would be interesting to know if the following match:
and
In the second case you will get more records but the end part of the name must match the records from the first. Also look out for NULL in the queries.
Comment #5
sl27257Comment #6
sl27257Mark this as a duplicate of #3266427: Call to a member function id() on null in line 24 of modules/contrib/flag_lists/src/Access/FlaggingCollectionAccessControlHandler.php