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

Custom sample filtering performance and security improvement #11241

Open
wants to merge 1 commit into
base: demo-rfc80-poc
Choose a base branch
from

Conversation

dippindots
Copy link
Member

Fix #11195

Comment on lines +99 to +101
<if test="sampleIdentifier.getUniqueSampleId != null">
#{sampleIdentifier.getUniqueSampleId}
</if>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if adding test at here will break anything. maybe we need to add another '', at here like we did in line 85. Maybe @gblaih can comment on this.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is a case if getUniqueSampleId is null for all customDataSamples, it will break since we cannot do NOT IN (). adding '' will prevent it from breaking, but it may cause unintended issues with the logic i think. is there a case where the custom samples have null studyIds and sampleIds?

@alisman alisman force-pushed the demo-fix-prepared-statements branch from b8bf026 to 871510b Compare December 2, 2024 16:25
@alisman alisman requested a review from gblaih December 2, 2024 18:41
@alisman alisman added the RFC80 label Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants