bdkjones / CodeKit

CodeKit 3 Issue Tracker
https://codekitapp.com
82 stars 5 forks source link

Error Dialog: Cannot Add "..." as a Framework (or Project) #126

Closed j5bot closed 8 years ago

j5bot commented 8 years ago

Quick, short summary: When attempting to add a folder to CodeKit3 as a framework, an error dialog appears which states:

Cannot Add "framework" as a Framework

This folder is part of the project "other project." Framework folders must be separate from all projects.

The framework folder being added is not part of the project referenced in the error dialog.

I have had the same error when adding projects as well.

Workaround seems to be to add and remove projects and frameworks in a different order in order to get CodeKit3 to properly map whether a project is included in another project or framework within another project.

Expected results: Error dialog only appears when framework or project is contained within another framework or project.

Actual results: Error dialog appears when framework is not contained in another.

Exact steps to reproduce:

  1. Remove all frameworks and projects
  2. Add a framework folder
  3. Add a project folder
  4. Remove framework
  5. Attempt to re-add framework
  6. Fail.

A link to download a simplified project or file that shows the issue: https://www.dropbox.com/s/7wcw75bqskoard1/j5bot%20-%20Cannot%20Add%20-%20something%20-%20as%20a%20Framework%20%28Screen%20Shot%202016-06-30%20at%202.20.36%20PM%29.png?dl=0

Your configuration (any details about your system that you think might be relevant) I use symlinks a lot, but in this case there are no symlinks between the project and framework.

bdkjones commented 8 years ago

I need the exact paths on disk for:

  1. The Framework folder
  2. The Project folder that CodeKit is saying the Framework is part of.
j5bot commented 8 years ago
  1. Framework: /Code/open-source/ck3/framework-project
  2. Project that Codekit3 says the framework is part of: /Code/open-source/bulma-attribute-selectors
bdkjones commented 8 years ago

Finally got around to this one. Fixed for Beta 13. Good catch!