llParcelMediaCommandList(
[PARCEL_MEDIA_COMMAND_TEXTURE, ...]) expects a key for the next argument, but if a key is passed in just double quotes (") like every other function that expects a key to be passed to it silently fails. One must explicitly typecast the key as a key for the function to work as expected.
Steps to Re[produce the bug:
In a script, use the following line of code (or similar providing your own texture UUID)
llParcelMediaCommandList([PARCEL_MEDIA_COMMAND_TEXTURE, "c2617dcf-9860-4494-62ff-6c1d516717cf"]);
This will silently fail, not setting the Parcel's Media texture.
this line of code, however works
llParcelMediaCommandList([PARCEL_MEDIA_COMMAND_TEXTURE, (key) "c2617dcf-9860-4494-62ff-6c1d516717cf"]);
(Note: llParcelMediaCommandList will only work if in an object owned by the landowner or deeded to the land-owning group on the land on which it is placed)
Observed Results:
When a key is passed that is not explicitly typecast as a key, the function will silently fail, not setting the media texture.
When a key is explicitly typecast as a key, it will set the Media Texture correctly.
Expected Results:
The function should know its a key being passed to it, and not a string, as other functions do, it should not have to be typecast as a key in order to function.