[JIRA] Commented: (SVC-5293) LSL Throws An Error Accessing Empty Notecards/llGetNumberOfNotecardLines Can't Return Zero

Harleen Gretzky (JIRA) no-reply at lindenlab.cascadeo.com
Tue Jan 19 21:41:32 PST 2010


    [ http://jira.secondlife.com/browse/SVC-5293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160646#action_160646 ] 

Harleen Gretzky commented on SVC-5293:
--------------------------------------

I disagree, it is a simple matter to use llGetInventoryType() first to avoid any errors from the script. And scripts are not empty when you create them, besides being a different type of item, why do the rules have to be the same for scripts and notecards? And so scripters can be lazy and not code with llGetInventoryType() we should change the entire way the database works and flood it with UUIDs for empty notecards? And notecards are working exactly as they were designed to work, so that is why it is expected, you wish to change the design, hence a feature request.

> LSL Throws An Error Accessing Empty Notecards/llGetNumberOfNotecardLines Can't Return Zero
> ------------------------------------------------------------------------------------------
>
>                 Key: SVC-5293
>                 URL: http://jira.secondlife.com/browse/SVC-5293
>             Project: 2. Second Life Service - SVC
>          Issue Type: Bug
>          Components: Scripts
>    Affects Versions: 1.34 Server
>            Reporter: Solo Mornington
>         Attachments: Picture 3.png
>
>
> If I create a notecard in my inventory and then move it to a prim inventory, the scripts in that prim return errors about the notecard.
> Trying to count the number of lines in the notecard yields a script error, as does attempting to read the next line.
> llGetNumberOfNotecardLines should return a valid key for a valid dataserver event result, with the value of 0.
> llGetNotecardLine should also return a valid key for a valid dataserver event with the standard EOF result when there are no more lines.
> This is a ridiculous boundary condition problem, which might exist in the scripting system, or might exist in the asset server, or might exist in the sim.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.secondlife.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the Jira-notify mailing list