Uploaded image for project: 'Magnolia Standard Templating Kit (closed)'
  1. Magnolia Standard Templating Kit (closed)
  2. MGNLSTK-764

Contact Form doesn't work in Magnolia 4.4.2

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Workaround exists
    • Icon: Critical Critical
    • None
    • 1.4.2
    • None
    • None
    • Windows (XP), Linux (Debian 5)

      Dear Sirs,

      The contact form of the public instance of Magnolia 4.4.2 doesn't work: it gives (randomly) a "session expired" error. This is critical for production because if the contact form doesn't work properly customers can't contact us.

      My observations:

      Connect to the public instance (not authoring) of online demo of magnolia-cms.com. Go to the contact form. Don't fill any field, it's not necessary. Just click the Submit button. The first times maybe you get the normal error messages about empty fields. Ok, this is fine. But try again from different windows, different sessions, different computers. Soon the contact form will be broken and you will start to get the "session expired" error. If you enter the fields (email, subject, etc) of the contact form the result is the same.

      I have tested a lot of things of the servers. Nothing fixed it.

      After several hours, I disabled caching system of public instance (just by putting enabled=false in /configuration/server/filters) and flushed the caches.... and wow, it worked again! but at the price of a very sloooowww website.

      I migrated to 4.4.2 from 4.3.6 only to get multilingual contact forms. And this migration broke the contact form in the mentioned way! It seems that 4.4.2 manages contact form in a different way. If cache is enabled, contact form stops working after several attempts from different windows/sessions/computers.

      So, now, I need first a workaround to disable cache only for the contact page. Maybe this way a get again a fast website and a contact form that works. Which is the way to achieve that? I have read the bypass configuration option, but don't have much documentation to know how to use it.

      Please confirm if this observations are right and provide a fast workaround to solve this.

      Thanks,

      David G.

        Acceptance criteria

              pbaerfuss Philipp Bärfuss
              dgarcia Diana Garcia
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: