•  
      request #42597 Error raised without a message
    Infos
    #42597
    Aurélien Tisné (atisne)
    2025-04-17 14:20
    2025-04-07 17:48
    44273
    Details
    Error raised without a message

    In the plugin openidconnectclient, when username generator fails to generate a username, it raises an error but without a message. So, we have an empty error in the log file. This is not helpful to investigate issues.

    if (! isset($user_information['given_name']) && ! isset($user_information['family_name'])) {
        throw new NotEnoughDataToGenerateUsernameException();
    }
    
    Authentication & LDAP
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    Closed
    2025-04-17
    Attachments
    Empty
    References
    Referencing request #42597