Allow reverse direction when changing type of series-to-series relationships from "subseries" to "part of"

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Normal
    • None
    • Affects Version/s: None
    • Component/s: Edit system
    • None

      Now that the latest updates on the schema has added support for series of series, I've been trying to change the type of existing relationships for the following series and its sub-components from "subseries" to "part of" to no success.

      I have already changed the type of the parent series from "Recording award" (I had to chose a type when I originally added it, so even though there were no recordings linked to it, all of its child entities were set to "Recording series") to "Series series". So, now I'm trying to change the existing relationships into its children from "PARENT has subseries CHILD" to "CHILD is a part of PARENT" to no success, getting the following Internal server error instead:

      The edit could not be created. Exception (string): Incorrect entity type for part of series relationship at lib/MusicBrainz/Server/Data/Relationship.pm line 870.
      
       at lib/Sql.pm line 364.
       at lib/Sql.pm line 364. at lib/MusicBrainz/Server/Model/MB.pm line 20
      MusicBrainz::Server::Model::MB::with_transaction(?, ?) called at lib/MusicBrainz/Server/Controller.pm line 197
      MusicBrainz::Server::Controller::edit_action(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) called at lib/MusicBrainz/Server/Controller/Role/EditRelationships.pm line 382
      MusicBrainz::Server::Controller::Series::edit_action(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) called at lib/MusicBrainz/Server/Controller/Role/Edit.pm line 90
      Catalyst::dispatch(?) called at lib/MusicBrainz/Server.pm line 402
      MusicBrainz::Server::__ANON__ at lib/MusicBrainz/Server.pm line 367
      MusicBrainz::Server::with_translations(?, ?) called at lib/MusicBrainz/Server.pm line 403
      Class::MOP::Method::Wrapped::__ANON__(?) called at lib/MusicBrainz/Server.pm line 413
      Class::MOP::Method::Wrapped::__ANON__(?) called at lib/MusicBrainz/Server.pm line 426
      Class::MOP::Method::Wrapped::__ANON__(?) called at lib/MusicBrainz/Server.pm line 545
      

      Maybe it's just me who misunderstood what types of relationships are allowed. But interestingly enough, I've been able to change the existing "subseries" relationships into "PARENT is part of CHILD" which is the opposite direction to what I'm trying to achieve, with the resulting info being counterintuitive.
      On the other hand, I was able add a new relationship from scratch in the desired direction "CHILD is a part of PARENT". However, repeating the same for each of the child series will result in a heap of duplicates and edits open for a week for their removal. A simpler implementation would sure be nice.

            Assignee:
            Unassigned
            Reporter:
            Deniz C
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Version Package