View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 17379 | Bug reports | Other | public | 2021-06-22 14:47 | 2022-06-03 15:04 |
| Reporter | gabrieljenik | Assigned To | gabrieljenik | ||
| Priority | none | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 4.x.0-dev | ||||
| Summary | 17379: Question types can be uninstalled | ||||
| Description | Ussing the UI, Question Types can be uninstalled. | ||||
| Tags | No tags attached. | ||||
| Bug heat | 6 | ||||
| Complete LimeSurvey version number (& build) | |||||
| I will donate to the project if issue is resolved | |||||
| Browser | |||||
| Database type & version | |||||
| Server OS (if known) | |||||
| Webserver software & version (if known) | |||||
| PHP Version | |||||
| Git branch / Pull Request URL | N/A | ||||
| related to | 17350 | closed | gabrieljenik | Question theme should be a separate database column, not an attribute |
| related to | 17411 | closed | c_schmitz | No difference between Core questiontype and Question theme from core |
|
The answer is no for core/custom question themes, and yes for user question themes. That is, the built-in question themes can only be hidden, but not uninstalled. Because if you uninstall them, there's no way to install them again. |
|
|
PR: https://github.com/LimeSurvey/LimeSurvey/pull/1939 Added an error message when trying to uninstall a question type. |
|
|
? I like to uninstall some core question type if there are no child and ,no existing survey with this question type. If i remind : whole system came with this feature : system with only some used question type … |
|
|
No no no no. If you uninstall it, there's no way to install it again. Just hide it instead. |
|
This is the issue : no ? |
|
|
Why not like Survey theme : you can uninstall Fruity, install it again (but not delete). The only final issue are "What to do when import a lss with not found questiontype". |
|
|
You can hide any question theme, including the core ones. That's good enough for now, I think. |
|
|
OK for Quetsion type. Else : i don't find how to unistall browserdetect (for example) : core QuestionTheme. Ans we must separate
|
|
|
|
|
|
OK : only way seems to be checbox and actuion … I really like to uninstall bootstrap_buttons for example … |
|
|
That is standard, but not core (not a question type). Should be uninstallable. Isn't it through mass actions? |
|
|
No, it should not be uninstallable. :) Nothing that can't be installed again should be possible to uninstall. It's a support ticket waiting to happen. That's the end goal: To avoid support. |
|
|
|
|
@ollehar : screenshot Why you say it can not be installed after unistall ? |
|
|
Even with core … quetsion type Uninstall, reload page, install : it work |
|
|
Please ! Allow uninstall core question :( |
|
|
How did you install it? o0 |
|
|
Ah, shit, I didn't see that on my machine. |
|
|
I think you must uninstall , reload page after : the bottom are not reloaded after uninstall. I can make a screencast if needed |
|
|
Just think the question types are the basic building blocks, and then shouldn't allow to uninstall them |
|
|
My opinion
|
|
|
I'm unsure now. Maybe I'll discuss it in the team. |
|
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=32584 |
|
Hi ho, we decided that "Hide" would be enough for now. You have any good argument against this? Use-case? |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2021-06-22 14:47 | gabrieljenik | New Issue | |
| 2021-06-22 14:47 | gabrieljenik | Issue generated from: 17350 | |
| 2021-06-22 14:47 | gabrieljenik | Relationship added | related to 17350 |
| 2021-06-22 15:23 | ollehar | Note Added: 64974 | |
| 2021-06-22 15:23 | ollehar | Note Edited: 64974 | |
| 2021-06-22 15:28 | gabrieljenik | Assigned To | => gabrieljenik |
| 2021-06-22 15:28 | gabrieljenik | Status | new => assigned |
| 2021-06-22 15:28 | LimeBot | Zoho Projects ID | => 85781000000982001 |
| 2021-06-28 15:58 | gabrieljenik | Note Added: 65128 | |
| 2021-06-28 16:06 | DenisChenu | Note Added: 65129 | |
| 2021-06-28 16:09 | ollehar | Note Added: 65130 | |
| 2021-06-28 16:09 | ollehar | Note Edited: 65130 | |
| 2021-06-28 16:31 | DenisChenu | Note Added: 65131 | |
| 2021-06-28 16:33 | DenisChenu | Note Added: 65132 | |
| 2021-06-28 16:44 | ollehar | Note Added: 65133 | |
| 2021-06-28 17:16 | DenisChenu | Note Added: 65134 | |
| 2021-06-28 17:16 | DenisChenu | Note Added: 65135 | |
| 2021-06-28 17:16 | DenisChenu | File Added: Capture d’écran du 2021-06-28 17-12-55.png | |
| 2021-06-28 17:19 | DenisChenu | Note Added: 65136 | |
| 2021-06-28 17:53 | gabrieljenik | Note Added: 65140 | |
| 2021-06-28 17:59 | ollehar | Note Added: 65141 | |
| 2021-06-28 18:00 | ollehar | Note Edited: 65141 | |
| 2021-06-28 18:02 | ollehar | Note Edited: 65141 | |
| 2021-06-28 18:04 | DenisChenu | Note Added: 65142 | |
| 2021-06-28 18:20 | DenisChenu | Note Added: 65143 | |
| 2021-06-28 18:20 | DenisChenu | File Added: Capture d’écran du 2021-06-28 18-19-58.png | |
| 2021-06-28 18:25 | DenisChenu | Note Added: 65145 | |
| 2021-06-28 18:26 | DenisChenu | Note Added: 65146 | |
| 2021-06-28 18:26 | DenisChenu | File Added: Capture d’écran du 2021-06-28 18-25-35.png | |
| 2021-06-28 18:29 | DenisChenu | Relationship added | related to 17411 |
| 2021-06-28 20:58 | ollehar | Note Added: 65150 | |
| 2021-06-28 20:58 | ollehar | Note Added: 65151 | |
| 2021-06-29 08:46 | DenisChenu | Note Added: 65153 | |
| 2021-06-29 15:46 | gabrieljenik | Note Added: 65161 | |
| 2021-06-29 15:56 | DenisChenu | Note Added: 65162 | |
| 2021-07-01 13:01 | ollehar | Note Added: 65190 | |
| 2021-07-05 17:34 | gabrieljenik | Status | assigned => ready for code review |
| 2021-08-20 10:24 | gabrieljenik | Changeset attached | => LimeSurvey master 45549a23 |
| 2021-08-20 10:24 | gabrieljenik | Note Added: 66089 | |
| 2021-08-20 10:24 | gabrieljenik | Resolution | open => fixed |
| 2021-08-20 10:25 | ollehar | Note Added: 66090 | |
| 2021-08-20 10:25 | ollehar | Status | ready for code review => resolved |
| 2022-06-03 15:04 | c_schmitz | Status | resolved => closed |