Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Unexpected relation created and not removed after disconnecting #273
When implementing our HREF-Lang implementation some unexpected results occurred on a page which was linked but the link was removed.
It seems that a relation-to-self is being added whenever a relation is created.
Steps to Reproduce
What I Expected
When no relations exist, no entries to be found in the table.
What Happened Instead
An entry always remains after once creating a relation on an object.
while I understand that the entry is not needed anymore, and it has been fixed for the v3 release already, what exactly is the problem with this? You should not be checking the database (results) directly, but use the API, for example the
Can you show me (an outline of) what you are doing exactly, so I better understand the direct implications?
We noticed that, after removing the link between two posts, the hreflang link of (only) the original post was still present. (When debugging this, we took a look in the database directly.)