unt-libraries/coda

xmlToQueueEntry does not set the queue position

damonkelley opened this issue · 0 comments

    if position:
        entry.position = int(getValueByName(queueEntryNode, "position"))

Here the position attribute on QueueEntry object is being set. Unfortunately, position is not mapped to a table column, and the value is not being persisted. To correct this we need to change the attribute to queue_position.

Link to actual code: xmlToQueueEntry()