I think I may have run across a bug, but I cannot reproduce it on the live demo, which leads me to believe I may be doing something wrong. However, I have set up an extremely raw demo project that reproduces my issue.
The scenario is as follows:
Step 1: The user clicks the Link button within CKEditor, and then clicks Browse Server. CKFinder pops up and on the left side all of the default folders are present (Files, Images, Flash, Basket).
Step 2: The user then closes out of the CKFinder dialog and then cancels out of the Link dialog.
Step 3: The user then clicks the Image button within CKEditor, and then clicks Browse Server. CKFinder pops up and on the left side only two folders are present (Images and Basket).
Up to this point all of the behavior is correct. The problem then comes if the user cancels out of the CKFinder dialog and the Image dialog, and then tries to repeat Step 1 above. When the CKFinder dialog comes up, it still only shows Images and Basket as folders, but not Files and Flash as it did the first time Step 1 was performed.
This doesn't appear to be an issue with the online demo at all, and you can see in the demo project that everything I have set up is also extremely basic, nothing fancy and the only config file change is in the CKFinder's config.ascx where the BaseUrl gets set. Other than that, everything is default.
Again, not sure if this is a bug or I am am *somehow* misusing CKEditor and/or CKFinder. Any help is appreciated, and if someone else can reproduce and doesn't see any issues in the code, I will gladly submit a bug report.
Note on demo project setup: it uses ASP.NET MVC 3 and expects that the website is located at http://localhost/CKTest.
Also note that it looks like the project is too big to be uploaded as an attachment, so I have hosted it somewhere temporarily: http://www.filefactory.com/file/i3i5hshuxz7/n/CKTest_zip
Fri, 06/01/2012 - 17:19
#1