Unable to move channels or categories

(#149) Bug Confirmed channels

Thread

Comment by @IntrinsicClarity
RexSystem 1 vote originally by @IntrinsicClarity on GitHub
This issue seems to stem from Fluxer mistaking the placement of the dragged object to be placed in the wrong place in respect to a voice channel. It does not matter which object the user is dragging, may it be a text channel, category or anything else. It appears that it will always believe that the user is trying to place a voice channel above an existing channel of another type. If there is a voice channel in the server AT ALL, regardless of where, this error seems to come up when trying to re-position a channel or category. The PATCH request is returning this result:
{
    "code": "INVALID_FORM_BODY",
    "message": "Ogiltig formulärkropp.",
    "errors": [
        {
            "path": "preceding_sibling_id",
            "message": "Röstkanaler kan inte placeras ovanför textkanaler i samma kategori.",
            "code": "VOICE_CHANNELS_CANNOT_BE_ABOVE_TEXT_CHANNELS"
        }
    ]
}
If ALL voice channels are removed from the server the drag&drop re-ordering of channels and categories seems to work flawlessly.