tracker issue : CF-4100650

select a category, or use search below
(searches all categories and all time range)
Title:

Component fullName, and name is different between apache2.2 and apache2.4

| View in Tracker

Status/Resolution/Reason: Closed/Withdrawn/CannotReproduce

Reporter/Name(from Bugbase): Jork Zijlstra / Jork Zijlstra (Jork Zijlstra)

Created: 12/16/2015

Components: Core Runtime

Versions: 10.0

Failure Type:

Found In Build/Fixed In Build: Final /

Priority/Frequency: Major / All users will encounter

Locale/System: English / Linux All

Vote Count: 1

Problem Description:
When creating an object (on a site hosted via apache 2.2) the fullName and name is a FQDN. Complete with the whole path
When creating an object (on a site hosted via apache 2.4) the fullName and name is just the component name, missing the path.

Steps to Reproduce:
I have attached a zip file, but you have to run it on sites hosted on different apache versions (2.2 and 2.4)

Actual Result:
On Apache 2.2
Displayname: v1.TestCase
Fullname: v1.TestCase
Name: v1.TestCase

On Apache 2.4
Displayname: v1.TestCase
Fullname: TestCase
Name: TestCase

So when using apache 2.4 the returnType of a method can be specified differently, only using the compnent Name.
Apache 2.2: private TestCase function x(){} fails
Apache 2.2: private v1.TestCase function x(){} work
Apache 2.4: private TestCase function x(){} works
Apache 2.4: private v1.TestCase function x(){} work

Expected Result:
Make it uniform, both should have the FQDN for fullName and name.

Any Workarounds:
Use Apache 2.2 or always use the FQDN as returnType

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	4100650

External Customer Info:
External Company:  
External Customer Name: Jork Zijlstra
External Customer Email:  
External Test Config: My Hardware and Environment details:

Ubuntu 14.04, CF10,0,18,29633

Attachments:

  1. December 16, 2015 00:00:00: 1_componentName.zip

Comments:

+1
Vote by External U.
5073 | December 16, 2015 08:14:39 AM GMT
How does *the Apache version* even impact this sort of thing?!?!
Comment by External U.
5066 | December 16, 2015 08:15:04 AM GMT
I tested it in several setups (ubuntu 12.04 + apache 2.2 and ubuntu 14.04 + apache 2.4) and I could reproduce the difference in fullName and name on both setups consistently. I also came across this bug report from 2010 which mentions the apache connector might be the cause not the apache version. https://bugbase.adobe.com/index.cfm?event=bug&id=CF-3041033
Comment by External U.
5067 | December 16, 2015 08:38:05 AM GMT
Jork, I tested the attached example on the below configuration, but did not see a difference in behavior between Apache 2.2 and Apache 2.4. Both Apache versions return FQDN for fullname and name. Tested configuration: ColdFusion 10 Update 18 Ubuntu 14.04.1 LTS Apache 2.2.29 Apache 2.4.7 (Bundled with Ubuntu) Let me know if I'm missing something here. - Immanuel
Comment by Immanuel N.
5068 | January 11, 2016 07:45:52 AM GMT
I will try to debug it further this week. Keep you posted
Comment by External U.
5069 | January 19, 2016 10:55:55 AM GMT
Hi Jork, Just checking if you have any new info on this?
Comment by Immanuel N.
5070 | February 24, 2016 05:17:47 AM GMT
Nope. I also no longer have access to the environments to futher test this behaviour. The only thing I can think of is that our codebase is accessed over an NFS mount but I can't test this.
Comment by External U.
5071 | February 25, 2016 04:44:27 AM GMT
Closing the bug as Cannot Reproduce. Please revert back if you see this issue again. The bug can then be reopened.
Comment by Immanuel N.
5072 | July 22, 2016 12:31:03 AM GMT