Title:
[ANeff] ER for: Give requests a _copy_ of per-App settings. Prevent applicationStop() from instantly deleting them.
| View in TrackerStatus/Resolution/Reason: To Fix//
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff (Aaron Neff)
Created: 09/23/2012
Components: Language, CF Component
Versions: 10.0
Failure Type: Enhancement Request
Found In Build/Fixed In Build: Final /
Priority/Frequency: Trivial / Unknown
Locale/System: English / Platforms All
Vote Count: 1
We've discussed this many times, but I believe no bug/ER has ever been filed.
Existing behavior:
E1) (good) The 1st request following applicationStop() creates a new parallel Application scope. Already-running requests share the old Application scope (see example A). New requests share the new Application scope (see example B).
E2) (bad) Requests do not get a copy of per-App settings. If a request alters a per-App setting, all concurrent requests are instantly affected. (see example C)
E3) (bad) applicationStop() instantly deletes the per-App settings. All concurrent requests are instantly affected. (see example D)
Current handling of Application-scope (#E1) is perfect.
Current handling of per-App settings (#E2 & #E3) is problematic.
Requested behavior:
R1) Keep current handling of Application scope.
R2) Give requests a duplicate() _copy_ of per-App settings.
R3) Prevent applicationStop() from instantly deleting per-App settings.
This ER is to implement #R2 & #R3. That is the expected behavior.
Note: When running each example, click "request 1" and then immediately click "request 2". Then compare each page's output w/ my comments in the code.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3335568
External Customer Info:
External Company:
External Customer Name: itisdesign
External Customer Email:
Attachments:
- September 24, 2012 00:00:00: 1_examples.zip
Comments: