Welcome to the nuBuilder Forums!

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

Auto-resizing of the columns no longer works Topic is solved

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

Auto-resizing of the columns no longer works

Unread post by gerese »

Hi, I updated my app with the latest version of nuBuilder.
At the first login I received the error:
update error.jpg

Later error it did not appear again.
In nuDebug I found the error:

Code: Select all

[0] : ===PDO MESSAGE===
SQLSTATE[21S01]: Insert value list does not match column list: 1136 Column count doesn't match value count at row 1
===SQL===========
REPLACE INTO zzzzsys_cloner SELECT * FROM sys_zzzzsys_cloner
===BACK TRACE====
C:\wamp64\www\sisf\core\nusystemupdatelibs.php - line 383 (nuRunQuery)
C:\wamp64\www\sisf\core\nusystemupdate.php - line 103 (nuAppendToSystemTables)
C:\wamp64\www\sisf\core\nusystemupdate.php - line 23 (nuRunUpdate)
In the browsing forms, the auto-resizing of the columns no longer works.

I have updated from version
DB Version: V.4.5-2022.10.28.00
Files Version: V.4.5-2022.10.29.04

... to the latest github version.

I use: PHP 7.4.9

Thank you.
You do not have the required permissions to view the files attached to this post.
nuBuilderForte .... BIG Like !!!
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Auto-resizing of the columns no longer works

Unread post by kev1n »

Hi,

Thanks for reporting.

Fixed nuResizeBrowseColumns() in nuform.js
gerese
Posts: 132
Joined: Sun Dec 16, 2018 6:13 pm
Location: România
Has thanked: 30 times
Been thanked: 4 times

Re: Auto-resizing of the columns no longer works

Unread post by gerese »

Hi, for error from the first login , I found this : https://stackoverflow.com/questions/678 ... h-and-will
in the file nudata.php on line 136
instead of

Code: Select all

. $row + 1 .
brackets must be added

Code: Select all

. ($row + 1) . 
nuBuilderForte .... BIG Like !!!
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Auto-resizing of the columns no longer works

Unread post by kev1n »

Thanks, it's fixed on Github.
selector
Posts: 41
Joined: Tue Feb 22, 2022 1:55 pm
Has thanked: 9 times

Re: Auto-resizing of the columns no longer works

Unread post by selector »

Kevin please check resizing of elements, adding by function nuAddBrowseTitleSelect
In nuSetBrowseColumns css selector

Code: Select all

document.querySelectorAll(`[data-nu-column="${i}"], #nuBrowseTitle${i}`);
Does not cover these elements. This will fix it

Code: Select all

columnElements = document.querySelectorAll(`[data-nu-column="${i}"], #nuBrowseTitle${i},#nuBrowseTitle${i}_select`);
Last edited by selector on Fri Apr 07, 2023 3:49 pm, edited 1 time in total.
kev1n
nuBuilder Team
Posts: 4292
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 444 times
Contact:

Re: Auto-resizing of the columns no longer works

Unread post by kev1n »

Thanks for that, It's on Github.
Post Reply