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

[ALS-6661] Manual Study Breaking on Evaluation #175

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,7 @@ public Response getFENCEProfile(String callback_url, Map<String, String> authReq
throw new NotAuthorizedException("The user details could not be persisted. Please contact the administrator.");
}

if (fence_harmonized_concept_path != null && !fence_harmonized_concept_path.contains("\\\\")) {
fence_harmonized_concept_path = fence_harmonized_concept_path.replaceAll("\\\\", "\\\\\\\\");
logger.debug("Escaped harmonized consent path: {}", fence_harmonized_concept_path);
}


// Update the user's roles (or create them if none exists)
//Set<Role> actual_user_roles = u.getRoles();
Expand Down Expand Up @@ -502,6 +499,10 @@ private Privilege upsertClinicalPrivilege(String studyIdentifier, String project
logger.debug("Escaped consent concept path: {}", consent_concept_path);
}

if (fence_harmonized_concept_path != null && !fence_harmonized_concept_path.contains("\\\\")) {
fence_harmonized_concept_path = fence_harmonized_concept_path.replaceAll("\\\\", "\\\\\\\\");
logger.debug("Escaped harmonized consent path: {}", fence_harmonized_concept_path);
}

String studyIdentifierField = (consent_group != null && !consent_group.isEmpty()) ? studyIdentifier + "." + consent_group : studyIdentifier;
String queryTemplateText = String.format(
Expand Down
Loading