Drasil icon indicating copy to clipboard operation
Drasil copied to clipboard

RefBy fields can contain references to themselves

Open bmaclach opened this issue 5 years ago • 2 comments

If an IM references itself, it will show up in the RefBy field for that IM, which seems unnecessary. The first IM in SSP is an example: image

(The self-reference isn't visible in the screenshot, it happens in the derivation)

bmaclach avatar Apr 17 '19 20:04 bmaclach

@bmaclach, I agree that the self reference should not appear in the RefBy field. I had a look at this particular reference of this IM to itself. If we had to, we could delete it. The purpose of the reference is for the convenience of the reader, especially since the derivation is (necessarily) so long. I would like to keep the ability for a IM to reference itself, for the purposes of clear documentation.

smiths avatar Apr 17 '19 21:04 smiths

We should be able to filter out self-references easily enough. I'm going to have some real coding to do this summer!

JacquesCarette avatar Apr 19 '19 02:04 JacquesCarette

I'm marking this as 'blocked' (on #2873) because the path to finding when things reference themselves is unclear right now. It might be best to do this ticket after #2873 is resolved because a part of #2873's proposed solution is that each chunk contains a list of all chunks it references (depends) on (by UID).

balacij avatar Apr 26 '23 04:04 balacij