Skip to content

Creating certain sections crashes the database #12484

Description

@dagemcn

Describe the bug
If there is already a section such as 1 or 2, adding a section with the name 01 or 02 crashes the class.
Expected behavior
Either section 01 or 02 should be created as a distinct section or they should not be created.

To Reproduce
Steps to reproduce the behavior:

  1. Log in as instructor
  2. Go to any class with sections
  3. Add section matching any number prefixed with a zero
  4. See error

Configuration

  • OS: [Linux]
  • Browser [Opera]

Screenshots
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Awaiting TriageBrand New Issue - not yet reviewed & prioritized by the Submitty Project Managersbug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions