U4-9836 - CreatorId on a media is overwritten on save

Created by Anders Bjerner 01 May 2017, 10:51:05 Updated by Shannon Deminick 24 May 2017, 05:37:56

Tags: PR

Subtask of: U4-9609

What did you do?

  • User #1 creates/uploads a new media in Umbraco
  • User #2 later saves the media

What did you expect to happen?

  • The "Created by" property should show ''User #1'' as the original author

What actually happened?

  • The "Created by" property shows ''User #2'' as the original author

The creator of the media is overwritten on save, which then affects the "Created by" property in the backoffice as well as the CreatorId property in both IPublishedContent and IMedia.

The fact that the "Created by" property is wrong makes it hard for larger organisations to keep track of who actually uploaded a given media, so a fix for this would be greatly appreciated.

So far I have tested and confirmed that 7.5.4, 7.5.13 and 7.6.0-RC are affected.


Andy Butland 09 May 2017, 14:03:10

PR for this here - https://github.com/umbraco/Umbraco-CMS/pull/1937 - looks like a simple fix.

Priority: Normal

Type: Bug

State: Fixed


Difficulty: Normal


Backwards Compatible: True

Fix Submitted: Pull request

Affected versions:

Due in version: 7.5.14


Story Points:

Cycle: 1