View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
18276 | Bug reports | Survey taking | public | 2022-07-26 15:45 | 2022-07-28 10:38 |
Reporter | tpartner | Assigned To | ollehar | ||
Priority | none | Severity | crash | ||
Status | closed | Resolution | reopened | ||
Product Version | 5.3.x | ||||
Summary | 18276: Changed HTML in arrays destroys JavaScript and CSS. | ||||
Description | Changing the HTML table header elements in array questions from <th> to <td> renders MANY JavaScript workarounds and custom styles useless. Why was this HTML changed in a minor version update? This was apparently done to fix issue 18243 but for some reason I am denied access to that issue. | ||||
Steps To Reproduce | Steps to reproduce(Replace this text with detailed step-by-step instructions on how to reproduce the issue) Expected result(Write here what you expected to happen) Actual result(Write here what happened instead) | ||||
Tags | No tags attached. | ||||
Bug heat | 20 | ||||
Complete LimeSurvey version number (& build) | 5.3.27 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | n/a | ||||
Database type & version | libmysql - mysqlnd 5.0.12-dev | ||||
Server OS (if known) | Windows 10 | ||||
Webserver software & version (if known) | Apache/2.4.39 (Win64) | ||||
PHP Version | 7.3.7 | ||||
Have fun arguing with @DenisChenu about that...... |
|
HTML cannot be arbitrarily changed in minor version updates. If it's a problem it should have waited until 6.x. |
|
Thanks tpartner for bug reporting and thus transferring my forum post to the bug reports. |
|
@tpartner Can't you rely on classes and ids instead of tags? |
|
Yes, sure if I re-write everything! |
|
...and to be clear, this is not about me, it's about anyone who has used the th selector in JS, CSS, custom question themes. The fact that we already have a report in the forum a day after release is telling. |
|
Sure sure. Let's see what Denis says. |
|
Before arguing with anyone, I would like to know the reasoning behind this change. |
|
Only Denis can answer that.
No. |
|
I think it needs to be reverted and then discussed. |
|
It's to fix «18243: ARIA Attribute role on Array question not correct.» Yes it broke API for SurveyTheme … We have same issue here : https://bugs.limesurvey.org/view.php?id=18211 18211: List (Radio) questions columns not in one (ul) tag. Solution ? |
|
Ehm, if you knew it, why didn't you put it in dev branch? |
|
Please read https://bugs.limesurvey.org/view.php?id=18243 history … This one broke HTML validity and was not in dev branch https://github.com/LimeSurvey/LimeSurvey/pull/2504 My fault : don't put the alert sooner or clearer, you're right. Sorry for this. |
|
Is it going to be reverted? |
|
Discord : |
|
Isn't Carsten on vacation for two weeks? |
|
Hm, Carsten reported the fixed issue as "blocking", no idea why. Maybe we had a customer with problems. So reverting it would block that person again, I guess. |
|
I was just fixing specifically what reported on the issue. Thanks |
|
I'll have to continue this tomorrow. Let's see then. |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=33683 |
|
Pushed a revert, will release after github actions is green. |
|
Thanks @ollehar. |
|
Fixed in Release 5.3.28+220727 |
|
Please test the latest release, @tpartner. |
|
@ollehar, tested - all good. Thanks. |
|
LimeSurvey: master 167f2d46 2022-07-27 13:27 Details Diff |
Fixed issue 18276: Changed HTML in arrays causing issues with JavaScript and CSS. Revert "Fixed issue 18243: ARIA Attribute role on Array question not correct. (#2512)" This reverts commit d820a52b72ddbb5abadd7b007ff65ee0e2d0d9d7. |
Affected Issues 18243, 18276 |
|
mod - application/views/survey/questions/answer/arrays/10point/answer.twig | Diff File | ||
mod - application/views/survey/questions/answer/arrays/10point/rows/answer_row.twig | Diff File | ||
mod - application/views/survey/questions/answer/arrays/10point/rows/cells/answer_td_input.twig | Diff File | ||
mod - application/views/survey/questions/answer/arrays/5point/answer.twig | Diff File | ||
mod - application/views/survey/questions/answer/arrays/5point/rows/answer_row.twig | Diff File | ||
mod - application/views/survey/questions/answer/arrays/5point/rows/cells/answer_td_input.twig | Diff File | ||
mod - application/views/survey/questions/answer/arrays/array/dropdown/answer.twig | Diff File | ||
mod - application/views/survey/questions/answer/arrays/array/dropdown/rows/answer_row.twig | Diff File | ||
mod - application/views/survey/questions/answer/arrays/array/no_dropdown/answer.twig | Diff File | ||
mod - application/views/survey/questions/answer/arrays/array/no_dropdown/rows/answer_row.twig | Diff File | ||
mod - application/views/survey/questions/answer/arrays/array/no_dropdown/rows/cells/answer_td.twig | Diff File | ||
mod - application/views/survey/questions/answer/arrays/column/answer.twig | Diff File | ||
mod - application/views/survey/questions/answer/arrays/dualscale/answer.twig | Diff File | ||
mod - application/views/survey/questions/answer/arrays/dualscale/answer_dropdown.twig | Diff File | ||
mod - application/views/survey/questions/answer/arrays/dualscale/answer_header.twig | Diff File | ||
mod - application/views/survey/questions/answer/arrays/increasesamedecrease/answer.twig | Diff File | ||
mod - application/views/survey/questions/answer/arrays/increasesamedecrease/rows/answer_row.twig | Diff File | ||
mod - application/views/survey/questions/answer/arrays/increasesamedecrease/rows/cells/thead.twig | Diff File | ||
mod - application/views/survey/questions/answer/arrays/multiflexi/answer.twig | Diff File | ||
mod - application/views/survey/questions/answer/arrays/multiflexi/rows/answer_row.twig | Diff File | ||
mod - application/views/survey/questions/answer/arrays/multiflexi/rows/cells/answer_td.twig | Diff File | ||
mod - application/views/survey/questions/answer/arrays/multiflexi/rows/cells/answer_td_checkboxes.twig | Diff File | ||
mod - application/views/survey/questions/answer/arrays/multiflexi/rows/repeat_header.twig | Diff File | ||
mod - application/views/survey/questions/answer/arrays/texts/answer.twig | Diff File | ||
mod - application/views/survey/questions/answer/arrays/texts/rows/answer_row.twig | Diff File | ||
mod - application/views/survey/questions/answer/arrays/texts/rows/cells/answer_td.twig | Diff File | ||
mod - application/views/survey/questions/answer/arrays/texts/rows/cells/thead.twig | Diff File | ||
mod - application/views/survey/questions/answer/arrays/texts/rows/repeat_header.twig | Diff File | ||
mod - application/views/survey/questions/answer/arrays/yesnouncertain/answer.twig | Diff File | ||
mod - application/views/survey/questions/answer/arrays/yesnouncertain/rows/answer_row.twig | Diff File | ||
mod - application/views/survey/questions/answer/arrays/yesnouncertain/rows/cells/thead.twig | Diff File | ||
mod - application/views/survey/questions/answer/global/table/cell/head_header.twig | Diff File | ||
mod - assets/packages/template-core/template-core.css | Diff File | ||
mod - themes/survey/fruity/css/noTablesGeneral.css | Diff File | ||
mod - themes/survey/vanilla/css/noTablesOnMobile.css | Diff File | ||
mod - themes/survey/vanilla/css/theme.css | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-07-26 15:45 | tpartner | New Issue | |
2022-07-26 15:49 | ollehar | Note Added: 71142 | |
2022-07-26 15:49 | ollehar | Bug heat | 0 => 2 |
2022-07-26 15:52 | tpartner | Note Added: 71143 | |
2022-07-26 15:52 | tpartner | Bug heat | 2 => 4 |
2022-07-26 15:56 | guest | Bug heat | 4 => 10 |
2022-07-26 15:58 | ecoplan | Note Added: 71144 | |
2022-07-26 15:58 | ecoplan | Bug heat | 10 => 12 |
2022-07-26 15:59 | ollehar | Note Added: 71145 | |
2022-07-26 16:04 | tpartner | Note Added: 71146 | |
2022-07-26 16:05 | tpartner | Note Added: 71147 | |
2022-07-26 16:07 | tpartner | Note Edited: 71147 | |
2022-07-26 16:13 | ollehar | Note Added: 71148 | |
2022-07-26 16:18 | jelo | Note Added: 71149 | |
2022-07-26 16:18 | jelo | Bug heat | 12 => 14 |
2022-07-26 16:20 | ollehar | Note Added: 71150 | |
2022-07-26 16:21 | tpartner | Note Added: 71151 | |
2022-07-26 16:44 | DenisChenu | Note Added: 71152 | |
2022-07-26 16:44 | DenisChenu | Bug heat | 14 => 16 |
2022-07-26 16:53 | ollehar | Note Added: 71153 | |
2022-07-26 16:58 | DenisChenu | Note Added: 71154 | |
2022-07-26 17:12 | tpartner | Note Added: 71155 | |
2022-07-26 17:33 | DenisChenu | Note Added: 71156 | |
2022-07-26 17:45 | jelo | Note Added: 71157 | |
2022-07-26 17:52 | ollehar | Note Added: 71158 | |
2022-07-26 18:03 | gabrieljenik | Note Added: 71160 | |
2022-07-26 18:03 | gabrieljenik | Bug heat | 16 => 18 |
2022-07-26 18:03 | gabrieljenik | Status | new => confirmed |
2022-07-26 18:05 | ollehar | Note Added: 71161 | |
2022-07-27 11:28 | ollehar | Changeset attached | => LimeSurvey master 167f2d46 |
2022-07-27 11:28 | ollehar | Note Added: 71166 | |
2022-07-27 11:28 | ollehar | Assigned To | => ollehar |
2022-07-27 11:28 | ollehar | Resolution | open => fixed |
2022-07-27 11:28 | ollehar | Note Added: 71168 | |
2022-07-27 11:46 | tpartner | Note Added: 71169 | |
2022-07-27 11:48 | LimeBot | Note Added: 71170 | |
2022-07-27 11:48 | LimeBot | Status | confirmed => closed |
2022-07-27 11:48 | LimeBot | Bug heat | 18 => 20 |
2022-07-27 11:49 | ollehar | Note Added: 71175 | |
2022-07-27 12:53 | ollehar | Status | closed => new |
2022-07-27 12:53 | ollehar | Resolution | fixed => reopened |
2022-07-27 12:53 | ollehar | Status | new => closed |
2022-07-27 13:12 | tpartner | Note Added: 71177 | |
2022-07-28 10:35 | DenisChenu | Status | closed => feedback |
2022-07-28 10:38 | DenisChenu | Status | feedback => closed |
2022-07-28 10:38 | DenisChenu | Note Added: 71218 |