Issue Details (XML | Word | Printable)

Key: MBS-7545
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Normal Normal
Assignee: Ulrich Klauer
Reporter: Michael Wiencek
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
MusicBrainz Server

Release editor creates empty URL edits if you just change the release name

Created: 14/May/14 07:12 PM   Updated: 26/May/14 07:47 AM  Due: 26/May/14   Resolved: 26/May/14 07:47 AM
Component/s: Release editor
Affects Version/s: None
Fix Version/s: 2014-05-26


Sort Order: Ascending order - Click to sort in descending order
Ulrich Klauer added a comment - 14/May/14 07:23 PM

This is the date issue, should be fixed by my pending PR.

"new":{"end_date":{},"begin_date":{}},
"old":{"end_date":{"month":null,"day":null,"year":null},"begin_date":{"month":null,"day":null,"year":null}}

Ulrich Klauer added a comment - 14/May/14 07:26 PM

Ah, actually no, it won't fix this as-is (but can easily be changed to include this).


Michael Wiencek added a comment - 14/May/14 07:26 PM

It's a similar issue, but the release editor uses WS::js::Edit, not Controller::EditRelationships, so I have to copy the fix there too.


Michael Wiencek added a comment - 14/May/14 07:29 PM

Or the code can be moved up to the Edit class to have it normalize {} to { year => undef, month => undef, day => undef } for both places.


Ulrich Klauer added a comment - 14/May/14 07:30 PM

Will try this.


Ulrich Klauer added a comment - 14/May/14 09:33 PM