Assigning items from library not working

Asked by Tiedo Boerema

Working in version 1.4.0 I wanted to assign an existing item in the library to a specific timeline.
I drag (also tried doubleclick) an item to the 'Assign Media' column and then click on the Assign button.
Nothing happens... Following error can be seen:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E; InfoPath.1)
Timestamp: Fri, 2 Nov 2012 09:37:12 UTC

Message: 'console' is undefined
Line: 116
Char: 5
Code: 0
URI: http://localhost/xibo/lib/js/layout.js

Any ideas?

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Alex Harrington
Solved:
Last query:
Last reply:
Revision history for this message
Alex Harrington (alexharrington) said :
#1

Just tested here on 1.4.0 release using Chrome 22.0.1229.94 and it works fine.

Can you check if it's Internet Explorer related by trying a different browser? Also make sure you've cleared your Internet Explorer cache and then restarted Internet Explorer completely before trying in IE again.

Alex

Revision history for this message
Tiedo Boerema (tiedo-boerema) said :
#2

Chrome works fine, Firefox works fine (both latest version), Internet Explorer (with cleared cache) does not work well and I've tried it on different machines with as well IE version 8 as version 9.

I don't know if you have other ideas even though using Chrome is a good alternative I would prefer to use IE, since this is our companies standard browser...

Revision history for this message
Alex Harrington (alexharrington) said :
#3

I'll log it as a bug and it should be fixed - if possible - in the next stable release.

Alex

Revision history for this message
AndyC (andrew-coster-nulc) said :
#4

I too have this problem, which has basically rendered Xibo unusable in my environment. We have Internet Explorer on corporate machines and no other browser, and no nobody can use Xibo in the way they have been trained to. This is a major issue for us, and really needs addressing soon. Works OK in Chrome, but not in IE8 or 9.

Revision history for this message
Alex Harrington (alexharrington) said :
#5

Andy - if they press F12 to turn on Developer Tools while using Xibo it will work as expected - at least in the tests I've done.

Alex

Revision history for this message
Best Alex Harrington (alexharrington) said :
#6

Infact having looked at that file, try just commenting out line 116 in that file:

http://bazaar.launchpad.net/~xibo-maintainers/xibo/brorsen/view/head:/server/lib/js/layout.js#L116

I think that should solve it.

So line 116 becomes:

// console.log(mediaList);

Alex

Revision history for this message
AndyC (andrew-coster-nulc) said :
#7

Thanks Alex, indeed that does work on my machine but unfortunately users can not activate developer view for security reasons. It is disabled via group policy.

Revision history for this message
AndyC (andrew-coster-nulc) said :
#8

That's cracked it, cheers Alex!

Revision history for this message
Tiedo Boerema (tiedo-boerema) said :
#9

Thanks Alex Harrington, that solved my question.