If a project is configured to use a custom quality profile and that profile is deleted, will the next analysis fall back to using the default ‘Sonar way’ profile for that language or with the analysis fail because the custom quality profile cannot be used? Similar question about the project configuration…if the custom quality profile is deleted, when you look at that project’s configuration will it still show the custom quality profile’s name for that language or will it change to the default ‘Sonar way’?
There must always be a default profile for each language. All projects not assigned a specific profile for a language will use the language-default. So yes, in your scenario, after the custom profile is deleted the next analysis will use the default profile (whether that’s still the built-in Sonar way or not )
It depends a bit on where you’re looking. The Project Information tab shows the profiles used at the last analysis, so there you would see the name of the deleted profile until the next analysis. But if you look at the project settings, there won’t be an active profile assignment. If you saw anything, it would be the default. But the current UI doesn’t even show that: