Skip to content

Weird bug regarding setting up a phase (certain dates are locked) #1793

Closed

Description

@seroy123

Hi Codabench team!

I have a weird bug where I cant modify the end date of a phase. It seems picking an end date during March is locked:

Thanks!
Roy.

Image

Activity

  1. Didayolo commented on Mar 26, 2025

    @Didayolo
    Member

    I could more or less reproduce this by playing with the dates. I think you can just exit the interface and come back and it should be fine.

  2. seroy123 commented on Mar 26, 2025

    @seroy123
    Author

    Thanks for the quick response!

    I tried closing the interface and playing with the dates but no luck. Can you try and pinpoint what solved it for you?

  3. ihsaan-ullah commented on Mar 26, 2025

    @ihsaan-ullah
    Collaborator
    • Are you able to select a date when you click edit phase and directly select a date in the calendar?
    • Are you blocked after you select a date and then want to select another date?
  4. seroy123 commented on Mar 26, 2025

    @seroy123
    Author

    From the main competition page, I go edit -> Phases -> Edit Phase (i have two phases, i select the first one, which i want to edit) -> Click on the End Date and the calendar is locked as in the image above.

    The start date is fine though... I just cant alter the End date which in turn prevents me checking the second phase which starts after the first one. I cant change the end date to yesterday or today so i can check the second phase.

    Thanks!!
    Roy.

  5. ihsaan-ullah commented on Mar 28, 2025

    @ihsaan-ullah
    Collaborator

    I checked this issue a bit more and it looks like when you already have an end date in a phase, the calendar is locked before that date.

  6. ihsaan-ullah commented on Mar 28, 2025

    @ihsaan-ullah
    Collaborator

    @seroy123 is this a critical point for you? What date do you want to select for your phase and which phase is it. Can you share the competition link with us? If your competition is private, you can send us details on [email protected]

  7. hzxie commented on Mar 29, 2025

    @hzxie

    Actually, the bug you mentioned is a different one (which I haven't reported). This issue can be manually fixed by clearing the current date by deleting the content in the textbox.

    It’s unrelated to dates in other phases—I believe it’s just a frontend bug on the webpage.

  8. Didayolo commented on Apr 23, 2025

    @Didayolo
    Member

    Encountered this bug too. Couldn't we simply have no locked dates?

  9. Didayolo commented on May 15, 2025

    @Didayolo
    Member

    I think the problem lies somewhere here:

    // Create a new options object for the start date calendar by combining 'date_options'

  10. self-assigned this
    on May 15, 2025
  11. linked a pull request that will close this issuePhase end date - calendar fixed #1852on May 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions