Skip to content

Can't create form : Unknown column 'allow_edit_submissions' in 'field list' #2954

@wargreen

Description

@wargreen

Please use the 👍 reaction to show that you are affected by the same issue. Please don't comment if you have no relevant information to add!

Describe the bug
Impossible to create a new form after upgrade to NC 31

To Reproduce
Not sure

Expected behavior
No error when creating form

Screenshots
If applicable, add screenshots to help explain your problem.

Nextcloud (please complete the following information):

  • Nextcloud-Version: 31.0.8 / 31.0.9
  • Forms-Version: 5.2.1

Desktop (please complete the following information):

  • OS: Debian SID
  • Browser: firefox
  • Version: 143.0.3 (64 bits)

Browser log

POST https://cloud.*****.**/ocs/v2.php/apps/forms/api/v3/forms 500
<?xml version="1.0"?>
<ocs>
 <meta>
  <status>failure</status>
  <statuscode>996</statuscode>
  <message>Internal Server Error
</message>
 </meta>
 <data/>
</ocs>

** Nextcloud log**

[no app in context] Erreur: An exception occurred while executing a query: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'allow_edit_submissions' in 'field list'
	POST /ocs/v2.php/apps/forms/api/v3/forms

    "message": "An exception occurred while executing a query: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'allow_edit_submissions' in 'field list'",
    "exception": {
      "query": "INSERT INTO `*PREFIX*forms_v2_forms` (`owner_id`, `hash`, `title`, `description`, `access_enum`, `submit_multiple`, `allow_edit_submissions`, `show_expiration`, `expires`, `is_anonymous`, `created`, `last_updated`) VALUES(:dcValue1, :dcValue2, :dcValue3, :dcValue4, :dcValue5, :dcValue6, :dcValue7, :dcValue8, :dcValue9, :dcValue10, :dcValue11, :dcValue12)"
    },

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending approval or rejection. This issue is pending approval.bugSomething isn't workingneeds infoNot enough information provided

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions