Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Cold Fusion 10 issue faced after upgrade from 8

New Here ,
May 15, 2013 May 15, 2013

Upgraded website from Cold fusion 8 to Cold fusion 10. Initially was working Fine. Suddenly a part stopped working with the following error.

The getJoinsAsString package method in the C:\Apache\Tomcat\webapps\ROOT\Reactor\query\render\join.cfc component cannot be accessed from C:\Apache\Tomcat\webapps\ROOT\reactor\query\render\object.cfc.

This method has package access and both the components are present in the same package. Yet the only way to fix this seems to be changing the access from package to public. Though the website still works with package access in Cold Fusion 8. Would like to know why does this error occur all by itself?Or has some configuration changed in Cold Fusion 10 for this error to occur?

495
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
May 15, 2013 May 15, 2013

I wonder if the fact one path has Reactor and the other has reactor means there's some case-sensitivity at play here.  Although CF should usually be fine with you spelling it either way, perhaps somehow it's looking like two separate directories.  Check everywhere you refer to the object and make sure it's always got exactly the same case as the physical folder names.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 15, 2013 May 15, 2013
LATEST

Good Catch.. But the problem is that these file are internally used by the application. The path is not hardcoded anywhere so case sensitivity may not be the culprit. I will look further into it though..

What is confusing me is the code in these files are not touched. Then how can it work smoothly initially and then all of a sudden decide not to work.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources