- 🇬🇧United Kingdom aaron.ferris
I can't reproduce this on the 2.x branch. Please can you retest? (appreciate this is old).
The method isActive()
of the entity Synonym
seems to always return TRUE
, even if the synonym was not active.
This is due to the fact that the result of $this->get('status')->value
is a string, and "1"
as well as "0"
both evaluate to TRUE
.
Have an inactive synonym, load it programmatically and check the return value of the method isActive()
.
Maybe convert the value into an integer first.
Active
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I can't reproduce this on the 2.x branch. Please can you retest? (appreciate this is old).