Uploaded image for project: 'Commenting'
  1. Commenting
  2. COMMENTING-33

Commenting module can't be installed (1.1.1 and 1.1.2)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Neutral Neutral
    • None
    • 1.1.1, 1.1.2
    • None

      Steps to reproduce

      1. On a vanilla project, include the commenting module and throttling-filter dependencies
      2. Include the config.yaml within the commenting-core to match your database settings
      3. Start your server
      4. Check that at your logs, there is an error related to the commenting module:

        INFO info.magnolia.commenting.CommentingCoreModule : start module CommentingCoreModule
        DEBUG canner.internal.scanner.classpath.ClassPathScanner: determining location urls for classpath:dbmigration/mysql using ClassLoader ParallelWebappClassLoader
        context: test-webapp-1.0-SNAPSHOT
        delegate: false
        ----------> Parent Classloader:
        java.net.URLClassLoader@5383967b

        DEBUG canner.internal.scanner.classpath.ClassPathScanner: Unable to resolve location classpath:dbmigration/mysql
        DEBUG io.ebean.migration.runner.LocalMigrationResources : resources: []
        DEBUG io.ebean.migration.MigrationRunner : no migrations to check

      5. If you go to Pages-app, select a page and click the View Comments action, an error is shown because the comments table does not exists

      Expected results

      The commenting module is properly installed at the empty database

      Actual results

      The commenting module cannot be installed regarding the error Unable to resolve location classpath:dbmigration/mysql

      Workaround

      N/A

      Development notes

      N/A

        Acceptance criteria

          1. commenting_core_db_config.png
            commenting_core_db_config.png
            59 kB
          2. commenting-error.png
            commenting-error.png
            188 kB
          3. commenting-version.png
            commenting-version.png
            63 kB
          4. Comments subapp.png
            Comments subapp.png
            133 kB

              yen.lactue Yen Lac Tue
              ccantalapiedra Carlos Cantalapiedra
              Services
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Work Started:

                  Bug DoR
                  Task DoD

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 2.25h
                    2.25h