Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-22262

Sending a SF form and creating an eZ binary file in a POST action

    XMLWordPrintable

Details

    Description

      I created a SF Entity and display dedicated form in a template.
      In my single action, when posting form, I try to create an ez binary file (containing information from the SF form) and it raises an error.

      Missing form token from Request 

      It seems that we missed the original response (with token) in legacy when we try to run ezpEvent->notify('request/input') .

      at ezpEvent ->notify ('request/input', array(object(eZURI)))
      in /Users/huckflorent/Sites/e-learning/ezpublish_legacy/kernel/private/classes/ezpkernelweb.php at line 1150  -
      
                      $this->check = eZUserLoginHandler::preCheck( $this->siteBasics, $this->uri );
                  }
                  ezpEvent::getInstance()->notify( 'request/input', array( $this->uri ) );
                  // Initialize with locale settings
                  // TODO: Move to constructor? Is it relevant to init the locale/charset for each (sub)requests?
      

      ez binary file use legacy to load the file (cluster) and as I'm in a post action, it try to get the token but should not do it.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Florent.Huck-obsolete@ez.no Florent Huck (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: