Skip to content

downstream_customized is being set on blocks without upstreams #37411

@kdmccormick

Description

@kdmccormick

While looking at recent OLX exports I've noticed that many blocks without upstreams (that is: blocks which are not from a library) have their downstream_customized fields set. This is confusing and creates unnecessary noise in the OLX.

I think the fix for this is simple. In UpstreamSyncMixin.editor_saved, we should return early if not self.upstream.

def editor_saved(self, user, old_metadata, old_content):

We should add a small unit test for this, too.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions