Uploaded image for project: 'Errai'
  1. Errai
  2. ERRAI-1056

The new jsinterop.base.Base still kills Errai

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Cannot Reproduce
    • Affects Version/s: 4.0.0.Final
    • Fix Version/s: None
    • Component/s: Errai Navigation
    • Labels:
      None
    • Environment:

      any java 8, latest GWT 4 master

    • Steps to Reproduce:
      Hide

      Unpack the attached project. Get a stock wildfly with admin login admin/admin (or change the gradle.properties file in the root) . Start the wildfly server.

      From the root, build and deploy project:
      ./gradlew -p recres-webapp clean war cRR

      Start SuperDev server separately:
      gradlew --no-daemon -p recres-webapp gCS

      And hit in Chrome, compile with Superdev:
      http://127.0.0.1:8080/recres

      What you see is that the default Home page does not show up. In fact the navigation graph is empty!

      Now go edit MainDev.xml and remove this dependency:
      <inherits name="jsinterop.base.Base"/>

      Re-deploy and all works!

      Show
      Unpack the attached project. Get a stock wildfly with admin login admin/admin (or change the gradle.properties file in the root) . Start the wildfly server. From the root, build and deploy project: ./gradlew -p recres-webapp clean war cRR Start SuperDev server separately: gradlew --no-daemon -p recres-webapp gCS And hit in Chrome, compile with Superdev: http://127.0.0.1:8080/recres What you see is that the default Home page does not show up. In fact the navigation graph is empty! Now go edit MainDev.xml and remove this dependency: <inherits name="jsinterop.base.Base"/> Re-deploy and all works!
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      Don't use jsinterop.base.Base or perhaps all of the new Elemental2 libraries with Errai 4

      Show
      Don't use jsinterop.base.Base or perhaps all of the new Elemental2 libraries with Errai 4

      Description

      If Errai based GWT app includes this:

      <inherits name="jsinterop.base.Base"/>

      strange things start to happen. In the attached example Page navigation breaks down with no errors or signs to what is wrong.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tfernand Tiago Bento
                Reporter:
                hr.stoyanov Hristo Stoyanov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: