Re: [WebDNA] passing a variable in an include - precedence

This WebDNA talk-list message is from

2017


It keeps the original formatting.
numero = 113416
interpreted = N
texte = 1009 --f403045f83f6a619c905490bbc94 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Chris, Hi - that behaviour that you describe is consistent and makes sense. But my problem is when I use insecure text variables to set default values in an include file. I would not expect an insecure text variable to overwrite an incoming include variable. Taking your example but setting the text variable in the include file to insecure =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-test1.dna=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94- [include file=3Dtest2.inc&var1=3D8&var2=3D9&var3=3D23]
main file : [var1] with [var2] with [var3] =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-=E2=80=94=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94-=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94-=E2=80=94=E2=80=94 =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-test2.inc=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94- [text secure=3DF]var3=3D0634[/text] included file : [var1] with [var2] with [var3] =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-=E2=80=94=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94-=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94-=E2=80=94=E2=80=94=E2=80=94 I would think that in this case var3 should not be overwritten. Perhaps I am misunderstanding the relationship between text and include variables. It means that instead of using [text secure=3DF]var3=3D23[/text] to set default values in include files I will have to use [showif [url][var3[/url]=3D[url][raw][var3][/raw][/url]][text]var3=3D23[/te= xt] [/showif] - Tom =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Digital Revolutionaries 1st Floor, Castleriver House 14-15 Parliament Street Temple Bar,Dublin 2 Ireland ---------------------------------------------- [t]: + 353 1 4403907 [e]: [w]: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D On 21 February 2017 at 08:35, wrote: > Hello Tom, there is a behavioral change: here the results of loading > test1.dna on 8.5.1 and 6.2 > > =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-test1.dna=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94- > [include file=3Dtest2.inc&var1=3D8&var2=3D9&var3=3D23] >
> main file : [var1] with [var2] with [var3] > =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-=E2=80=94=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94-=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94-=E2=80=94=E2=80=94 > =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-test2.inc=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94- > [text]var3=3D0634[/text] > > included file : [var1] with [var2] with [var3] > =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-=E2=80=94=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94-=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94-=E2=80=94=E2=80=94=E2=80=94 > > > > on 8.5.1 we get > included file : 8 with 9 with 0634 > main file : [var1] with [var2] with 0634 > > on 6.2 we get > included file : 8 with 9 with 23 > main file : [var1] with [var2] with 0634 > > > However, in test1.dna, we load a file and simultaneously pass three > variable values, and the included file overwrites one of the variables wi= th > another value. It seems consistant to me that the result shows the > overwriting variable, and not the overwritten one. > > So, to me, 8.5.1 is consistant. > > Any opinion about this? > > - chris > > > > > On Feb 20, 2017, at 17:37, Tom Duke wrote: > > > > Hi all, > > > > Ok I have just hit an issue with variables using WebDNA 8.5.1 on CentOS > 7. > > > > Prior to the upgrade calling this include: > > > > [include file=3D/common/includes/smUtility-navlist-bootstrap. > inc&smNAVCLASS=3Dprimary-nav] > > > > and having this in the include file: > > > > [text secure=3DF]smNAVCLASS=3D[/text] > > > > would result in the variable 'smNAVCLASS' being set to 'primary-nav'. > > > > After the upgrade the variable 'smNAVCLASS' being set to '' - i.e. blan= k. > > > > So the line "[text secure=3DF]smNAVCLASS=3D[/text]" is overwriting the > passed in include variable. > > > > Is this the intended behaviour? If so then I have a lot of code to > rewrite. > > > > - Tom > > > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us > --f403045f83f6a619c905490bbc94 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Chris,

Hi - that behaviour that you des= cribe is consistent and makes sense.

But my proble= m is when I use insecure text variables to set default values in an include= file.=C2=A0 I would not expect an insecure text variable to overwrite an i= ncoming include variable.

Taking your example but = setting the text variable in the include file to insecure


=E2=80=94=E2=80= =94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-test1.dna=E2=80=94=E2=80=94=E2=80= =94=E2=80=94=E2=80=94=E2=80=94-
[include file=3Dtest2.inc&var1=3D8&var2=3D9&am= p;var3=3D23]
<br>
main file : [var1] with [var2] with [var3]
=E2=80=94=E2=80= =94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-=E2=80=94=E2=80=94=E2=80=94=E2=80= =94=E2=80=94=E2=80=94-=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80= =94-=E2=80=94=E2=80=94
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-test2.in= c=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-
<= span style=3D"font-size:12.800000190734863px">[text secure=3DF]var3=3D0634[= /text]

=
included file : [var1] = with [var2] with [var3]
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-=E2=80= =94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-=E2=80=94=E2=80=94=E2=80= =94=E2=80=94=E2=80=94=E2=80=94-=E2=80=94=E2=80=94=E2=80=94


I would=C2=A0think that in= this case var3 should not be overwritten.=C2=A0 Perhaps I am misunderstand= ing the relationship between text and include variables.
<= span style=3D"font-size:12.800000190734863px">
It means that instead of=C2=A0using=

[text secure=3DF]var3=3D23[= /text]

to set=C2=A0default values in include files I will have to use

[showif [url][var3[/url]=3D[url][raw][var3][/raw][/url]][text]var3=3D23[/text][/showif]

- Tom


=


<= /div>




=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D
Digital Revolutionaries
1st Floor, Castle= river House
14-15 Parliament Street
Temple Bar,Dublin 2
Ireland----------------------------------------------
[t]: + 353 1 4403907
= [e]: <mailto:tom@revolutionaries.ie>
[w]: <http://www.revolutionaries.ie/>
=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

On 21 February 2017 at 08:35, <christophe.billiottet@webdna.us> wrote:
Hello Tom, there is a behavioral change: here the results o= f loading test1.dna on 8.5.1 and 6.2

=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-test1.dna=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-
[include file=3Dtest2.inc&var1=3D8&var2=3D9&var3=3D23]
<br>
main file : [var1] with [var2] with [var3]
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-=E2=80=94=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94-=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94-=E2=80=94=E2=80=94
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-test2.inc=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-
[text]var3=3D0634[/text]

included file : [var1] with [var2] with [var3]
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-=E2=80=94=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94-=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94-=E2=80=94=E2=80=94=E2=80=94



on 8.5.1 we get
included file : 8 with 9 with 0634
main file : [var1] with [var2] with 0634

on 6.2 we get
included file : 8 with 9 with 23
main file : [var1] with [var2] with 0634


However, in test1.dna, we load a file and simultaneously pass three variabl= e values, and the included file overwrites one of the variables with anothe= r value. It seems consistant to me that the result shows the overwriting va= riable, and not the overwritten one.

So, to me, 8.5.1 is consistant.

Any opinion about this?

- chris



> On Feb 20, 2017, at 17:37, Tom Duke <tom@revolutionaries.ie> wrote:
>
> Hi all,
>
> Ok I have just hit an issue with variables using WebDNA 8.5.1 on CentO= S 7.
>
> Prior to the upgrade calling this include:
>
> [include file=3D/common/includes/smUtility-navlist-bootstrap.inc&smNAVCLASS=3Dprimary-nav]
>
> and having this in the include file:
>
> [text secure=3DF]smNAVCLASS=3D[/text]
>
> would result in the variable 'smNAVCLASS' being set to 'pr= imary-nav'.
>
> After the upgrade the variable 'smNAVCLASS' being set to '= ' - i.e. blank.
>
> So the line "[text secure=3DF]smNAVCLASS=3D[/text]" is overw= riting the passed in include variable.
>
> Is this the intended behaviour?=C2=A0 If so then I have a lot of code = to rewrite.
>
> - Tom



-----------------------= ----------------------------------
This message is sent to you because you are subscribed to
the mailing list <talk@webdna.us&g= t;.
To unsubscribe, E-mail to: <talk= -leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting:
support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us --f403045f83f6a619c905490bbc94-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] passing a variable in an include - precedence (christophe.billiottet@webdna.us 2017)
  2. Re: [WebDNA] passing a variable in an include - precedence (christophe.billiottet@webdna.us 2017)
  3. Re: [WebDNA] passing a variable in an include - precedence (Tom Duke 2017)
  4. Re: [WebDNA] passing a variable in an include - precedence (Stuart Tremain 2017)
  5. Re: [WebDNA] passing a variable in an include - precedence (Donovan Brooke 2017)
  6. Re: [WebDNA] passing a variable in an include - precedence (Tom Duke 2017)
  7. Re: [WebDNA] passing a variable in an include - precedence (christophe.billiottet@webdna.us 2017)
  8. Re: [WebDNA] passing a variable in an include - precedence (Tom Duke 2017)
  9. Re: [WebDNA] passing a variable in an include - precedence ("Matthew A Perosi, Psi Prime" 2015)
  10. Re: [WebDNA] passing a variable in an include - precedence (Donovan Brooke 2015)
  11. Re: [WebDNA] passing a variable in an include - precedence ("Matthew A Perosi, Psi Prime" 2015)
  12. Re: [WebDNA] passing a variable in an include - precedence (Donovan Brooke 2015)
  13. Re: [WebDNA] passing a variable in an include - precedence (Matthew Perosi 2015)
  14. Re: [WebDNA] passing a variable in an include - precedence (Kenneth Grome 2015)
  15. [WebDNA] passing a variable in an include - precedence (christophe.billiottet@webdna.us 2015)
1009 --f403045f83f6a619c905490bbc94 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Chris, Hi - that behaviour that you describe is consistent and makes sense. But my problem is when I use insecure text variables to set default values in an include file. I would not expect an insecure text variable to overwrite an incoming include variable. Taking your example but setting the text variable in the include file to insecure =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-test1.dna=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94- [include file=3Dtest2.inc&var1=3D8&var2=3D9&var3=3D23]
main file : [var1] with [var2] with [var3] =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-=E2=80=94=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94-=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94-=E2=80=94=E2=80=94 =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-test2.inc=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94- [text secure=3DF]var3=3D0634[/text] included file : [var1] with [var2] with [var3] =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-=E2=80=94=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94-=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94-=E2=80=94=E2=80=94=E2=80=94 I would think that in this case var3 should not be overwritten. Perhaps I am misunderstanding the relationship between text and include variables. It means that instead of using [text secure=3DF]var3=3D23[/text] to set default values in include files I will have to use [showif [url][var3[/url]=3D[url][raw][var3][/raw][/url]][text]var3=3D23[/te= xt] [/showif] - Tom =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Digital Revolutionaries 1st Floor, Castleriver House 14-15 Parliament Street Temple Bar,Dublin 2 Ireland ---------------------------------------------- [t]: + 353 1 4403907 [e]: [w]: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D On 21 February 2017 at 08:35, wrote: > Hello Tom, there is a behavioral change: here the results of loading > test1.dna on 8.5.1 and 6.2 > > =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-test1.dna=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94- > [include file=3Dtest2.inc&var1=3D8&var2=3D9&var3=3D23] >
> main file : [var1] with [var2] with [var3] > =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-=E2=80=94=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94-=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94-=E2=80=94=E2=80=94 > =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-test2.inc=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94- > [text]var3=3D0634[/text] > > included file : [var1] with [var2] with [var3] > =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-=E2=80=94=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94-=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94-=E2=80=94=E2=80=94=E2=80=94 > > > > on 8.5.1 we get > included file : 8 with 9 with 0634 > main file : [var1] with [var2] with 0634 > > on 6.2 we get > included file : 8 with 9 with 23 > main file : [var1] with [var2] with 0634 > > > However, in test1.dna, we load a file and simultaneously pass three > variable values, and the included file overwrites one of the variables wi= th > another value. It seems consistant to me that the result shows the > overwriting variable, and not the overwritten one. > > So, to me, 8.5.1 is consistant. > > Any opinion about this? > > - chris > > > > > On Feb 20, 2017, at 17:37, Tom Duke wrote: > > > > Hi all, > > > > Ok I have just hit an issue with variables using WebDNA 8.5.1 on CentOS > 7. > > > > Prior to the upgrade calling this include: > > > > [include file=3D/common/includes/smUtility-navlist-bootstrap. > inc&smNAVCLASS=3Dprimary-nav] > > > > and having this in the include file: > > > > [text secure=3DF]smNAVCLASS=3D[/text] > > > > would result in the variable 'smNAVCLASS' being set to 'primary-nav'. > > > > After the upgrade the variable 'smNAVCLASS' being set to '' - i.e. blan= k. > > > > So the line "[text secure=3DF]smNAVCLASS=3D[/text]" is overwriting the > passed in include variable. > > > > Is this the intended behaviour? If so then I have a lot of code to > rewrite. > > > > - Tom > > > > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us > --f403045f83f6a619c905490bbc94 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Chris,

Hi - that behaviour that you des= cribe is consistent and makes sense.

But my proble= m is when I use insecure text variables to set default values in an include= file.=C2=A0 I would not expect an insecure text variable to overwrite an i= ncoming include variable.

Taking your example but = setting the text variable in the include file to insecure


=E2=80=94=E2=80= =94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-test1.dna=E2=80=94=E2=80=94=E2=80= =94=E2=80=94=E2=80=94=E2=80=94-
[include file=3Dtest2.inc&var1=3D8&var2=3D9&am= p;var3=3D23]
<br>
main file : [var1] with [var2] with [var3]
=E2=80=94=E2=80= =94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-=E2=80=94=E2=80=94=E2=80=94=E2=80= =94=E2=80=94=E2=80=94-=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80= =94-=E2=80=94=E2=80=94
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-test2.in= c=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-
<= span style=3D"font-size:12.800000190734863px">[text secure=3DF]var3=3D0634[= /text]

=
included file : [var1] = with [var2] with [var3]
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-=E2=80= =94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-=E2=80=94=E2=80=94=E2=80= =94=E2=80=94=E2=80=94=E2=80=94-=E2=80=94=E2=80=94=E2=80=94


I would=C2=A0think that in= this case var3 should not be overwritten.=C2=A0 Perhaps I am misunderstand= ing the relationship between text and include variables.
<= span style=3D"font-size:12.800000190734863px">
It means that instead of=C2=A0using=

[text secure=3DF]var3=3D23[= /text]

to set=C2=A0default values in include files I will have to use

[showif [url][var3[/url]=3D[url][raw][var3][/raw][/url]][text]var3=3D23[/text][/showif]

- Tom


=


<= /div>




=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D
Digital Revolutionaries
1st Floor, Castle= river House
14-15 Parliament Street
Temple Bar,Dublin 2
Ireland----------------------------------------------
[t]: + 353 1 4403907
= [e]: <mailto:tom@revolutionaries.ie>
[w]: <http://www.revolutionaries.ie/>
=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

On 21 February 2017 at 08:35, <christophe.billiottet@webdna.us> wrote:
Hello Tom, there is a behavioral change: here the results o= f loading test1.dna on 8.5.1 and 6.2

=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-test1.dna=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-
[include file=3Dtest2.inc&var1=3D8&var2=3D9&var3=3D23]
<br>
main file : [var1] with [var2] with [var3]
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-=E2=80=94=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94-=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94-=E2=80=94=E2=80=94
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-test2.inc=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-
[text]var3=3D0634[/text]

included file : [var1] with [var2] with [var3]
=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94=E2=80=94-=E2=80=94=E2=80=94= =E2=80=94=E2=80=94=E2=80=94=E2=80=94-=E2=80=94=E2=80=94=E2=80=94=E2=80=94= =E2=80=94=E2=80=94-=E2=80=94=E2=80=94=E2=80=94



on 8.5.1 we get
included file : 8 with 9 with 0634
main file : [var1] with [var2] with 0634

on 6.2 we get
included file : 8 with 9 with 23
main file : [var1] with [var2] with 0634


However, in test1.dna, we load a file and simultaneously pass three variabl= e values, and the included file overwrites one of the variables with anothe= r value. It seems consistant to me that the result shows the overwriting va= riable, and not the overwritten one.

So, to me, 8.5.1 is consistant.

Any opinion about this?

- chris



> On Feb 20, 2017, at 17:37, Tom Duke <tom@revolutionaries.ie> wrote:
>
> Hi all,
>
> Ok I have just hit an issue with variables using WebDNA 8.5.1 on CentO= S 7.
>
> Prior to the upgrade calling this include:
>
> [include file=3D/common/includes/smUtility-navlist-bootstrap.inc&smNAVCLASS=3Dprimary-nav]
>
> and having this in the include file:
>
> [text secure=3DF]smNAVCLASS=3D[/text]
>
> would result in the variable 'smNAVCLASS' being set to 'pr= imary-nav'.
>
> After the upgrade the variable 'smNAVCLASS' being set to '= ' - i.e. blank.
>
> So the line "[text secure=3DF]smNAVCLASS=3D[/text]" is overw= riting the passed in include variable.
>
> Is this the intended behaviour?=C2=A0 If so then I have a lot of code = to rewrite.
>
> - Tom



-----------------------= ----------------------------------
This message is sent to you because you are subscribed to
the mailing list <talk@webdna.us&g= t;.
To unsubscribe, E-mail to: <talk= -leave@webdna.us>
archives: http://mail.webdna.us/list/talk@webdna.us
Bug Reporting:
support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us --f403045f83f6a619c905490bbc94-- . Tom Duke

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Displaying raw values (long) (1998) What am I missing (1997) Limit on nested [ShowIf]'s? (1997) Re:quit command on NT (1997) WebDNA release (2005) Pithy questions on webcommerce & siteedit (1997) Performance Settings (2000) Setting up shop (1997) [Announce] Newest Commerce Site based on WebCatalog (1997) mac hack (1997) back button problem (1999) CERT Advisory on malicious scripts (2000) Where's Cart Created ? (1997) Windows version Trouble Shooting (2007) Speeding up my [showif] performance (1999) Determining Method (2000) SiteGuard Admin Feature ? (1997) totals (1997) about this server and links to who (1997) [WriteFile] problems (1997)