Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matrix Question - Displayorder not set correctly #115

Closed
w3devpro opened this issue Mar 22, 2020 · 0 comments
Closed

Matrix Question - Displayorder not set correctly #115

w3devpro opened this issue Mar 22, 2020 · 0 comments

Comments

@w3devpro
Copy link
Member

1. ISSUE/ BUG/ ERROR

a. Expected Behaviour

The order of the rows in a matrixquestion should be the same on the survey contentbuilder, the survey form, the voterreport and any other listing and exports etc.

b. Actual Behaviour

The order in which the rows on the matrix question are presented varies depending on the webpage it is displayed on.

c. Steps to Reproduce Behaviour

  1. Create Matrix question, add multiple rows
  2. Answer and submit the survey and check the answers on the voterreport
  3. The order of the rows will not (always) be consistant.

d. Possible Cause and/or Solution

The displayorder field in the vts_tbquestion table is not set properly in case of matrix questions. The displayorder value of the main (parent) question is copied to the child questions. It can be fixed by correcting the stored procedure for (new) matrixchild questions.

e. Technical Specifications

  • Version of Survey Project: all
  • Type of Device (pc, laptop, tablet, mobile): all
  • Browser Type & Version: all
  • Operating System: all

f. Context (Environment)

In matrix questions where the row order is important because of interrelated voteranswers the relation is lost because the sort order varies and cannot be replicated properly.

@w3devpro w3devpro added this to the SP v. 2.5 Release milestone Mar 22, 2020
@w3devpro w3devpro self-assigned this Mar 22, 2020
@w3devpro w3devpro added this to Committed (sp_25_dev) in SP Development - V. 2.5 Feb 27, 2021
@w3devpro w3devpro moved this from To Do to In Progress in SP v. 2.5 - QA/Testing Project Mar 1, 2021
@w3devpro w3devpro moved this from In Progress to Done in SP v. 2.5 - QA/Testing Project Mar 1, 2021
@w3devpro w3devpro closed this as completed Mar 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

1 participant