G-Node / G-Node/GCA-Web

Unclear behavior of "contains" method for Java collections

Open
#86 0 comments 0 reactions 0 assignees View on GitHub
code quality low priority
Dominant language
JavaScript
Stars
5
Forks
12
PR merge metrics
No merged PRs in 30d

Description

On the service layer when validating whether a many-to-one property "contains" some object it's unclear what is the logic stands behind this operation. As a result it fails sometimes.

like
'conference.owners.contains(account)'
works with account freshly requested from the database by ID, but not for some other instances of the same account (see line 177 ConferenceService)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.