We have a DXA 2.0 (Java) implementation with Link List entities on the home page which have a list of component links linking through to article pages. All works well if the article detail page is published, dynamic linking ensuring that link URL is maintained in the manner you would expect from Tridion.
However, when the article page is unpublished, the link remains in the link list on the home page, but resolves to the home page itself. This should not happen as the article component is no longer actually on any published page.
I am pretty sure this didn´t happen in DXA 1.x so it seems like a bug, as dynamic linking no longer functions correctly. Can anyone shed any light on why this is happening and how it can be fixed?