Giter Club home page Giter Club logo

Comments (9)

richardtc avatar richardtc commented on August 24, 2024

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.

gbastien avatar gbastien commented on August 24, 2024

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.

richardtc avatar richardtc commented on August 24, 2024

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.

richardtc avatar richardtc commented on August 24, 2024

sorry the issue should be open

from products.ploneformgen.

pallav-fdsi avatar pallav-fdsi commented on August 24, 2024

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.

richardtc avatar richardtc commented on August 24, 2024

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.

pallav-fdsi avatar pallav-fdsi commented on August 24, 2024

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.

smcmahon avatar smcmahon commented on August 24, 2024

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.

tkimnguyen avatar tkimnguyen commented on August 24, 2024

I think this was fixed in #83

from products.ploneformgen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.