Cannot Reproduce
Details
Assignee
Michael OffnerMichael OffnerReporter
PKPKPriority
NewLabels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
PK
PKPriority
Labels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Created 14 October 2016 at 06:41
Updated 5 May 2023 at 09:41
Resolved 18 July 2018 at 11:15
1. What did I do?
Re-saved Person.cfc and executed template test.cfm.
2. What did I expect?
The constructor to execute and set the random number once. I then expected to see the same number in static.constructed three times in the output from test.cfm.
3. What happened instead?
The constructor executed twice, so the first static.constructed was different from the last two in the output from test.cfm.
Edit 1: The constructor is executed only once when I run test.cfm the first time after a Tomcat restart.
Person.cfc
test.cfm
Output: