Add and delete a Survey question

Moderator: crythias

Locked
mvzeppelin
Znuny newbie
Posts: 3
Joined: 15 Jul 2020, 22:20
Znuny Version: 6.0.26
Real Name: Marcus
Company: SES

Add and delete a Survey question

Post by mvzeppelin »

Hello,

I've installed and configured Survey module 6.0.18 with OTRS 6.0.26.

Then, I added a Survey with some questions and everything worked as expected.

But I have a management problem: I can't add or delete a question on an "existing" Survey.

I can see the Add button when I'm "creating" a Survey for the first time, but there's no option to add or delete a question on an existing Survey. I'm sending an image attached.

So, every time I need to add a question, I have to create another Survey from scratch.

No error occurs in log file.

Is seems like a template issue or something like that, but I don't know how to fix this.

Anyone had ever see the same problem?
You do not have the required permissions to view the files attached to this post.
mvzeppelin
Znuny newbie
Posts: 3
Joined: 15 Jul 2020, 22:20
Znuny Version: 6.0.26
Real Name: Marcus
Company: SES

Re: Add and delete a Survey question

Post by mvzeppelin »

As a workaround to my own issue, I can set a survey back to the New state with this:

UPDATE survey SET status = 'New' WHERE surveynumber = '10001'

Then I can add and delete questions normally on OTRS. After this, I can set the survey status to Master again.

It works, but if anyone has a more properly way to solve, let me know.

Thanks a lot!
skullz
Znuny superhero
Posts: 658
Joined: 24 Feb 2012, 03:58
Znuny Version: LTS and Features
Real Name: Mo Azfar
Location: Kuala Lumpur, MY
Contact:

Re: Add and delete a Survey question

Post by skullz »

Once set to master, you cant edit the survey question..it is too keep the integrity of the DB since survey question , answer is on different table..
My Github
OTRS CE/LTS Discord Channel
Cant Update Package Anymore ? Check This

Professional OTRS, Znuny & OTOBO services: efflux.de/en
Free and premium add-ons: English
wurzel
Znuny guru
Posts: 3273
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Add and delete a Survey question

Post by wurzel »

Hi,

skullz is right. After set to "master" nothing can be changed.
So that you can not cheat and alter your settings afterwards.

On SQL you can do whatever you want, unless you know what you are doing ;-)

Flo
OTRS 2025 SILVER (Prod)
OTRS 2025 auf Debian 12 (Test)
Znuny 7.x latest version testing auf Debian 12

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
mvzeppelin
Znuny newbie
Posts: 3
Joined: 15 Jul 2020, 22:20
Znuny Version: 6.0.26
Real Name: Marcus
Company: SES

[SOLVED] Add and delete a Survey question

Post by mvzeppelin »

Thanks for the explanation!

I was not considering this reason. It makes total sense to me, and I'm gonna use that way now on.

Would be helpful a "Clone" option, to generate a new Survey based on an old one.

Regards!
Locked