Skip to content

Content$update() should use the response of the PATCH to replace the Content object's local data. #456

Description

@toph-allen

The Content$update() method of the Content class updates content on the server but does not update the local copy of the data, requiring another call to do so or simply working with an out-of-sync piece of content.

Any code calling Content$update() internally should be audited — if it calls Content$get_content_remote() after that call can be removed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions