Uploaded image for project: 'HAL'
  1. HAL
  2. HAL-588

Gracfully handle optional resource references

XMLWordPrintable

        @AccessControl(resources = {
                  "/{selected.host}/server-config=*",
                  "opt://{selected.host}/server-config=*/system-property=*"},
                  recursive = false)
      

      leads to

      Caused by: java.lang.AssertionError: Invalid token expression opt: at org.jboss.as.console.mbui.model.mapping.AddressMapping.asResource(AddressMapping.java:172) at org.jboss.as.console.mbui.dmr.ResourceAddress.<init>(ResourceAddress.java:27) at org.jboss.as.console.client.core.ReadRequiredResources.add(ReadRequiredResources.java:70)

              hpehl@redhat.com Harald Pehl
              rhn-support-hbraun Heiko Braun
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: