Ticket #366 (closed defect: fixed)

Opened 2 months ago

Last modified 2 months ago

lightwire var scope issue

Reported by: sullah Assigned to: lmajano
Priority: high Milestone: 2.6.0
Component: Extras Version: 2.5.2
Severity: critical Keywords: lightwire
Cc: sullah

Description

Serious lightwire issue 03/05/08 6:04 AM

I just uncovered a serious issue with Lightwire. I already contacted Peter Bell about it so he can fix the official release.

2 methods of the lightwire component are missing a vital var scoped variable ('Key'). This causes serious issues when using Lightwire for IoC in ColdBox. The methods are createNewObject and getDependentObjectList.

I thought I'd share this with you guys in case you want to fix it before the official Lightwire release. LINK:http://forums.coldboxframework.com/index.cfm?event=ehMessages.dspMessages&threadid=7ED3BC06-FF65-CEF6-65405D05F278B669

SANA have updated LightWire?.cfc, luis review if there any other stuff still need to be fixing.

Change History

03/05/08 12:09:50 changed by lmajano

Awesome. I will look into it also, and run some varscoping on it.

Luis

03/12/08 00:39:03 changed by lmajano

  • status changed from new to closed.
  • resolution set to fixed.

Copyright 2006 ColdBox Framework by Luis Majano