Welcome to the nuBuilder Forums!

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

Bug on browseform + search

Questions related to using nuBuilder Forte.
Post Reply
gerese
Posts: 132
Joined: Sun Dec 16, 2018 6:13 pm
Location: România
Has thanked: 30 times
Been thanked: 4 times

Bug on browseform + search

Unread post by gerese »

Hi, do you have this bug ?
Is manifested in the versions launched on 28.06.2020 and 29.06.2020.

3.jpg
4.jpg
You do not have the required permissions to view the files attached to this post.
nuBuilderForte .... BIG Like !!!
admin
Site Admin
Posts: 2815
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Bug on browseform + search

Unread post by admin »

gerese,

Can you give more info?

eg. Does it just happen on only 1 Form.


Steven
gerese
Posts: 132
Joined: Sun Dec 16, 2018 6:13 pm
Location: România
Has thanked: 30 times
Been thanked: 4 times

Re: Bug on browseform + search

Unread post by gerese »

admin wrote:gerese,

Can you give more info?

eg. Does it just happen on only 1 Form.


Steven

Hi Steven,
It manifests in all forms, not just in 1 form.

I also tried the versions released on 2020-06-09, 2020-05-19, 2020.04.19 and nubuilder4 do not have this problem.
nuBuilderForte .... BIG Like !!!
kev1n
nuBuilder Team
Posts: 4307
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 448 times
Contact:

Re: Bug on browseform + search

Unread post by kev1n »

I am able to replicate the issue as follows:

1. Browse Screen: Search for any text
2. In the search results, click on a string that is red
3. Edit Screen opens with a "null" record.
click.gif
I came across a code that I honestly do not understand. An onclick event is added to the highlighted text: this.offsetParent.onclick()
If I remove that, everything works as expected, in any situation.

Fix:
Replace

Code: Select all

h 		= h.replaceAll('`````', '<span class="nuBrowseSearch" onclick="this.offsetParent.onclick()">', true);
(nuform.js#L2896)

With:

Code: Select all

h         = h.replaceAll('`````', '<span class="nuBrowseSearch" >', true);
You do not have the required permissions to view the files attached to this post.
admin
Site Admin
Posts: 2815
Joined: Mon Jun 15, 2009 2:23 am
Been thanked: 25 times

Re: Bug on browseform + search

Unread post by admin »

Guys,

It's now fixed.

Thanks.


Steven
Post Reply