Forum Activity for @nate

nate
@nate
02/25/14 04:32:09PM
917 posts

JrAction Possible Bug


Jamroom Developers

I have one module that the add_to_time_line button mysteriously gets turned off upon submit and now another module that has no support for jrAction, has no timeline button and yet gives me this error.

Quote:JSON response error: {"CRI":"invalid key name: jraction_add_to_timeline - key name must begin with module prefix: djlicense_"}

There is no such element in the form at all.
updated by @nate: 04/03/14 06:55:37AM
nate
@nate
02/21/14 11:02:06PM
917 posts

Jr Actions


Jamroom Developers

Even in the xtSong create_save function the jraction_add_to_timeline is turned off in the post. But of course the checkbox is actually checked when posting. Some how it's getting turned off.
nate
@nate
02/21/14 03:54:43PM
917 posts

Jr Actions


Jamroom Developers

Quote:(2014-02-21T23:48:32+00:00 0.31395000)-(mem: 12058624)-(pid: 22684)-(uri: /songs/create_save/__ajax=1) |jrAction post is: = off|

Something is turning it off.


updated by @nate: 02/21/14 03:56:47PM
nate
@nate
02/20/14 01:07:32PM
917 posts

Jr Actions


Jamroom Developers

I've chase it down but now I don't understand the failure. The inpute is in place and it is checked by default.

if (isset($_post['jraction_add_to_timeline']) && $_post['jraction_add_to_timeline'] != 'on') {
  fdebug('jrAction fails timeline check');
  return true;
}
Quote:(2014-02-20T20:18:14+00:00 0.20838200)-(mem: 12058624)-(pid: 32504)-(uri: /songs/create_save/__ajax=1) |jrAction fails timeline check|
nate
@nate
02/20/14 10:12:10AM
917 posts

Jr Actions


Jamroom Developers

What does this do?

// Let other modules cancel our action if needed
$_data = jrCore_trigger_event('jrAction', 'action_save', $_data, $_post);
nate
@nate
02/19/14 08:02:30AM
917 posts

Jr Actions


Jamroom Developers

Quote:[artist6]: jrAction_save() after pruning, empty result!
nate
@nate
02/18/14 04:06:11PM
917 posts

Jr Actions


Jamroom Developers

Don't bother. I'll chase it down.

The only action being saved, that I can see, is from the jrFollower module.
nate
@nate
02/18/14 03:49:08PM
917 posts

Jr Actions


Jamroom Developers

Yes, 92 is the correct ID.
nate
@nate
02/18/14 03:33:06PM
917 posts

Jr Actions


Jamroom Developers

It's after the db save function. When I said nothing, I meant in the actions table.
nate
@nate
02/18/14 03:11:42PM
917 posts

Jr Actions


Jamroom Developers

I'm gonna debug the jrAction_save() function.
  84