Skip to content

Submissions under a form with scheduled end date cannot be modified after reaching the end date #2669

@jamesmacwhite

Description

@jamesmacwhite

Describe the bug

This is possibly by design, but when you set a scheduled end date on a form, if this is reached and you try and save/edit an existing submission you get an submission can't be saved error from the Craft back-end CP.

I would potentially understand creating new submissions, but I'm not sure blocking saving existing submissions is expected/intended, particularly in the back-end CP side.

I can see the reason if you exposed the submission data on a front end, but I feel the schedule setting is mainly around submissions being able to be created, not edited.

Steps to reproduce

  1. Create a form with a scheduled end date
  2. Create a submission while the form is active
  3. Set the scheduled end date to something in the past
  4. Attempt to modify an existing submission
  5. Craft error submission can't be saved

Form settings

  • Multi-page form: No
  • Submission Method: N/A
  • Client-side Validation: N/A
  • Custom Form Templates: N/A

Craft CMS version

5.8.21

Plugin version

3.1.6

Multi-site?

No

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions