View Issue Details

This bug affects 2 person(s).
 18
IDProjectCategoryView StatusLast Update
18696Bug reports_ Unknownpublic2023-04-25 14:49
ReporterEinkauf.ZIT Assigned ToDenisChenu  
PrioritynoneSeverityblock 
Status closedResolutionfixed 
Product Version5.6.x 
Fixed in Version5.6.x 
Summary18696: Survey titles too short when I want to copy a survey
Description

Hello!
I cannot find the correct survey to copy, because there is no ID (would be great as a prefix in the list) and the title is too short.
So if there are a lot of titles with the same beginning, I cannot find the correct survey to copy.

I cannot start another important survey yet!!!

Kind regards,

Klaus

Steps To Reproduce

Steps to reproduce

NEW SURVEY -> COPY -> check list of surveys to choose the survey to copy

Expected result

List: (ID) Full title of survey

Actual result

List: Shorted title of survey

TagsNo tags attached.
Attached Files
hc_001.jpg (905,755 bytes)
Bug heat18
Complete LimeSurvey version number (& build)5.6.9+230306
I will donate to the project if issue is resolvedNo
BrowserEvery browser
Database type & version10.5.18-MariaDB-0+deb11u1-log / mysqlnd 8.1.12
Server OS (if known)Linux 5.10.0-21-amd64 x86_64
Webserver software & version (if known)Apache/2.4.54 (Debian)
PHP Version8.1.12

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2023-03-20 10:40

developer   ~74194

I cannot find the correct survey to copy, because there is no ID (would be great as a prefix in the list) and the title is too short.

Adding surveyid at start is the best things to do.
[sid] Survey name

Needed

Einkauf.ZIT

Einkauf.ZIT

2023-03-20 10:46

reporter   ~74195

@DenisChenu: yes, but only in the view for Administrators, not for the public or survey members.
So, it should be changed in the list of the survey to choose for copy.

DenisChenu

DenisChenu

2023-03-20 10:53

developer   ~74196

But currently really need whole string …

ollehar

ollehar

2023-03-20 11:17

administrator   ~74198

You already picked this up, Denis?

DenisChenu

DenisChenu

2023-03-20 11:18

developer   ~74199

I just confirm : seems it's set to me when confirm ?

I have some idea else (and already replace Survey list in my plugins)

Like you want.

DenisChenu

DenisChenu

2023-03-20 11:19

developer   ~74200

not for the public or survey members

Yes, not the same list here, thenk : no issue.

ollehar

ollehar

2023-03-20 11:19

administrator   ~74201

Last edited: 2023-03-20 11:19

List should be select2 and not "normal" select? Easy enough?

DenisChenu

DenisChenu

2023-03-20 11:24

developer   ~74204

Last edited: 2023-03-20 11:25

List should be select2 and not "normal" select? Easy enough?

No : limit is done in PHP

I just test with https://gitlab.com/SondagesPro/coreAndTools/select2ForAdmin

And clearly surveyid is NEEDED : Title is used for public : then you can have same survey name for different people.

gabrieljenik

gabrieljenik

2023-03-23 22:03

manager   ~74260

I can take this?

DenisChenu

DenisChenu

2023-03-24 07:59

developer   ~74268

I really don't understand how assignment is done.

When i take it i have remark about picked …

DenisChenu

DenisChenu

2023-03-24 08:00

developer   ~74269

Ps : i already have code for this

I take it

DenisChenu

DenisChenu

2023-03-29 11:50

developer   ~74304

@Einkauf.ZIT : can you test the new system ?

https://github.com/LimeSurvey/LimeSurvey/pull/3012

DenisChenu

DenisChenu

2023-03-31 08:06

developer   ~74321

ping @ollehar : i can not test (i'm devloper) then i assign to nobody.

ollehar

ollehar

2023-03-31 09:47

administrator   ~74325

Right. New QA person starts next week. Is there anyone from forum that can help testing too? Or Discord?

DenisChenu

DenisChenu

2023-03-31 09:48

developer   ~74326

Next month is OK :)

Just have a solution on medium time

DenisChenu

DenisChenu

2023-04-12 09:19

developer   ~74471

For BS5 : https://getbootstrap.com/docs/5.0/forms/form-control/#datalists

DenisChenu

DenisChenu

2023-04-12 15:17

developer   ~74476

https://github.com/LimeSurvey/LimeSurvey/pull/3044

DenisChenu

DenisChenu

2023-04-21 13:40

developer   ~74572

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

DenisChenu

DenisChenu

2023-04-21 16:46

developer   ~74577

@ollehar : needed for 5.X ?

It's a easy fix for 5.X too (since already done for master)

tibor.pacalat

tibor.pacalat

2023-04-21 17:47

administrator   ~74587

I have tested this in 5.x and 6.x and it now has (ID) Full title of survey plus the search field.

DenisChenu

DenisChenu

2023-04-21 18:45

developer   ~74590

Og right have done both !: https://github.com/LimeSurvey/LimeSurvey/pull/3012

Thanks :)

LimeBot

LimeBot

2023-04-24 16:33

administrator   ~74611

Fixed in Release 6.0.3+230424

DenisChenu

DenisChenu

2023-04-25 14:49

developer   ~74630

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

Related Changesets

LimeSurvey: master da574452

2023-04-21 13:29:42

DenisChenu


Committer: GitHub Details Diff
Fixed issue 18696: Survey titles too short when I want to copy a survey (#3044)

* Fixed issue 18696: Survey titles too short when I want to copy a survey
Dev: PHP part

* Dev: JS part using select2-bootstrap
Affected Issues
18696
mod - application/config/packages.php Diff File
mod - application/helpers/common_helper.php Diff File
mod - application/views/surveyAdministration/tabCopy_view.php Diff File
mod - assets/packages/adminbasics/build/adminbasics.js Diff File
mod - assets/packages/adminbasics/build/adminbasics.min.js Diff File
mod - assets/packages/adminbasics/src/adminbasicsmain.js Diff File
mod - assets/packages/adminbasics/src/parts/globalMethods.js Diff File
mod - assets/packages/adminbasics/yarn.lock Diff File

LimeSurvey: 5.x fb8d697f

2023-04-21 17:44:55

DenisChenu


Committer: GitHub Details Diff
Fixed issue 18696: Survey titles too short when I want to copy a survey (#3012)

* Fixed issue 18696: Survey titles too short when I want to copy a survey
Dev: PHP part

* Dev: activate select2 on copysurvey
Dev: adding activate-search class to any select activate select2

* Dev: add package to adminbasics (already included by yiiwheel)
Affected Issues
18696
mod - application/config/packages.php Diff File
mod - application/helpers/common_helper.php Diff File
mod - application/views/surveyAdministration/tabCopy_view.php Diff File
mod - assets/packages/adminbasics/build/adminbasics.css Diff File
mod - assets/packages/adminbasics/build/adminbasics.js Diff File
mod - assets/packages/adminbasics/build/adminbasics.min.css Diff File
mod - assets/packages/adminbasics/build/adminbasics.min.js Diff File
mod - assets/packages/adminbasics/build/adminbasics.rtl.css Diff File
mod - assets/packages/adminbasics/build/adminbasics.rtl.min.css Diff File
mod - assets/packages/adminbasics/src/adminbasicsmain.js Diff File
mod - assets/packages/adminbasics/src/parts/globalMethods.js Diff File

Issue History

Date Modified Username Field Change
2023-03-20 10:23 Einkauf.ZIT New Issue
2023-03-20 10:23 Einkauf.ZIT File Added: hc_001.jpg
2023-03-20 10:40 DenisChenu Note Added: 74194
2023-03-20 10:40 DenisChenu Bug heat 0 => 2
2023-03-20 10:40 guest Bug heat 2 => 8
2023-03-20 10:46 Einkauf.ZIT Note Added: 74195
2023-03-20 10:46 Einkauf.ZIT Bug heat 8 => 10
2023-03-20 10:53 DenisChenu Note Added: 74196
2023-03-20 10:53 DenisChenu Assigned To => DenisChenu
2023-03-20 10:53 DenisChenu Status new => confirmed
2023-03-20 11:17 ollehar Note Added: 74198
2023-03-20 11:17 ollehar Bug heat 10 => 12
2023-03-20 11:18 DenisChenu Note Added: 74199
2023-03-20 11:18 DenisChenu Assigned To DenisChenu =>
2023-03-20 11:19 DenisChenu Note Added: 74200
2023-03-20 11:19 ollehar Note Added: 74201
2023-03-20 11:19 ollehar Note Edited: 74201
2023-03-20 11:24 DenisChenu Note Added: 74204
2023-03-20 11:25 DenisChenu Note Edited: 74204
2023-03-23 22:03 gabrieljenik Note Added: 74260
2023-03-23 22:03 gabrieljenik Bug heat 12 => 14
2023-03-23 22:03 gabrieljenik Assigned To => gabrieljenik
2023-03-23 22:03 gabrieljenik Status confirmed => assigned
2023-03-24 07:59 DenisChenu Note Added: 74268
2023-03-24 08:00 DenisChenu Note Added: 74269
2023-03-24 08:01 DenisChenu Assigned To gabrieljenik => DenisChenu
2023-03-24 10:48 DenisChenu Assigned To DenisChenu => gabrieljenik
2023-03-24 10:48 DenisChenu Status assigned => ready for code review
2023-03-29 10:47 gabrieljenik Assigned To gabrieljenik => DenisChenu
2023-03-29 10:47 gabrieljenik Status ready for code review => ready for testing
2023-03-29 11:50 DenisChenu Note Added: 74304
2023-03-31 08:05 DenisChenu Assigned To DenisChenu =>
2023-03-31 08:06 DenisChenu Note Added: 74321
2023-03-31 09:47 ollehar Note Added: 74325
2023-03-31 09:48 DenisChenu Note Added: 74326
2023-04-12 09:19 DenisChenu Note Added: 74471
2023-04-12 15:17 DenisChenu Note Added: 74476
2023-04-21 13:40 DenisChenu Changeset attached => LimeSurvey master da574452
2023-04-21 13:40 DenisChenu Note Added: 74572
2023-04-21 13:40 DenisChenu Assigned To => DenisChenu
2023-04-21 13:40 DenisChenu Resolution open => fixed
2023-04-21 16:46 DenisChenu Note Added: 74577
2023-04-21 17:47 tibor.pacalat Note Added: 74587
2023-04-21 17:47 tibor.pacalat Bug heat 14 => 16
2023-04-21 18:45 DenisChenu Note Added: 74590
2023-04-21 18:45 DenisChenu Status ready for testing => resolved
2023-04-21 18:45 DenisChenu Fixed in Version => 5.6.x
2023-04-24 16:33 LimeBot Note Added: 74611
2023-04-24 16:33 LimeBot Status resolved => closed
2023-04-24 16:33 LimeBot Bug heat 16 => 18
2023-04-25 14:49 DenisChenu Changeset attached => LimeSurvey 5.x fb8d697f
2023-04-25 14:49 DenisChenu Note Added: 74630