Page 1 of 1

Item-DmxID > 255 is not sent (JavaScript)

PostPosted: Fri Sep 27, 2013 4:59 pm
by griffla
Hi,

i try to send an item-DmxID greater than 255 with PBAutoCommands.addContentToFolder() over JavaScript but it doesn't work.

It works with DmxIDs <= 255. The content is added to the Manager folder with the given ID.
But if the ID is greater than 255 the content is added but no IDs are assigned.

Why does this happen? I have the possibility to assign item(file)-IDs until 2147483647 directly in the Manager.

Edit: My web app is running on a local apache web server.
Edit: Translated to englisch.

Re: Item-DmxID > 255 is not sent (JavaScript)

PostPosted: Mon Sep 30, 2013 11:37 am
by Dennis Kuypers
Hi,

It seems that the Automation interface only accepts bytes, although the function signature suggests it allows integers. I queued a bug ticket for this.

Best regards
Dennis

Re: Item-DmxID > 255 is not sent (JavaScript)

PostPosted: Sun Oct 06, 2013 2:29 pm
by griffla
Ok, thanks. It would great if you could give me a short feedback if the ticket status changes or comments arrive.