View Issue Details

This bug affects 1 person(s).
 18
IDProjectCategoryView StatusLast Update
09321Bug reportsSurvey editingpublic2016-02-10 21:02
Reportergwj Assigned Toollehar  
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.05+ 
Fixed in Version2.50.x 
Summary09321: Unable to validate the box for relevance expression filter in mail template file attachement form the mail templates section
Description

It is not possible to validate (apply) the dialog box for relevance expression filter in mail template file attachment section form the mail templates section

The box opens when you click the default '1' after attaching a file. it is possible to type text in it but it is never possible to apply changes and validate the content.

Steps To Reproduce

Go to survey properties/email templates the upload a file in invitation, reminder or confirmation section
once uploaded clik on the '1', a box opens then type your expression and click apply.
Nothing appends, no error in the logs, nothing

TagsNo tags attached.
Bug heat18
Complete LimeSurvey version number (& build)Version 2.05+ Build 141020
I will donate to the project if issue is resolvedNo
BrowserFirefox 33.0
Database type & versionMysql 5.1.73
Server OS (if known)Ubuntu 10.04 LTS
Webserver software & version (if known)Apache 2.2.14
PHP Version5.3.2

Relationships

has duplicate 09428 closedsammousa Bug reports Unable to set relevance for attachments in email template 
related to 09861 new Feature requests No atttachment information when sending invitation and reminder emails 

Users monitoring this issue

duvemyster

Activities

duvemyster

duvemyster

2015-02-26 23:59

reporter   ~31723

I am running into the same thing on Build 150211 from Firefox 35.0.1

duvemyster

duvemyster

2015-02-27 00:10

reporter   ~31724

And I'm also running into this behavior from Google Chrome Version 40 and from IE Version 11.

DenisChenu

DenisChenu

2015-02-27 10:17

developer   ~31727

No js or PHP to manage it :)

duvemyster

duvemyster

2015-09-20 23:19

reporter   ~33124

Is there currently a way to effect attachment relevance directly in the database?

duvemyster

duvemyster

2015-12-16 22:35

reporter   ~34024

Any ideas for a workaround on this beyond creating a separate copy of the survey for each differing attachment relevance scenario?

DenisChenu

DenisChenu

2016-01-21 09:13

developer   ~34304

@duvemyster : you can set it in SQL DB directly , it's a lack of GUI here.

duvemyster

duvemyster

2016-01-21 18:14

reporter   ~34325

Thanks Denis. I located that field and can confirm that it works as intended in changing the 1 to a 0, thought I haven't been successful in replacing it with a relevance equation that works.

@sammousa, let me know if I can be of any help in testing your work in progress on this.

DenisChenu

DenisChenu

2016-01-21 18:32

developer   ~34327

@duvemyster : did you try a simple equation with { and } ?

duvemyster

duvemyster

2016-01-21 18:55

reporter   ~34329

Dennis, what should be the correct syntax for this?
s:9:"relevance";s:1:{(ATTRIBUTE_1 == 'text')};

duvemyster

duvemyster

2016-01-21 19:15

reporter   ~34330

When using quotes, lengths longer than 1 character don't display in the invitation email attachment list.

In other words, the following will display in the attachment list for an invitation email, with the "A" popping up in the relevance window:
s:9:"relevance";s:1:"A";
(which has the same effect as s:9:"relevance";s:1:"0";)

But this won't display in the list of the attachments:
s:9:"relevance";s:1:"AA";
nor will
s:9:"relevance";s:1:"{(ATTRIBUTE_1 == 'text')}";

c_schmitz

c_schmitz

2016-01-22 09:01

administrator   ~34338

Is this still a issue in 2.06?

DenisChenu

DenisChenu

2016-01-22 09:14

developer   ~34340

Yes : there are no PHP or JS done to validation.

There are a "OK" buton : but

  • No event is done when close/click
  • No PHP to save value in any model/controllers
ollehar

ollehar

2016-02-09 14:03

administrator   ~34792

Fixed, but it's not tested if the relevance equation is evaluated when sending e-mails.

c_schmitz

c_schmitz

2016-02-10 21:02

administrator   ~34846

2.5 Build 160210 released

Issue History

Date Modified Username Field Change
2014-10-21 23:10 gwj New Issue
2015-02-26 23:59 duvemyster Note Added: 31723
2015-02-26 23:59 duvemyster Issue Monitored: duvemyster
2015-02-27 00:10 duvemyster Note Added: 31724
2015-02-27 10:15 DenisChenu Assigned To => sammousa
2015-02-27 10:15 DenisChenu Status new => assigned
2015-02-27 10:15 DenisChenu Relationship added has duplicate 09428
2015-02-27 10:17 DenisChenu Note Added: 31727
2015-09-11 12:32 DenisChenu Relationship added related to 09861
2015-09-20 23:19 duvemyster Note Added: 33124
2015-12-16 22:35 duvemyster Note Added: 34024
2016-01-20 10:58 sammousa Assigned To sammousa =>
2016-01-21 09:12 DenisChenu Status assigned => new
2016-01-21 09:13 DenisChenu Note Added: 34304
2016-01-21 18:14 duvemyster Note Added: 34325
2016-01-21 18:32 DenisChenu Note Added: 34327
2016-01-21 18:55 duvemyster Note Added: 34329
2016-01-21 19:15 duvemyster Note Added: 34330
2016-01-22 09:01 c_schmitz Note Added: 34338
2016-01-22 09:14 DenisChenu Note Added: 34340
2016-02-09 14:03 ollehar Note Added: 34792
2016-02-09 14:03 ollehar Status new => resolved
2016-02-09 14:03 ollehar Fixed in Version => 2.5
2016-02-09 14:03 ollehar Resolution open => fixed
2016-02-09 14:03 ollehar Assigned To => ollehar
2016-02-10 21:02 c_schmitz Note Added: 34846
2016-02-10 21:02 c_schmitz Status resolved => closed
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing
2021-08-02 17:18 guest Bug heat 14 => 18