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

ezmbpaex extension can truncate ezuser table if installed slightly wrong

    XMLWordPrintable

Details

    Description

      Hi

      If you forget to install db schema before you try to add ezmbpaex attribute to User class, you'll get a fatal error when publishing the class.
      Well, the schema is wrong so the fatal error can maybe be accepted.

      However, what's worse : The whole ezuser table will be truncated. A kinda drastic result after a forgetfulness

      Steps to reproduce

      Install plain
      untar extension
      update autoloads
      login to admin as admin
      Follow the installation manual, expect forget the thing about db schema
      edit User class, add expiry attribute
      Publish class
      mysql> select * from ezuser;
      ,,,,

      Attachments

        Activity

          People

            bd bd
            vl vl
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: