Tuleap 16 est là ! Assistez à l'événement virtuel le 17 octobre à 10h30. Inscrivez-vous ici !

    •  
      request #39344 DatabaseUUIDFactory::buildUUIDFromHexadecimalString should return an Option<UUID>
    Infos
    #39344
    Thomas Gerbet (tgerbet)
    2024-08-27 09:52
    2024-08-26 17:01
    40956
    Details
    DatabaseUUIDFactory::buildUUIDFromHexadecimalString should return an Option<UUID>

    DatabaseUUIDFactory::buildUUIDFromHexadecimalString is going to be used on "untrusted" input and throwing an exception when something not valid is given to it is probably not the best course of action. It is likely that the exception will not be catched most of the times and in most of the situations it should probably be handled in the same way than when the item is not found (i.e. not a 500)

    Other
    Empty
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Thomas Gerbet (tgerbet)
    Closed
    2024-08-27
    Attachments
    Empty
    References

    Follow-ups