Uploaded image for project: 'AppFormer'
  1. AppFormer
  2. AF-375

UberFire Commons Editor Client can not be reused in client-only web applications

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Critical Critical
    • None
    • None
    • None
    • None
    • NEW
    • NEW

      uberfire-commons-editor-client transitively brings in uberfire-editor-backend which activates UberFire's backend IOC/CDI alternatives e.g org.uberfire.client.WorkbenchServicesProxyBackendImpl.

      This breaks client-only web applications as they need to rely on the client-side alternatives to be active i.e. org.uberfire.client.plugin.RuntimePluginsServiceProxyClientImpl.

      Excluding the uberfire-editor-backend dependency also doesn't work because the GWT module UberFireWorkbenchBackend.gwt.xml is transitively inherited by UberfireCommonsEditorClient.gwt.xml and can then not be found in the sources.

      None of this should be the case as we want to be able to reuse client-side modules without bringing in "backend" dependencies.

      Currently the only workaround is to use Errai IOC black listing for the offending types.

              eignatow Eder Ignatowicz
              csa_jira Christian Sadilek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: