Skip to content

Ugly error: Duration cannot be shorter than the sum of all time slices #51

Description

@martyychang

When using /clock slice to add tags to chunks of time, an invalid slice duration will cause an ugly error to be returned to the user.

Insert failed. First exception on row 0; first error: FIELD_CUSTOM_VALIDATION_EXCEPTION, Duration cannot be shorter than the sum of all time slices: [EndTime__c]

Something nicer and potentially easier to understand would make for better UX.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions