View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
18612 | Bug reports | Import/Export | public | 2023-01-31 20:22 | 2023-05-05 17:57 |
Reporter | gabrieljenik | Assigned To | tibor.pacalat | ||
Priority | none | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Product Version | 5.4.x | ||||
Summary | 18612: When surveys are copied without copying resources, links are not handled. | ||||
Description | When copying a survey WITH copying resources, links are translated by Then, they end up pointing to an old survey and usually without being noticeable. | ||||
Steps To Reproduce |
Expected:
Actual:
| ||||
Tags | No tags attached. | ||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | 5.4.15+221212 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | |||||
Database type & version | mariadb 10.5.16 | ||||
Server OS (if known) | Linux Gentoo | ||||
Webserver software & version (if known) | |||||
PHP Version | 7.4.33 | ||||
I think we could reuse the same mechanism that translateLinks uses for informing if there are links to the source surveys. |
|
I agree. |
|
@gabrieljenik I tested this in 5.x and I could reproduce this issue only with links in welcome message, links in questions were correctly translated and not shown. With the fix: |
|
Yes, makes sense. I notice there are some unfullfilled expectations, as I guess you expected the link to be translated (so did I at a first glance). Thanks |
|
Merged. |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=34616 |
|
Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=34615 |
|
LimeSurvey: master e979de0a 2023-05-05 19:51 Gabriel Jenik Committer: GitHub Details Diff |
Fixed issue 18612: When surveys are copied without copying resources links are not handled (#3009) * Fixed issue 18612: When surveys are copied without copying resources, links are not handled * Fixed issue 18612: When surveys are copied without copying resources links are not handled Unit tests for checkOldLinks function added. --------- Co-authored-by: lapiudevgit <devgit@lapiu.biz> |
Affected Issues 18612 |
|
mod - application/helpers/admin/import_helper.php | Diff File | ||
mod - application/helpers/common_helper.php | Diff File | ||
add - tests/unit/helpers/CheckOldLinksTest.php | Diff File | ||
LimeSurvey: master e979de0a 2023-05-05 19:51 Gabriel Jenik Committer: GitHub Details Diff |
Fixed issue 18612: When surveys are copied without copying resources links are not handled (#3009) * Fixed issue 18612: When surveys are copied without copying resources, links are not handled * Fixed issue 18612: When surveys are copied without copying resources links are not handled Unit tests for checkOldLinks function added. --------- Co-authored-by: lapiudevgit <devgit@lapiu.biz> |
Affected Issues 18612 |
|
mod - application/helpers/admin/import_helper.php | Diff File | ||
mod - application/helpers/common_helper.php | Diff File | ||
add - tests/unit/helpers/CheckOldLinksTest.php | Diff File |
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 |
2023-04-25 15:54 | gabrieljenik | Assigned To | => tibor.pacalat |
2023-04-25 15:54 | gabrieljenik | Status | ready for testing => ready for merge |
2023-05-04 17:00 | tibor.pacalat | Note Added: 74823 | |
2023-05-04 17:00 | tibor.pacalat | File Added: Screenshot 2023-05-04 at 16.52.59.png | |
2023-05-04 17:00 | tibor.pacalat | File Added: Screenshot 2023-05-04 at 16.55.15.png | |
2023-05-04 17:00 | tibor.pacalat | Bug heat | 4 => 6 |
2023-05-04 19:17 | gabrieljenik | Note Added: 74826 | |
2023-05-05 17:51 | tibor.pacalat | Status | ready for merge => closed |
2023-05-05 17:51 | tibor.pacalat | Resolution | open => fixed |
2023-05-05 17:51 | tibor.pacalat | Note Added: 74865 | |
2023-05-05 17:57 | Changeset attached | => LimeSurvey master e979de0a | |
2023-05-05 17:57 | Changeset attached | => LimeSurvey master e979de0a | |
2023-05-05 17:57 | guest | Note Added: 74870 | |
2023-05-05 17:57 | guest | Note Added: 74871 | |
2023-05-05 17:57 | guest | Bug heat | 6 => 8 |
2023-05-05 17:57 | guest | Bug heat | 6 => 8 |