Welcome to the nuBuilder forums!

Please register and login to view forums and other content only available to registered users.

Upgrade nuBuilder 4 to nuBuilder 4.5

Questions related to installing, updating, setting up and configuring
kknm
Posts: 313
Joined: Sat Apr 11, 2020 12:03 am
Contact:

Upgrade nuBuilder 4 to nuBuilder 4.5

Unread post by kknm »

Is it possible to ? And How ?
kev1n
nuBuilder Team
Posts: 3801
Joined: Sun Oct 14, 2018 6:43 pm
nuBuilder Version: 4.5
Has thanked: 2 times
Been thanked: 9 times
Contact:

Re: Upgrade nuBuilder 4 to nuBuilder 4.5

Unread post by kev1n »

Yes, follow these instructions: https://forums.nubuilder.cloud/viewtopic. ... 652#p22652

You can also create a copy of your current database to test the upgrade and see if everything goes well.
kknm
Posts: 313
Joined: Sat Apr 11, 2020 12:03 am
Contact:

Re: Upgrade nuBuilder 4 to nuBuilder 4.5

Unread post by kknm »

kev1n wrote:Yes, follow these instructions: https://forums.nubuilder.cloud/viewtopic. ... 652#p22652

You can also create a copy of your current database to test the upgrade and see if everything goes well.
Updated ... but the calendar field remains blank after picking a date. The calendar is in Russian, which pleases me.

Code: Select all

Uncaught TypeError: Cannot read property 'jsmonth' of undefined
    at nuCalChoice (nucalendar.js?ts=20210809104830:403)
    at HTMLDivElement.onclick (index.php:1)
kev1n
nuBuilder Team
Posts: 3801
Joined: Sun Oct 14, 2018 6:43 pm
nuBuilder Version: 4.5
Has thanked: 2 times
Been thanked: 9 times
Contact:

Re: Upgrade nuBuilder 4 to nuBuilder 4.5

Unread post by kev1n »

What date format is set?
kknm
Posts: 313
Joined: Sat Apr 11, 2020 12:03 am
Contact:

Re: Upgrade nuBuilder 4 to nuBuilder 4.5

Unread post by kknm »

kev1n wrote:What date format is set?
For any format, no selection occurs.
If you don't choose a language, then the choice works.I compared calendar.js of different versions and found no obvious errors - almost identical.
kev1n
nuBuilder Team
Posts: 3801
Joined: Sun Oct 14, 2018 6:43 pm
nuBuilder Version: 4.5
Has thanked: 2 times
Been thanked: 9 times
Contact:

Re: Upgrade nuBuilder 4 to nuBuilder 4.5

Unread post by kev1n »

Ok, I will check tonight if the same happens here.
kev1n
nuBuilder Team
Posts: 3801
Joined: Sun Oct 14, 2018 6:43 pm
nuBuilder Version: 4.5
Has thanked: 2 times
Been thanked: 9 times
Contact:

Re: Upgrade nuBuilder 4 to nuBuilder 4.5

Unread post by kev1n »

Try this:

In nucalendar.js, replace in the function nuCalChoice(t) this line:

Code: Select all

	var M	= Number(FMT[String($('#nuCalMonth').html()).substr(0,3)]['jsmonth']);
with

Code: Select all

	var M	= Number(FMT[nuPad2(window.nuCalMonth + 1)]['jsmonth']);
Then log in again.
kev1n
nuBuilder Team
Posts: 3801
Joined: Sun Oct 14, 2018 6:43 pm
nuBuilder Version: 4.5
Has thanked: 2 times
Been thanked: 9 times
Contact:

Re: Upgrade nuBuilder 4 to nuBuilder 4.5

Unread post by kev1n »

I have made a small correction to my code above.
kknm
Posts: 313
Joined: Sat Apr 11, 2020 12:03 am
Contact:

Re: Upgrade nuBuilder 4 to nuBuilder 4.5

Unread post by kknm »

Thanks, it worked ...
There were also problems in the new update -
Report fields that used to be in 1 line are now wrapped on 2 lines, and the size of the header allows you to fit in 1 line, but the margins are very large. This appeared after the upgrade from 4 to 4.5, also after the 4.5 update to the last update.
screen.png
screen.png (97.88 KiB) Viewed 1940 times
kev1n
nuBuilder Team
Posts: 3801
Joined: Sun Oct 14, 2018 6:43 pm
nuBuilder Version: 4.5
Has thanked: 2 times
Been thanked: 9 times
Contact:

Re: Upgrade nuBuilder 4 to nuBuilder 4.5

Unread post by kev1n »

What fonts are you using? There is no extra margin when using some English strings.
Post Reply