View Issue Details

This bug affects 1 person(s).
IDProjectCategoryView StatusLast Update
18612Bug reportsImport/Exportpublic2023-03-26 15:20
Reportergabrieljenik Assigned To 
Status ready for testingResolutionopen 
Product Version5.4.x 
Summary18612: When surveys are copied without copying resources, links are not handled.

When copying a survey WITH copying resources, links are translated by translateLinks().
When copying a survey WITHOUT copying attachments, links are not handled at all.

Then, they end up pointing to an old survey and usually without being noticeable.

Steps To Reproduce
  • Create a survey with a file embedded on the welcome page
  • Copy the survey without copying attachments.


  • After copying, a warning shall be shown saying there are links pointing to other surveys.
  • Old file shouldn't be shown on the welcome page


  • No warning is shown.
  • Old file is being shown
TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)5.4.15+221212
I will donate to the project if issue is resolvedNo
Database type & versionmariadb 10.5.16
Server OS (if known)Linux Gentoo
Webserver software & version (if known)
PHP Version7.4.33


related to 18700 confirmed Whe importing, translatelinks is used even though the option has not been checked 
related to 18701 confirmed When surveys are copied copying resources, some links are not handled. 

Users monitoring this issue

User List There are no users monitoring this issue.




2023-01-31 20:23

manager   ~73623

I think we could reuse the same mechanism that translateLinks uses for informing if there are links to the source surveys.



2023-02-09 13:45

administrator   ~73775

I agree.



2023-03-23 20:37

manager   ~74255

Issue History

Date Modified Username Field Change
2023-01-31 20:22 gabrieljenik New Issue
2023-01-31 20:22 gabrieljenik Issue generated from: 18602
2023-01-31 20:23 gabrieljenik Note Added: 73623
2023-01-31 20:23 gabrieljenik Bug heat 0 => 2
2023-02-03 12:42 gabrieljenik Status new => confirmed
2023-02-09 13:45 c_schmitz Note Added: 73775
2023-02-09 13:45 c_schmitz Bug heat 2 => 4
2023-02-16 16:30 gabrieljenik Assigned To => gabrieljenik
2023-02-16 16:30 gabrieljenik Status confirmed => assigned
2023-03-23 20:31 gabrieljenik Issue cloned: 18700
2023-03-23 20:31 gabrieljenik Relationship added related to 18700
2023-03-23 20:34 gabrieljenik Issue cloned: 18701
2023-03-23 20:34 gabrieljenik Relationship added related to 18701
2023-03-23 20:37 gabrieljenik Assigned To gabrieljenik => DenisChenu
2023-03-23 20:37 gabrieljenik Status assigned => ready for code review
2023-03-23 20:37 gabrieljenik Note Added: 74255
2023-03-26 15:20 DenisChenu Assigned To DenisChenu =>
2023-03-26 15:20 DenisChenu Status ready for code review => ready for testing