Fix/entity name validation v2 #27886
Quality Gate passed
Annotations
Check warning on line 246 in src/pages/EditIngestionPage/EditIngestionPage.component.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
This assertion is unnecessary since the receiver accepts the original type of the expression.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ4IPb6kEnaWWDpU0R7_&open=AZ4IPb6kEnaWWDpU0R7_&pullRequest=27886
Check warning on line 134 in src/utils/PipelineDetailsUtils.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
This assertion is unnecessary since the receiver accepts the original type of the expression.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ4IPdidEnaWWDpU0R9I&open=AZ4IPdidEnaWWDpU0R9I&pullRequest=27886
Check warning on line 282 in src/components/Database/Profiler/TableProfiler/SingleColumnProfile.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Do not use Array index in keys
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ34PYmeD6vS1LGSRR-i&open=AZ34PYmeD6vS1LGSRR-i&pullRequest=27886
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Handle this exception or don't catch it at all.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ34PbNuD6vS1LGSRSCH&open=AZ34PbNuD6vS1LGSRSCH&pullRequest=27886
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Prefer `Number.isNaN` over `isNaN`.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ34PaXtD6vS1LGSRSBM&open=AZ34PaXtD6vS1LGSRSBM&pullRequest=27886
Check warning on line 481 in src/components/AuditLog/AuditLogList.component.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Do not use Array index in keys
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ34PfKqD6vS1LGSRSHF&open=AZ34PfKqD6vS1LGSRSHF&pullRequest=27886
Check failure on line 52 in src/components/Auth/AppAuthenticators/BasicAuthAuthenticator.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Prefer `throw error` over `return Promise.reject(error)`.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ34PesDD6vS1LGSRSGY&open=AZ34PesDD6vS1LGSRSGY&pullRequest=27886
Check warning on line 598 in src/components/OntologyExplorer/hooks/useOntologyGraph.ts
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
The empty object is useless.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ34PffpD6vS1LGSRSHl&open=AZ34PffpD6vS1LGSRSHl&pullRequest=27886
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 21 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ34PgsPD6vS1LGSRSJV&open=AZ34PgsPD6vS1LGSRSJV&pullRequest=27886
Check warning on line 116 in src/utils/KnowledgePageUtils.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Handle this exception or don't catch it at all.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ4YUcuWyW6gV9728kW5&open=AZ4YUcuWyW6gV9728kW5&pullRequest=27886
Check warning on line 87 in src/components/common/PopOverCard/EntityPopOverCard.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Handle this exception or don't catch it at all.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ34PakTD6vS1LGSRSBY&open=AZ34PakTD6vS1LGSRSBY&pullRequest=27886
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Move this array "sort" operation to a separate statement or replace it with "toSorted".
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ34Pc66D6vS1LGSRSEV&open=AZ34Pc66D6vS1LGSRSEV&pullRequest=27886
Check warning on line 535 in src/utils/ExploreUtils.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Unexpected negated condition.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ34Pi4MD6vS1LGSRSNj&open=AZ34Pi4MD6vS1LGSRSNj&pullRequest=27886
Check warning on line 885 in src/utils/TasksUtils.ts
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
This assertion is unnecessary since the receiver accepts the original type of the expression.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ4IPcryEnaWWDpU0R8l&open=AZ4IPcryEnaWWDpU0R8l&pullRequest=27886
Check warning on line 475 in src/utils/KnowledgePageUtils.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Move this array "sort" operation to a separate statement or replace it with "toSorted".
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ4YUcuWyW6gV9728kXC&open=AZ4YUcuWyW6gV9728kXC&pullRequest=27886
Check warning on line 472 in src/utils/TaskFormSchemaUtils.ts
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
This assertion is unnecessary since it does not change the type of the expression.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ34Ph2rD6vS1LGSRSLP&open=AZ34Ph2rD6vS1LGSRSLP&pullRequest=27886
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Handle this exception or don't catch it at all.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ34Pb4gD6vS1LGSRSCz&open=AZ34Pb4gD6vS1LGSRSCz&pullRequest=27886
Check warning on line 108 in src/pages/EmbeddedAddServicePage/EmbeddedAddServicePage.component.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
This assertion is unnecessary since the receiver accepts the original type of the expression.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ4YUcmgyW6gV9728kW2&open=AZ4YUcmgyW6gV9728kW2&pullRequest=27886
Check warning on line 252 in src/utils/SchedularUtils.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Prefer `Number.isNaN` over `isNaN`.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ34Piu9D6vS1LGSRSNE&open=AZ34Piu9D6vS1LGSRSNE&pullRequest=27886
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ34Pb3VD6vS1LGSRSCx&open=AZ34Pb3VD6vS1LGSRSCx&pullRequest=27886
Check failure on line 201 in src/components/common/Table/TableV2.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Refactor this code to not nest functions more than 4 levels deep.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ34PZVcD6vS1LGSRR_i&open=AZ34PZVcD6vS1LGSRR_i&pullRequest=27886
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Remove this redundant "undefined".
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ34Pb_qD6vS1LGSRSC6&open=AZ34Pb_qD6vS1LGSRSC6&pullRequest=27886
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
This assertion is unnecessary since the receiver accepts the original type of the expression.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ4YUb64yW6gV9728kWZ&open=AZ4YUb64yW6gV9728kWZ&pullRequest=27886
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
Prefer `return value` over `return Promise.resolve(value)`.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ34PbNuD6vS1LGSRSCJ&open=AZ34PbNuD6vS1LGSRSCJ&pullRequest=27886
Check warning on line 142 in src/utils/DashboardDataModelUtils.tsx
sonarqubecloud / [open-metadata-ui] SonarCloud Code Analysis
This assertion is unnecessary since the receiver accepts the original type of the expression.
See more on https://sonarcloud.io/project/issues?id=open-metadata-ui&issues=AZ4IPdQSEnaWWDpU0R89&open=AZ4IPdQSEnaWWDpU0R89&pullRequest=27886