tracker issue : CFB-3980130

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

Stop making index.cfm

| View in Tracker

Status/Resolution/Reason: To Fix//

Reporter/Name(from Bugbase): Raymond Camden / Raymond (Raymond Camden)

Created: 05/01/2015

Components: Project Support, General

Versions: 3.0

Failure Type:

Found In Build/Fixed In Build: 3.0 Final /

Priority/Frequency: Minor / Some users will encounter

Locale/System: English / Mac 10.9 64 bit

Vote Count: 1

Ok, I know this is a "feature" of CFB3, but the fact that it creates an index.cfm when you create a new project is more annoying then helpful imo. For example, I just made a new project pointing to an existing folder from a checkout. Since it was an existing set of code, there is no reason for CFB to add an index.cfm.

In fact - how about this: Keep the feature, but ONLY when the folder is empty.

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

Watson Bug ID:	3980130

Deployment Phase:	Pre-Alpha

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

Attachments:

Comments:

I don't think there is a correlation between "a project" and "an index.cfm file". Why not an Application.cfc file? Why not some other random file? Also only a very poorly organised application (which would be what a project would map to, notionally) would have an index.cfm in its root. That would be in the /public dir, or the /www dir or [some other directory that CFB cannot possibly infer]. But the root of a project is unlikely to be web browseable, so it's inappropriate to put an index.cfm in there. That aside, creating a project is about Eclipse organisation, it's not about source code. -- Adam
Comment by External U.
26714 | May 01, 2015 08:41:29 AM GMT
As an example of how this has messed me up in the past. 1) Install CF. 2) Make a new CFB project and point it to CF's web root. 3) OPen browser to localhost:8500 and see a white screen, *not* a directory index. Why? Because CFB added an index.cfm file. I had no idea and I thought CF was broken. At minimum, at least make the default index.cfm *say* something: <cfoutput>This is a default index.cfm for you to edit.</cfoutput> to make it more clear. (Although I strongly urge that this entire feature be removed.)
Comment by External U.
26715 | May 01, 2015 08:45:01 AM GMT
I agree that if the project folder isn't empty, we shouldn't create the default index.cfm file.
Vote by extuser
26716 | May 01, 2015 09:16:15 PM GMT