Fix: Use TargetClass if exists
Current behavior of the form-generator only uses the application profile id, which is wrong for validation, if a targetClass is present.
coscine/issues#1826
Hinweis: Beginnend mit dem nächsten Release (GitLab 17.7) wird OpenSSL 3 verwendet. Alle TLS-Verbindungen erfordern TLS 1.2 oder höher. Schwächere Chiffren werden nicht mehr unterstützt. Die Verschlüsselung muss mindestens eine Sicherheit von 112 Bit aufweisen. // Starting with the next release (GitLab 17.7), OpenSSL 3 will be used. All TLS connections require TLS 1.2 or higher. Weaker ciphers are no longer supported. Encryption must have at least of 112 bits of security. https://docs.gitlab.com/ee/update/versions/gitlab_17_changes.html#1770
Current behavior of the form-generator only uses the application profile id, which is wrong for validation, if a targetClass is present.
coscine/issues#1826