Creating a new smart edit takes very long, may time out or fail without feedback #2691

Open
opened 2015-02-21 08:27:08 +00:00 by rlx · 2 comments
Owner
No description provided.
rlx added the
backend
label 2015-02-21 08:27:08 +00:00
rlx added this to the 14.04 milestone 2015-02-21 08:27:08 +00:00
j was assigned by rlx 2015-02-21 08:27:08 +00:00
rlx added the
normal
defect
labels 2015-02-21 08:27:08 +00:00
Author
Owner

It doesn't fail without feedback, but the sequence of API calls takes too long, and the spinner will stop spinning before the list is there.

addEdit -> getEdit -> find (1) -> editEdit (2) -> findEdits (3 times) -> setUI -> findEdits

(1) with wrong arguments:

{"query":{"conditions":[{"key":"list","value":"rlx:Untitled","operator":"=="}],"operator":"&"},"keys":["id","posterFrame"],"sort":[{"key":"votes","operator":""}],"range":[0,4]}

(2) with these arguments:

{"id":"rlx:Untitled","posterFrames":[]}
It doesn't fail without feedback, but the sequence of API calls takes too long, and the spinner will stop spinning before the list is there. addEdit -> getEdit -> find (1) -> editEdit (2) -> findEdits (3 times) -> setUI -> findEdits (1) with wrong arguments: ``` {"query":{"conditions":[{"key":"list","value":"rlx:Untitled","operator":"=="}],"operator":"&"},"keys":["id","posterFrame"],"sort":[{"key":"votes","operator":""}],"range":[0,4]} ``` (2) with these arguments: ``` {"id":"rlx:Untitled","posterFrames":[]} ```
Author
Owner

Do we (temporarily) need a dialog that's visible while the edit is being created?

Do we (temporarily) need a dialog that's visible while the edit is being created?
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: 0x2620/pandora#2691
No description provided.