Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Edit record flaw Topic is solved

Questions related to using nuBuilder Forte.
Post Reply
toms
Posts: 785
Joined: Sun Oct 14, 2018 11:25 am

Edit record flaw

Unread post by toms »

Hi,

Sometimes, when clicking a record in the Browse Form, it jumps back to nuhome instead of opening the Edit Form.
I've seen this over and over again. But it doesn't always happen, only occasionally.
As a result, the breadcrumbs are messed up.

You'll see it in this recording (the glitch occurs after 5 seconds for the first time)
http://vimeo.com/251023960
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Edit record flaw

Unread post by admin »

toms,

I've seen it too but I haven't got any answers yet.

I'll have a close look at your video but let us know if you get any other clues - anyone.

Steven
toms
Posts: 785
Joined: Sun Oct 14, 2018 11:25 am

Re: Edit record flaw

Unread post by toms »

I debugged a bit and found out that whenever the var r is undefined, the glitch happens.

Code: Select all

var r				= window.nuFORM.getProperty('redirect_form_id');

The question is therefore why the variable is sometimes undefined.
You do not have the required permissions to view the files attached to this post.
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Edit record flaw

Unread post by admin »

toms,

Great find!

All I needed to do was add redirect_form_id as a default breadcrumb property.

Easy to fix but hard to find.

(Its now on Github)

Steven
toms
Posts: 785
Joined: Sun Oct 14, 2018 11:25 am

Re: Edit record flaw

Unread post by toms »

The jumping back seems to be fixed now. However, there is still a little flaw. Sometimes, an empty breadcrumb is added as shown in the picture.
You do not have the required permissions to view the files attached to this post.
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Edit record flaw

Unread post by admin »

toms,

Let me know if you can repeat it.

Steven
toms
Posts: 785
Joined: Sun Oct 14, 2018 11:25 am

Re: Edit record flaw

Unread post by toms »

I found out that this happens when you double-click on an item in the Browse form.

Some people double-click out of habit..
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Edit record flaw

Unread post by admin »

toms,

I think its fixed now and on Github.

Steven
toms
Posts: 785
Joined: Sun Oct 14, 2018 11:25 am

Re: Edit record flaw

Unread post by toms »

Thanks - it looks all good to me now :D
admin
Site Admin
Posts: 2814
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Edit record flaw

Unread post by admin »

.
Post Reply