Skip to main content
Completed

Improvement SF validation "Domain is not in use"

Related products:Software Factory

Dennis van Leeuwen
Hero

The SF came up with the validation message "Domain is not used". After deleting the domain I found out that some functionalities were giving an error message because the domain was using in a declare.  

To have the validation perform a code search on the domain name is probably very difficult (because a domain name in a code template can be anything) but feel free to make it so if possible. 

I would at least suggest that the validation Description, Consequence or Solution text be expanded to alert a developer that performing a code search on this domain name is a required action before deleting the domain. 

The developer can then determine to keep the domain or to replace the declared domain with another domain or data type. 

 

Did this topic help you find an answer to your question?

3 replies

Jeroen van den Belt
Administrator
Forum|alt.badge.img+9

Hi @Dennis van Leeuwen,

For performance reasons, we opt to not inspect the code during the validation of the model. However, we do agree that expanding the solution text is beneficial. Therefore, we adjusted all the “not used” validations. In this example, the new solution in the 2023.1 text will be:

Assess if the domain is still relevant. Optionally, perform a code search to check if it is being used in custom code. If this is the case, decide if this message should be approved. Delete the domain when it is no longer relevant.


Jeroen van den Belt
Administrator
Forum|alt.badge.img+9
NewNext release

Jeroen van den Belt
Administrator
Forum|alt.badge.img+9
Next releaseCompleted

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings