Unable to create project from custom template with trashed custom fields (500 Internal Server Error)

XMLWordPrintable

    • 1
    • Severity 3 - Minor

      Issue Summary

      Customers are unable to create a new project/space from a custom project template when that template project contains one or more trashed (deleted) custom fields. The project creation request fails with a generic 500 Internal Server Error, and the customer-facing UI shows a non-descriptive "We couldn't create the space" error.

      Steps to Reproduce

      Step 1: As a site admin, trash (soft-delete) one or more global custom fields that are configured/used on an existing project which is set up as a custom template.

      Step 2: Attempt to create a new project using that custom template (via UI "Create Project" flow)

      Expected Results

      The project should be created successfully. Ideally, the trashed field(s) should either be silently skipped/omitted from the new project, or the customer should get a clear, actionable error message telling them which field(s) are causing the failure and why.

      Actual Results

      Project creation fails outright with a generic 500 Internal Server Error. End users only see:

       

      We couldn't create the space
      Wait a few moments and try again. If it's still not working, contact support.
      
      

       

      No indication is given that a trashed custom field on the template is the cause.

      Workaround

      Temporarily untrash the affected global custom field(s), create the project from the custom template, then re-trash the field(s) again.

       

              Assignee:
              Unassigned
              Reporter:
              Rahul
              Votes:
              3 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: