Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

THEMA: Problem with {TOKEN} values

Problem with {TOKEN} values 1 Jahr 8 Monate her #89043

  • Loco
  • Locos Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 7
  • Karma: 0
Hi,

I have a weird probleme here.

Using latest release (Version 2.00+ Build 121121) with closed survey and multiple token uses.

So here is what happens:

In invitation and reminder email passing {FIRSTNAME}, {LASTNAME} and {USESLEFT} values works perfectly (bit it won't pass value of {TOKEN:FIRSTNAME}, {TOKEN:LASTNAME}, {TOKEN:USESLEFT).

But in basic admin notification, advanced admin notification and confirmation emails values are only passed if I use {TOKEN:FIRSTNAME} and {TOKEN:LASTNAME}. Value {TOKEN:USESLEFT} doesn't work at all, neither does {USESLEFT} (big problem for me).

Also, passing values of {TOKEN:FIRSTNAME} and {TOKEN:LASTNAME} in question group description work normally, but I cannot get {TOKNEN:USESLEFT}, nor {USESLEFT} values. even bigger problem for me.


So, my question is, is this a bug or I'm just very dumb and missing something.
Thanks
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Problem with {TOKEN} values 1 Jahr 8 Monate her #89047

  • Loco
  • Locos Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 7
  • Karma: 0
is there any way arround this? maybe some javascript reading token table and USESLEFT value directly, bypassing Expression Manager or something?
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Problem with {TOKEN} values 1 Jahr 8 Monate her #89100

  • tomscher
  • tomschers Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 22
  • Dank erhalten: 5
  • Karma: 2
Does the bug occur if you are using the INSERTANS function?
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Problem with {TOKEN} values 1 Jahr 8 Monate her #89107

  • Loco
  • Locos Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 7
  • Karma: 0
INSERTANS works fine.

Also, I have noticed that when I open suvey in limesurvey administration sometimes TOKEN:ATTRIBUTE_CPDB_1 is marked as undefined variable (red rectangle and letters) although it works fine in survey, and TOKEN:USESLEFT is marked with normal brown letters (but never works in survey - marked as undefined variable).

sometimes it is other way arround with this two variables.

TOKEN:FIRSTNAME and TOKEN:LASTNAME are always marked properly and work fine.
Letzte Änderung: 1 Jahr 8 Monate her von Loco.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Problem with {TOKEN} values 1 Jahr 8 Monate her #89119

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6228
  • Dank erhalten: 793
  • Karma: 238
Loco schrieb:
but I cannot get {TOKNEN:USESLEFT}, nor {USESLEFT} values
This work in 1.92, please fill a bug report.

(with a lss file and a csv tokens file).

Denis
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Problem with {TOKEN} values 1 Jahr 8 Monate her #89122

  • Loco
  • Locos Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 7
  • Karma: 0
Thanks
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Problem with {TOKEN} values 1 Jahr 8 Monate her #89128

  • Loco
  • Locos Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 7
  • Karma: 0
DenisChenu schrieb:
This work in 1.92

I can confirm that it works perfectly in 1.92. Just tried it. Thanks again.
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Problem with {TOKEN} values 1 Jahr 8 Monate her #89136

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6228
  • Dank erhalten: 793
  • Karma: 238
Loco schrieb:
DenisChenu schrieb:
This work in 1.92

I can confirm that it works perfectly in 1.92.
DenisChenu schrieb:
please fill a bug report.
And leave the link of the bug report here (with the number).

Denis
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Problem with {TOKEN} values 1 Jahr 8 Monate her #89206

  • Loco
  • Locos Avatar
  • OFFLINE
  • Fresh Lemon
  • Beiträge: 7
  • Karma: 0
DenisChenu schrieb:
And leave the link of the bug report here (with the number)

bugs.limesurvey.org/view.php?id=6966
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.145 Sekunden
Donation Image