Page MenuHomePhabricator

Widgets property mysteriously refuses to update in board route
Closed, ResolvedPublic

Description

hitting up against this issue again:

  1. I add a board and then verify it's in the db.
  2. I update the board and verify the update in the db.
  3. I go to the route for the board (/board/3) and get:

{

"id": "3",
"ownerId": 1,
"displayName": "Honey Has A Board",
"description": "She likes her doggy board.",
"isShared": true,
"widgets": []

}

I see there are no widgets, even though I specified:

$.ajax({

method: 'PUT',
url: '/board/3',
contentType: 'application/json; charset=UTF-8',
data: JSON.stringify({
    displayName: 'Honey Has A Board',
    description: 'She likes her doggy board.',
    widgets: [ 2, 5, 1 ],
    isShared: true
}),
success: function(stuff) {
    alert( JSON.stringify( stuff ) );
}

});

Any other changes besides changes to the widgets property in the above function will immediately update the JSON output from the route....
And everything is ok in the db.....
And I gave it hours to let node update or whatever crazy issue it was having with lag that one time......

halp

Event Timeline

pizzzacat assigned this task to Ejegg.
pizzzacat raised the priority of this task from to Normal.
pizzzacat updated the task description. (Show Details)
pizzzacat moved this task to Bugs on the Fundraising Dash board.
pizzzacat added a subscriber: pizzzacat.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 28 2015, 10:42 PM
pizzzacat closed this task as Resolved.Jan 30 2015, 8:27 PM
pizzzacat set Security to None.