Skip to content

Fix the OpenKM Issue (#389)

46adfdd
Select commit
Loading
Failed to load commit list.
Merged

fix: merge 3.6.2 to release 3.8.1 #419

Fix the OpenKM Issue (#389)
46adfdd
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed May 21, 2026 in 1m 3s

Quality Gate failed

Annotations

Check warning on line 189 in src/main/java/com/iemr/common/service/kmfilemanager/KMFileManagerServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This block of commented-out lines of code should be removed.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZ5JtZRkDgMflhM0iaNG&open=AZ5JtZRkDgMflhM0iaNG&pullRequest=419

Check warning on line 173 in src/main/java/com/iemr/common/service/videocall/VideoCallServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Immediately return this expression instead of assigning it to the temporary variable "fileName".

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZ5JtZKgDgMflhM0iaMd&open=AZ5JtZKgDgMflhM0iaMd&pullRequest=419

Check warning on line 82 in src/main/java/com/iemr/common/service/beneficiary/IEMRSearchUserServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this duplicated import.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZ5JtZI5DgMflhM0iaMa&open=AZ5JtZI5DgMflhM0iaMa&pullRequest=419

Check warning on line 190 in src/main/java/com/iemr/common/service/videocall/VideoCallServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZ5JtZKgDgMflhM0iaMh&open=AZ5JtZKgDgMflhM0iaMh&pullRequest=419

Check warning on line 157 in src/main/java/com/iemr/common/service/cti/CTIServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This block of commented-out lines of code should be removed.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZ5JtZOBDgMflhM0iaMy&open=AZ5JtZOBDgMflhM0iaMy&pullRequest=419

Check failure on line 86 in src/main/java/com/iemr/common/service/users/AshaSupervisorLoginService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "userId" 3 times.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZ5JtZMZDgMflhM0iaMr&open=AZ5JtZMZDgMflhM0iaMr&pullRequest=419

Check warning on line 27 in src/main/java/com/iemr/common/service/beneficiary/IdentityBeneficiaryServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this duplicated import.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZ5JtZHwDgMflhM0iaMV&open=AZ5JtZHwDgMflhM0iaMV&pullRequest=419

Check failure on line 76 in src/main/java/com/iemr/common/service/users/AshaSupervisorLoginService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "facilityId" 4 times.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZ5JtZMZDgMflhM0iaMt&open=AZ5JtZMZDgMflhM0iaMt&pullRequest=419

Check warning on line 564 in src/main/java/com/iemr/common/service/cti/CTIServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This block of commented-out lines of code should be removed.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZ5JtZOBDgMflhM0iaM_&open=AZ5JtZOBDgMflhM0iaM_&pullRequest=419

Check warning on line 342 in src/main/java/com/iemr/common/controller/users/IEMRAdminController.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use a primitive boolean expression here.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZ5JtZUoDgMflhM0iaNQ&open=AZ5JtZUoDgMflhM0iaNQ&pullRequest=419

Check warning on line 615 in src/main/java/com/iemr/common/service/cti/CTIServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This block of commented-out lines of code should be removed.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZ5JtZOBDgMflhM0iaNB&open=AZ5JtZOBDgMflhM0iaNB&pullRequest=419

Check failure on line 78 in src/main/java/com/iemr/common/service/users/AshaSupervisorLoginService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "facilityType" 4 times.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZ5JtZMZDgMflhM0iaMp&open=AZ5JtZMZDgMflhM0iaMp&pullRequest=419

Check warning on line 173 in src/main/java/com/iemr/common/service/videocall/VideoCallServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this hard-coded path-delimiter.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZ5JtZKgDgMflhM0iaMk&open=AZ5JtZKgDgMflhM0iaMk&pullRequest=419

Check failure on line 226 in src/main/java/com/iemr/common/utils/JwtUserIdValidationFilter.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "/video-consultation/resolve" 3 times.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZ5JtZYjDgMflhM0iaNa&open=AZ5JtZYjDgMflhM0iaNa&pullRequest=419

Check warning on line 273 in src/main/java/com/iemr/common/service/cti/CTIServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This block of commented-out lines of code should be removed.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZ5JtZOBDgMflhM0iaM2&open=AZ5JtZOBDgMflhM0iaM2&pullRequest=419

Check failure on line 87 in src/main/java/com/iemr/common/service/users/AshaSupervisorLoginService.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "fullName" 3 times.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZ5JtZMZDgMflhM0iaMv&open=AZ5JtZMZDgMflhM0iaMv&pullRequest=419

Check failure on line 68 in src/main/java/com/iemr/common/controller/videocall/VideoCallController.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "error" 4 times.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZ5JtZVrDgMflhM0iaNV&open=AZ5JtZVrDgMflhM0iaNV&pullRequest=419

Check warning on line 1104 in src/main/java/com/iemr/common/service/cti/CTIServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This block of commented-out lines of code should be removed.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZ5JtZOBDgMflhM0iaNF&open=AZ5JtZOBDgMflhM0iaNF&pullRequest=419

Check warning on line 472 in src/main/java/com/iemr/common/service/cti/CTIServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This block of commented-out lines of code should be removed.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZ5JtZOBDgMflhM0iaM8&open=AZ5JtZOBDgMflhM0iaM8&pullRequest=419

Check warning on line 504 in src/main/java/com/iemr/common/service/cti/CTIServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This block of commented-out lines of code should be removed.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZ5JtZOBDgMflhM0iaM9&open=AZ5JtZOBDgMflhM0iaM9&pullRequest=419

Check failure on line 394 in src/main/java/com/iemr/common/controller/users/IEMRAdminController.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 22 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZ5JtZUoDgMflhM0iaNU&open=AZ5JtZUoDgMflhM0iaNU&pullRequest=419

Check warning on line 368 in src/main/java/com/iemr/common/service/cti/CTIServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This block of commented-out lines of code should be removed.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZ5JtZOBDgMflhM0iaM5&open=AZ5JtZOBDgMflhM0iaM5&pullRequest=419

Check warning on line 118 in src/main/java/com/iemr/common/service/videocall/VideoCallServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZ5JtZKgDgMflhM0iaMf&open=AZ5JtZKgDgMflhM0iaMf&pullRequest=419

Check warning on line 209 in src/main/java/com/iemr/common/service/dynamicForm/FormMasterServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this usage of 'Stream.collect(Collectors.toList())' with 'Stream.toList()' and ensure that the list is unmodified.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZ5JtZGADgMflhM0iaMT&open=AZ5JtZGADgMflhM0iaMT&pullRequest=419

Check warning on line 194 in src/main/java/com/iemr/common/service/videocall/VideoCallServiceImpl.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

See more on https://sonarcloud.io/project/issues?id=PSMRI_Common-API&issues=AZ5JtZKgDgMflhM0iaMi&open=AZ5JtZKgDgMflhM0iaMi&pullRequest=419