Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-3024

Remove OperationContext.readModelForUpdate() or fix impl to not create resources

    XMLWordPrintable

    Details

      Description

      OperationContextImpl.readModelForUpdate() creates the target resource if it is not found. That's not good; createResource or addResource are for that and readResourceForUpdate does not do this.

      No code in WF itself actually calls this method.

      Either:

      1) Remove the method (it's been deprecated since June 2011)
      2) Change the impl to a simple readResourceForUpdate(address).getModel()

        Attachments

          Activity

            People

            Assignee:
            brian.stansberry Brian Stansberry
            Reporter:
            brian.stansberry Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: