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

Gracfully handle optional resource references

    XMLWordPrintable

    Details

      Description

        @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)

        Attachments

          Activity

            People

            Assignee:
            harald.pehl Harald Pehl
            Reporter:
            heiko.braun Heiko Braun
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: