Comments (9)
Activating Quintagroup Captcha Core 0.3 and Quintagroup PloneFormGen CaptchaField 1.0.4 enables thje form to be viewed, but still receive error on attempting to copy and past plone site within ZMI:
2011-12-26 12:12:24 ERROR Zope.SiteErrorLog 1324876344.530.577406259179 http://localhost:8080/site1/manage_pasteObjects
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 OFS.CopySupport, line 233, in manage_pasteObjects
Module zope.event, line 31, in notify
Module zope.component.event, line 24, in dispatch
Module zope.component._api, line 136, in subscribers
Module zope.component.registry, line 321, in subscribers
Module zope.interface.adapter, line 585, in subscribers
Module zope.component.event, line 32, in objectEventNotify
Module zope.component._api, line 136, in subscribers
Module zope.component.registry, line 321, in subscribers
Module zope.interface.adapter, line 585, in subscribers
Module OFS.subscribers, line 132, in dispatchObjectCopiedEvent
Module zope.container.contained, line 153, in dispatchToSublocations
Module zope.component._api, line 136, in subscribers
Module zope.component.registry, line 321, in subscribers
Module zope.interface.adapter, line 585, in subscribers
Module OFS.subscribers, line 132, in dispatchObjectCopiedEvent
Module zope.container.contained, line 153, in dispatchToSublocations
Module zope.component._api, line 136, in subscribers
Module zope.component.registry, line 321, in subscribers
Module zope.interface.adapter, line 585, in subscribers
Module OFS.subscribers, line 132, in dispatchObjectCopiedEvent
Module zope.container.contained, line 153, in dispatchToSublocations
Module zope.component._api, line 136, in subscribers
Module zope.component.registry, line 321, in subscribers
Module zope.interface.adapter, line 585, in subscribers
Module OFS.subscribers, line 132, in dispatchObjectCopiedEvent
Module zope.container.contained, line 153, in dispatchToSublocations
Module zope.component._api, line 136, in subscribers
Module zope.component.registry, line 321, in subscribers
Module zope.interface.adapter, line 585, in subscribers
Module plone.app.linkintegrity.handlers, line 81, in modifiedArchetype
Module Products.PloneFormGen.content.formMailerAdapter, line 578, in getBody_pre
Module Products.PloneFormGen.content.formMailerAdapter, line 571, in _dreplace
AttributeError: REQUEST
from products.ploneformgen.
We also have this error (AttributeError: REQUEST) with PFG 1.5.5 under Plone 3.3+. Is this still the case with more recent versions of PFG?
Thank you,
from products.ploneformgen.
Yesterday I attempted to copy, and cut and paste, a plone instance (v4.1.3) within the ZMI and could only do this after removing the mailadapter and thankyou message items within a form (I'm using Products.PloneFormGen 1.7rc1; I understand there is no difference between this version and v1.7). Here is an example of the error output:
* Module ZPublisher.Publish, line 126, in publish
* Module ZPublisher.mapply, line 77, in mapply
* Module ZPublisher.Publish, line 46, in call_object
* Module OFS.CopySupport, line 233, in manage_pasteObjects
* Module zope.event, line 31, in notify
* Module zope.component.event, line 24, in dispatch
* Module zope.component._api, line 136, in subscribers
* Module zope.component.registry, line 321, in subscribers
* Module zope.interface.adapter, line 585, in subscribers
* Module zope.component.event, line 32, in objectEventNotify
* Module zope.component._api, line 136, in subscribers
* Module zope.component.registry, line 321, in subscribers
* Module zope.interface.adapter, line 585, in subscribers
* Module OFS.subscribers, line 132, in dispatchObjectCopiedEvent
* Module zope.container.contained, line 153, in dispatchToSublocations
* Module zope.component._api, line 136, in subscribers
* Module zope.component.registry, line 321, in subscribers
* Module zope.interface.adapter, line 585, in subscribers
* Module OFS.subscribers, line 132, in dispatchObjectCopiedEvent
* Module zope.container.contained, line 153, in dispatchToSublocations
* Module zope.component._api, line 136, in subscribers
* Module zope.component.registry, line 321, in subscribers
* Module zope.interface.adapter, line 585, in subscribers
* Module OFS.subscribers, line 132, in dispatchObjectCopiedEvent
* Module zope.container.contained, line 153, in dispatchToSublocations
* Module zope.component._api, line 136, in subscribers
* Module zope.component.registry, line 321, in subscribers
* Module zope.interface.adapter, line 585, in subscribers
* Module OFS.subscribers, line 132, in dispatchObjectCopiedEvent
* Module zope.container.contained, line 153, in dispatchToSublocations
* Module zope.component._api, line 136, in subscribers
* Module zope.component.registry, line 321, in subscribers
* Module zope.interface.adapter, line 585, in subscribers
* Module plone.app.linkintegrity.handlers, line 81, in modifiedArchetype
* Module Products.PloneFormGen.content.thanksPage, line 284, in getThanksPrologue
* Module Products.PloneFormGen.content.thanksPage, line 277, in _dreplace
AttributeError: REQUEST
from products.ploneformgen.
sorry the issue should be open
from products.ploneformgen.
I am facing the same issue on our Plone site. Attempting to copy-paste a Plone site through the ZMI results in:
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 OFS.CopySupport, line 233, in manage_pasteObjects
Module zope.event, line 31, in notify
Module zope.component.event, line 24, in dispatch
Module zope.component._api, line 136, in subscribers
Module zope.component.registry, line 321, in subscribers
Module zope.interface.adapter, line 585, in subscribers
Module zope.component.event, line 32, in objectEventNotify
Module zope.component._api, line 136, in subscribers
Module zope.component.registry, line 321, in subscribers
Module zope.interface.adapter, line 585, in subscribers
Module OFS.subscribers, line 132, in dispatchObjectCopiedEvent
Module zope.container.contained, line 153, in dispatchToSublocations
Module zope.component._api, line 136, in subscribers
Module zope.component.registry, line 321, in subscribers
Module zope.interface.adapter, line 585, in subscribers
Module OFS.subscribers, line 132, in dispatchObjectCopiedEvent
Module zope.container.contained, line 153, in dispatchToSublocations
Module zope.component._api, line 136, in subscribers
Module zope.component.registry, line 321, in subscribers
Module zope.interface.adapter, line 585, in subscribers
Module OFS.subscribers, line 132, in dispatchObjectCopiedEvent
Module zope.container.contained, line 153, in dispatchToSublocations
Module zope.component._api, line 136, in subscribers
Module zope.component.registry, line 321, in subscribers
Module zope.interface.adapter, line 585, in subscribers
Module plone.app.linkintegrity.handlers, line 81, in modifiedArchetype
Module Products.PloneFormGen.content.formMailerAdapter, line 578, in getBody_pre
Module Products.PloneFormGen.content.formMailerAdapter, line 571, in _dreplace
AttributeError: REQUEST
from products.ploneformgen.
My workaround was to delete the mail adaptor and thank you widgets from the form before copy and pasting. Hopefully that is practicable ...
from products.ploneformgen.
Thanks, that is something I am keeping as a last resort. The site is in production right now and I would rather not make changes to the forms in the live site yet. I guess I'll wait a bit to see if there is a different fix available.
from products.ploneformgen.
The substance of this is a duplicate of issue #18, so I'll be closing this one.
This is a problem with a relative link in the thanks page that's fouling the linkintegrity mechanism. I don't know if this will be solvable inside PFG or will require a fix in Plone.
from products.ploneformgen.
I think this was fixed in #83
from products.ploneformgen.
Related Issues (20)
- UnicodeDecodeError with umlauts or euro sign in 1.7.20: 'ascii' codec can't decode... HOT 1
- verification failed message is incorrect HOT 2
- PFG 1.7.x not compatible with jQuery 1.9+ HOT 2
- Issue in htmlValue of FGLinesField
- Remove collective.cover adapter HOT 2
- Fix tests with Plone 5.0.7 HOT 1
- Unauthorized exceptions due to creation of demo content without a security context
- Select field without default value -> last item selected HOT 1
- Some strings ('No input') in code are not internationalized (Validators too) HOT 1
- Why do I need to reinstall Products.PloneFormGen if I add a captcha later on? HOT 4
- Anon can see mailer info
- Option to use field titles in save adapter instead of names
- Improve error message when collective.recaptcha is not (yet) configured
- Travis doesn't check PRs? HOT 3
- toolbox does not display property in Chrom
- Rich Label field body disappears on edit
- Adding a text field via Quickedit leads to unicodedecode error
- Forms and Site Setup Configuration broken under Plone 5.2.0 HOT 1
- 5.2.0 cannot enable it HOT 5
- Need to have unique id for fields in fieldsets HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from products.ploneformgen.