Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some RefBy fields have duplicate references #1206

Closed
bmaclach opened this issue Apr 16, 2019 · 8 comments
Closed

Some RefBy fields have duplicate references #1206

bmaclach opened this issue Apr 16, 2019 · 8 comments
Labels
newcomers Good first issue to work on! verify-fixed When an issue seems fixed, but someone needs to check

Comments

@bmaclach
Copy link
Collaborator

I noticed while updating SSP that sometimes Refby fields list the same references multiple times:
image

In this case, the listed IMs each reference this GD multiple times in their definitions, and these duplicate references are not being filtered out any time before rendering the RefBy field.

@bmaclach bmaclach added the bug label Apr 16, 2019
@bmaclach bmaclach changed the title Some RefBy fields have duplicate constraints Some RefBy fields have duplicate references Apr 16, 2019
@JacquesCarette
Copy link
Owner

Yep, must be a nub missing somewhere. I'll likely start digging into the code again in May.

@smiths
Copy link
Collaborator

smiths commented Apr 17, 2019

Good catch @bmaclach.

@Awurama-N
Copy link
Contributor

@JacquesCarette please could you elaborate a bit on what you meant by a missing nub somewhere? so i could look in the right places to fix this bug.

@JacquesCarette
Copy link
Owner

nub is a standard Haskell function which removes duplicate elements from a list.

@hrzhuang
Copy link
Collaborator

hrzhuang commented May 8, 2023

I am not seeing this duplication in the SSP SRS. I think this has been resolved at some point?

@JacquesCarette
Copy link
Owner

It quite likely has. It would still be worth looking if it is accidentally fixed or if someone put in a call to nub somewhere appropriate.

@JacquesCarette JacquesCarette added verify-fixed When an issue seems fixed, but someone needs to check and removed bug labels May 8, 2023
@hrzhuang
Copy link
Collaborator

hrzhuang commented May 8, 2023

I found the fix for this in 5adb76b. The commit message, the fact that nub was added, and the changes to stable all check out. I think we can close this issue.

@balacij
Copy link
Collaborator

balacij commented May 9, 2023

Nice, thank you @hrzhuang. We can re-open this if we find another case.

@balacij balacij closed this as completed May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
newcomers Good first issue to work on! verify-fixed When an issue seems fixed, but someone needs to check
Projects
None yet
Development

No branches or pull requests

6 participants