Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Sub question codes must be unique

  • baxterdmutt
  • baxterdmutt's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 months 1 week ago #250422 by baxterdmutt
Sub question codes must be unique was created by baxterdmutt
LimeSurvey version: 6.2.6
My Own server
==================
When adding questions to an Array (Text) after 2 question I can’t save. I keep getting the error “subquestion codes must be unique”. But they are. 
All three codes in the Y-Scale are different from each other. 
Both codes in the X-Scale are different from each other and I’ve tried both the same and different from the Y-Scale. 

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 months 1 week ago #250426 by holch
Replied by holch on topic Sub question codes must be unique
Just tried this with 6.1.8+230717 and all works fine. No issues. Will try to do an update and see if I can reproduce this in 6.2.6. Let's see if this is a bug that has been newly introduced or if this is an issue on your side and go from there.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 months 1 week ago #250427 by holch
Replied by holch on topic Sub question codes must be unique
OK, this will have to wait, as my Comfort Update Key has expired and I will need to get a new one. Maybe tomorrow.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

  • baxterdmutt
  • baxterdmutt's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 months 1 week ago - 7 months 1 week ago #250463 by baxterdmutt
Replied by baxterdmutt on topic Sub question codes must be unique
Please let me know what you find out.
When creating an Array(Text) question this happens.
Both the x and y start with “SQ001”
I can save it like that and it works.
i then try to add a couple more in the X portion of the array.
It still works.
I might be able to add another Y portion but after 3 it fails. If I remove one of the new Ys it still fails. I can remove all but the first of the X and Y. It still fails.
I need to remove all and then add one back but i can no longer use SQ001. Ill need to use a code thats never been used.
Last edit: 7 months 1 week ago by baxterdmutt.

Please Log in to join the conversation.

  • baxterdmutt
  • baxterdmutt's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 months 1 week ago #250466 by baxterdmutt
Replied by baxterdmutt on topic Sub question codes must be unique
I never had these issues on the previous versions before 6.
Now i can’t set conditions on any questions after the 9th one in a group.
I’ve renumbered them a couple times and done at least one data integrity check.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 months 1 week ago #250470 by Joffm
Replied by Joffm on topic Sub question codes must be unique
Hi,

Both the x and y start with “SQ001”
I can save it like that and it works.
i then try to add a couple more in the X portion of the array.
It still works.
I might be able to add another Y portion but after 3 it fails. If I remove one of the new Ys it still fails. I can remove all but the first of the X and Y. It still fails.
I need to remove all and then add one back but i can no longer use SQ001. Ill need to use a code thats never been used.

This is reproducable.

But it seems to work of you use different codes.
You see, I prefer to code the y-axis "Y001", "Y002",..., the x-axis "X001", "X002",...

Nevertheless you should file a bug report.
[url] community.limesurvey.org/bug-tracker/ [/url]

Now i can’t set conditions on any questions after the 9th one in a group.

This seems to be a different question.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • baxterdmutt
  • baxterdmutt's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 months 1 week ago #250487 by baxterdmutt
Replied by baxterdmutt on topic Sub question codes must be unique
Thanks. Bug report has been submitted. The other problem is resolved. It was my error.
The following user(s) said Thank You: holch, tpartner

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose