Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not allowed to upload a file of this type to this folder #4

Open
ivanteoh opened this issue Nov 5, 2012 · 1 comment
Open

Not allowed to upload a file of this type to this folder #4

ivanteoh opened this issue Nov 5, 2012 · 1 comment

Comments

@ivanteoh
Copy link
Member

ivanteoh commented Nov 5, 2012

Version

Plone 4.2rc2
Products.Ploneboard 3.3

Steps

  1. Click 'Start a new Conversation' button.
  2. On the 'Body text', click 'Insert/edit image' TinyMCE icon.
  3. Click 'Upload file' button on pop up dialog box.
  4. Click 'Browse' button.
  5. Choose any image file from your local machine, and click 'Open' button.
  6. Click 'Upload' button.
  7. 'Not allowed to upload a file of this type to this folder' pop up dialog box shown.

I believe, the default folder for 'Insert/edit image' is current folder when new conversation located. And this location only allow conversation and comment content type and does not allow image content type. That's why the 'Not allowed to upload a file of this type to this folder' pop up dialog box shown. This issue does not happen when you clicking on 'Insert/edit image' TinyMCE icon during new comment/reply.

It is a bug? Any workaround for this?

Refer to the attachment,
Screenshot

Thanks.

@sureshvv
Copy link
Contributor

Not sure if this can be fixed. The folderish content item is created only when saved, so it is hard to upload the image into it prior to the saving. May be a better error message or the image upload button can be greyed out initially.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants