Skip to content

question settings are not reset when changing question types #69

@argonimos

Description

@argonimos

How to use GitHub

  • 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. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Create eg. mutliple choice question or short text question.
  2. Add options to the multiple choice question or input validation for eg. integers to the short text question
  3. Change the question type
  4. Export .fvform file or try to type in answer into changed short text question

Expected behaviour

Only the currently active question info should influence the form

Actual behaviour

Multiple choice options are kept in short text questions if the type is changed to short text. Input validation for short text questions which are changed to multiple choice questions blocks multiple choice inputs even though the settings is no longer visible in the editor (can only be seen by changing the question type back to short text)

Server configuration

Web server: Apache/Nginx

Database: MySQL/Maria/SQLite/PostgreSQL

PHP version: 8.2/8.3/8.4

Nextcloud version: (see Nextcloud admin page)

List of activated apps
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder
Nextcloud configuration
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder

Browser

Browser name: Firefox/Chrome/Safari/…

Browser version: 124/125/…

Operating system: Windows/Ubuntu/Mac/…

Browser log
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending approval or rejectionbugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions