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

eZTextFileUser login fail on mysql master/slave

    XMLWordPrintable

Details

    Description

      Fatal error when using the textfile login handler + MySQL master/slave. No error when master/slave is disabled.

      This is the error:
      Fatal error: Call to a member function setAttribute() on a non-object in
      kernel/classes/datatypes/ezuser/eztextfileuser.php on line 282

      The patch fixes this by ensuring the master database is used for the whole request.

      Steps to reproduce
      • Enable Mysql master/slave
      • Enable textfile login (csv)
      • Login a textfile user

      This will crash in some cases, depending on whether the slave server will be used.

      Attachments

        Activity

          People

            patrick.allaert patrick.allaert
            gl gl
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: