Page 1 of 1

Webfig skin error

Posted: Sat Mar 17, 2012 11:40 pm
by ditonet
Today I've tried to make Webfig skin, just for testing, only few menus removed.
When I'm logging to Webfig as user with this skin selected, web browser window is empty.
Web browser reports: 'Uncaught TypeError: Cannot read property 'firstChild' of null' in 'engine.js'.
I've tried almost every browser (FF, Chrome, Opera, IE), still the same.
RouterOS 5.14, RB433AH.
Any ideas???

TIA,

Re: Webfig skin error

Posted: Tue Mar 20, 2012 9:29 am
by sergejs
Please post your settings from /user, that are used for skin user.

Re: Webfig skin error

Posted: Tue Mar 20, 2012 10:32 am
by ditonet
@Sergejs,

Below are user setting, affected user is userro:
/user group
set read name=read policy=local,telnet,ssh,reboot,read,test,winbox,password,web,sniff,sensitive,api,!ftp,!write,!policy skin=default
set write name=write policy=local,telnet,ssh,reboot,read,write,test,winbox,password,web,sniff,sensitive,api,!ftp,!policy skin=default
set full name=full policy=local,telnet,ssh,ftp,reboot,read,write,policy,test,winbox,password,web,sniff,sensitive,api skin=default
add name=safe policy=ssh,ftp,!local,!telnet,!reboot,!read,!write,!policy,!test,!winbox,!password,!web,!sniff,!sensitive,!api skin=default
add name=skinny policy=local,telnet,ssh,ftp,reboot,read,write,policy,test,winbox,password,web,sniff,sensitive,api skin=testowa
/user
add address=0.0.0.0/0 disabled=no group=full name=grzegorz
add address=0.0.0.0/0 disabled=no group=skinny name=userro
and content of 'testowa.json':
{
    Files: 0,
    'New Terminal': 0,
    MetaROUTER: 0,
    'Make Supout.rif': 0,
    Manual: 0,
    WinBox: 0,
    Graphs: 0,
    License: 0,
    Undo: 0,
    Redo: 0,
    'Hide Passwords': 0,
    'Safe Mode': 0
}
This skin was also tested on RB751U, ROS 5.14, same problem :(

Regards,

Re: Webfig skin error

Posted: Wed Mar 28, 2012 10:00 am
by ditonet
@Sergejs,

Any news???

Regards,

Re: Webfig skin error

Posted: Thu Mar 29, 2012 9:40 am
by normis
Well but did you try to delete the JSON file?

Re: Webfig skin error

Posted: Thu Mar 29, 2012 10:06 am
by ditonet
Normis,
Well but did you try to delete the JSON file?
Many times :D
Default skin works fine and there is no problem with users with 'skin=default'.
Problem is with newly designed skin as described above.
Removing this skin (testowa.json in this case) and making new one (even with different name) don't resolve my problem.
Recently I found other error reported by Firefox: 'A is null'.

Regards,

Re: Webfig skin error

Posted: Thu Mar 29, 2012 10:54 am
by normis
email support, we will give you a pre-release version where this should be fixed.

Re: Webfig skin error

Posted: Thu Mar 29, 2012 11:45 am
by ditonet
Still the same with 5.15rc1 :(
Packages are dated Mar/29/2012, 7 a.m
Is this latest RC version with mentioned fix?

Regards,

Re: Webfig skin error

Posted: Thu Mar 29, 2012 11:54 am
by normis
yes of course, we couldn't give you packages of the future, so we gave you fresh packages that were built an hour before you asked :)

we will see why the fix didn't work on your system.

Re: Webfig skin error

Posted: Thu Mar 29, 2012 12:14 pm
by ditonet
yes of course, we couldn't give you packages of the future, so we gave you fresh packages that were built an hour before you asked
I've asked you because is possible that new version was compiled, but not uploaded to server.
If you need additional information let me know.

Regards,

Re: Webfig skin error

Posted: Tue Apr 10, 2012 10:15 pm
by thantoldo
I confirm exactly the same error, routeros 5.14 at RB750. Checked at all browsers.
Firefox reports: 'A is null' at engine.js (line 1).

Regards,
Thanos

Re: Webfig skin error

Posted: Wed Apr 11, 2012 3:21 am
by marioclep
Do not uncheck the menues "undo", "redo" and "hide menu" and check again.

Re: Webfig skin error

Posted: Wed Apr 11, 2012 5:25 pm
by ditonet
Do not uncheck the menues "undo", "redo" and "hide menu" and check again.
It's workaround only, which shows that Webfig contains some bugs :(
Webfig is great feature and I hope MT will fix it soon.

Regards,

Re: Webfig skin error

Posted: Thu Apr 12, 2012 2:00 am
by thantoldo
Do not uncheck the menues "undo", "redo" and "hide menu" and check again.
results into q is null -> doesnt work! :shock:

menus "undo", "redo", "hide menu" and "safe mode" checked -> works, but then after log in "design skin" is active and that user can see everything in design mode, although his privileges are constrained by his group permissions :shock:

menu "safe mode" checked, the other three unchecked -> z is null -> doesnt work :shock:

Any other combination of these doesnt work!

Any clues?

Regards,
Thanos

Re: Webfig skin error

Posted: Fri Apr 13, 2012 7:34 pm
by marioclep
It's a bug... use Ros V5.15

Regards

Re: Webfig skin error

Posted: Sat Apr 14, 2012 12:30 pm
by ditonet
I tried latest 5.15rc1, it seems that some bugs are fixed, but I'm still unable to create 'Status' page.

Regards,

Re: Webfig skin error

Posted: Fri Apr 20, 2012 9:43 pm
by ditonet
There is a new ROS version (5.15) but my problem with 'Status' still exist :(
If someone have skin with working 'Status' page, post it (.json file) please.

TIA,