dosubot[bot] commented on issue #7931:
URL:
https://github.com/apache/incubator-devlake/issues/7931#issuecomment-2301593179
<!-- Greeting -->
Hey @sanjchhoker! I'm here to help you out with any bugs, questions, or
contributions you have in mind. I'm a bot, but don't worry, I'll do my best to
assist you while we wait for a human maintainer to join the conversation.
<!-- Answer -->
The issue you're encountering is likely due to the `ScopeConfig` method
returning `nil`, which means there is no scope configuration available for
SonarQube. This is a known limitation mentioned in the documentation:
```go
func (p Sonarqube) ScopeConfig() dal.Tabler {
return nil
}
```
To resolve this, you would need to ensure that the
`pluginConfig.scopeConfig` setting is enabled in the code. This setting
controls whether the scope config option appears in the UI:
```tsx
{pluginConfig.scopeConfig && (
<IconButton
icon={<LinkOutlined />}
helptip="Associate Scope Config"
size="small"
type="link"
onClick={() => {
setType('associate');
}}
/>
)}
```
If `pluginConfig.scopeConfig` is not enabled, the scope config option will
not be displayed
<sup>[[1]](https://github.com/apache/incubator-devlake/blob/main/backend/plugins/sonarqube/impl/impl.go)</sup><sup>[[2]](https://github.com/apache/incubator-devlake/blob/main/config-ui/src/plugins/components/scope-config/index.tsx)</sup>.
<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]