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

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

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 9.0.0.Alpha1
    • None
    • Management
    • None

    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

            bstansbe@redhat.com Brian Stansberry
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: