View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
18700Bug reportsImport/Exportpublic2026-09-28 17:25
Reportergabrieljenik Assigned Toc_schmitz  
PrioritynoneSeverityminor 
Status closedResolutionfixed 
Product Version5.4.x 
Summary18700: Whe importing, translatelinks is used even though the option has not been checked
Description

There are times when translatelinks is used even though the option has not been checked.
Maybe it's intentional, Maybe not.

The checkbox label is "Copy survey resource files and adapt links" label. (2 actions related - copy resources and translate)

Question is, should the translate happen when checkbox is not clicked?
If yes, then when not copying resources and applying translation, lot of broken links would appear.
If no, then when not copying resources, we would be accpeting/validating to have a survey accessing recources from other survey.

Additional Information

Caught while reviewing 18612

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)5.4.15+221212
I will donate to the project if issue is resolvedNo
Browser
Database type & versionmariadb 10.5.16
Server OS (if known)Linux Gentoo
Webserver software & version (if known)
PHP Version7.4.33
Git branch / Pull Request URL

Relationships

related to 18612 closedtibor.pacalat When surveys are copied without copying resources, links are not handled. 

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2026-09-24 19:35

administrator   ~85987

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=40542

c_schmitz

c_schmitz

2026-09-25 00:10

administrator   ~85996

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=40558

c_schmitz

c_schmitz

2026-09-25 00:13

administrator   ~85997

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=40559

LimeBot

LimeBot

2026-09-28 17:25

administrator   ~86062

Fixed in Release 7.4.0+260928

Related Changesets

LimeSurvey: master 84ff1102

2026-09-24 19:33

c_schmitz


Details Diff
Fixed issue 18700: When importing, translatelinks is used even though the option has not been checked Affected Issues
18700
mod - application/helpers/admin/import_helper.php Diff File
mod - application/models/services/CopyQuestion.php Diff File
mod - tests/unit/helpers/ImportTest.php Diff File

LimeSurvey: master 6364f95f

2026-09-25 00:10

c_schmitz


Details Diff
Fixed issue 18700: When importing, translatelinks is used even though the option has not been checked
Dev Fixed failing test
Affected Issues
18700
mod - tests/unit/helpers/ImportTest.php Diff File
mod - vendor/composer/autoload_classmap.php Diff File
mod - vendor/composer/autoload_namespaces.php Diff File
mod - vendor/composer/autoload_psr4.php Diff File
mod - vendor/composer/autoload_static.php Diff File
mod - vendor/composer/installed.php Diff File

LimeSurvey: master e9deadbf

2026-09-25 00:13

c_schmitz


Details Diff
Fixed issue 18700: Undefined array key when importing a question without the translinkfields option Affected Issues
18700
mod - application/helpers/admin/import_helper.php Diff File

Issue History

Date Modified Username Field Change
2023-03-23 20:31 gabrieljenik New Issue
2023-03-23 20:31 gabrieljenik Issue generated from: 18612
2023-03-23 20:31 gabrieljenik Relationship added related to 18612
2023-03-23 20:35 gabrieljenik Additional Information Updated
2023-03-23 22:09 gabrieljenik Description Updated
2023-03-23 22:29 gabrieljenik Status new => confirmed
2026-09-24 19:35 c_schmitz Changeset attached => LimeSurvey master 84ff1102
2026-09-24 19:35 c_schmitz Note Added: 85987
2026-09-24 19:35 c_schmitz Assigned To => c_schmitz
2026-09-24 19:35 c_schmitz Status confirmed => resolved
2026-09-24 19:35 c_schmitz Resolution open => fixed
2026-09-24 19:35 c_schmitz Bug heat 0 => 2
2026-09-25 00:10 c_schmitz Changeset attached => LimeSurvey master 6364f95f
2026-09-25 00:10 c_schmitz Note Added: 85996
2026-09-25 00:13 c_schmitz Changeset attached => LimeSurvey master e9deadbf
2026-09-25 00:13 c_schmitz Note Added: 85997
2026-09-28 17:25 LimeBot Note Added: 86062
2026-09-28 17:25 LimeBot Status resolved => closed
2026-09-28 17:25 LimeBot Bug heat 2 => 4