Hugo
Hugo

Reputation: 249

Plone 4.2.5: Disallowed to paste item(s)

Today I upgrade plone from 4.1.4 to latest 4.2.5 through buildout. Everthing works except paste. When I paste a page to a folder, traceback shows:

Traceback (innermost last):
  Module ZPublisher.Publish, line 126, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 46, in call_object
  Module Products.CMFFormController.FSControllerPythonScript, line 105, in __call__
  Module Products.CMFFormController.Script, line 145, in __call__
  Module Products.CMFCore.FSPythonScript, line 127, in __call__
  Module Shared.DC.Scripts.Bindings, line 322, in __call__
  Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
  Module Products.PythonScripts.PythonScript, line 344, in _exec
  Module script, line 33, in folder_paste
   - <FSControllerPythonScript at /keti/folder_paste used for /keti/switch1>
   - Line 33
Exception: Disallowed to paste item(s).

I need your help.

Upvotes: 1

Views: 284

Answers (2)

Hugo
Hugo

Reputation: 249

Ida Ebkes did get the point. So I unchecked 'Filter content types' and select file, document, folder in the widget below in portal_types/Plone%20Site/manage_propertiesForm . But it works for frontpage. So If I want "Add new" appear global, I have to check "Implicitly addable" in every content type page under portal_types.

Thanks,

Hugo

Upvotes: 1

Ida
Ida

Reputation: 3965

Usually this error is thrown, if the 'allowed content types to add' are restricted, so I doubt a correlation of your problem with the upgrade and rather suspect a simple configuration-setting as the cause:

Go to

http://yourhost.org:8888/yourSiteId/portal_types/Folder/manage_propertiesForm

Look, if 'Filter content types' is checked.

If yes, either uncheck or define the allowed types in the widget below.

Upvotes: 1

Related Questions