Issues
- ImportDefinition of the CFC messes up with another CFC ImportDefinition with same path & nameLDEV-3912Michael Offner
- `duplicate`/`structCopy` do not copy appear to copy ImportDefinitions when copying CFC objectsLDEV-3900Resolved issue: LDEV-3900Pothys - MitrahSoft
- Component imports do not work with entityNew() or entityLoad()LDEV-3649Resolved issue: LDEV-3649Pothys - MitrahSoft
- Import Adobe ColdFusion .CAR FilesLDEV-836
4 of 4
ImportDefinition of the CFC messes up with another CFC ImportDefinition with same path & name
Description
Environment
None
Details
Assignee
Michael OffnerMichael OffnerReporter
Pothys - MitrahSoftPothys - MitrahSoftPriority
NewNew 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
Pothys - MitrahSoft
Pothys - MitrahSoftPriority
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 16 March 2022 at 14:31
Updated 1 June 2022 at 08:22
Activity
Show:
Zac Spitzer1 June 2022 at 07:29
disabled test case merged
Pothys - MitrahSoft18 March 2022 at 09:16
Disabling component cache option, It works as expected in lucee.
Pothys - MitrahSoft16 March 2022 at 15:01
I added a testcase to this ticket
Pull Request:
import definition of the component gets the import component from another cfc import definition with the same path & name.
For example, Consider the below codes have a different component in different directories that have an import definition with the same path & name (ex: import sub.importCFC ). The sub is the relative path to those components so sub it points out the different directories. First accessing the testApp1.accessImportinApp1() returns result as expected. After that, access the testApp2.accessImportinApp2() throws an error like The static member [ FROMAPP2 ] does not exist in the Component [ app1.sub.importCFC ], but there is a similar static member with name [ FROMAPP1 ] available. Here is a complete list of all available static members: [ FROMAPP1 ]. Seems It works as expected in ACF.
app1/testApp1.cfc
app1/sub/importCFC.fc
app2/testApp2.cfc
app2/sub/importCFC.cfc
Stacktrace: