Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-1835

User Table is not created when using MySQL

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0M5
    • 4.0 alpha
    • None
    • None

      How to reproduce

      • install M4
      • configure your back-office
      • create a site
      • click to add users
      • create a new population on MySQL
      • add the user
      • click on the button to set the manager of the site
      • 1st problem : the pop-up is displayed but the screen is locked
      • after F5, an error is available that explain that the table is not automatically created
        Table 'Ametys_CMS.Users' doesn't exist
        com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'Ametys_CMS.Users' doesn't exist
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
            at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
            at com.mysql.jdbc.Util.handleNewInstance(Util.java:404)
            at com.mysql.jdbc.Util.getInstance(Util.java:387)
            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:942)
        

      *So there are two problems :

      • the table is not created automatically on MySQL, I expect an automatic creation
      • in case of error, the pop-up lock the screen, I expect at least an error

            sprieul Simon Prieul (Inactive)
            fravetier Frederic Ravetier (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: