Page 1 of 2
Upgrade nuBuilder 4 to nuBuilder 4.5
Posted: Mon Aug 09, 2021 8:47 am
by kknm
Is it possible to ? And How ?
Re: Upgrade nuBuilder 4 to nuBuilder 4.5
Posted: Mon Aug 09, 2021 8:55 am
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.
Re: Upgrade nuBuilder 4 to nuBuilder 4.5
Posted: Mon Aug 09, 2021 10:02 am
by kknm
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)
Re: Upgrade nuBuilder 4 to nuBuilder 4.5
Posted: Mon Aug 09, 2021 12:39 pm
by kev1n
What date format is set?
Re: Upgrade nuBuilder 4 to nuBuilder 4.5
Posted: Mon Aug 09, 2021 12:47 pm
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.
Re: Upgrade nuBuilder 4 to nuBuilder 4.5
Posted: Mon Aug 09, 2021 1:15 pm
by kev1n
Ok, I will check tonight if the same happens here.
Re: Upgrade nuBuilder 4 to nuBuilder 4.5
Posted: Mon Aug 09, 2021 2:27 pm
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.
Re: Upgrade nuBuilder 4 to nuBuilder 4.5
Posted: Mon Aug 09, 2021 6:50 pm
by kev1n
I have made a small correction to my code above.
Re: Upgrade nuBuilder 4 to nuBuilder 4.5
Posted: Wed Aug 11, 2021 8:54 am
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 (97.88 KiB) Viewed 1967 times
Re: Upgrade nuBuilder 4 to nuBuilder 4.5
Posted: Wed Aug 11, 2021 1:27 pm
by kev1n
What fonts are you using? There is no extra margin when using some English strings.