[JIRA] Created: (SVC-5239) Details... button on PERMISSION_DEBIT dialog triggers run_time_permissions() with a deny action

ZenMondo Wormser (JIRA) no-reply at lindenlab.cascadeo.com
Thu Jan 7 13:30:34 PST 2010


Details... button on PERMISSION_DEBIT dialog triggers run_time_permissions() with a deny action
-----------------------------------------------------------------------------------------------

                 Key: SVC-5239
                 URL: http://jira.secondlife.com/browse/SVC-5239
             Project: 2. Second Life Service - SVC
          Issue Type: Bug
          Components: Permissions, Scripts
    Affects Versions: 1.34 Server
         Environment: Second Life 1.23.5 (136262) Oct 14 2009 12:08:26 (Second Life Release)
Release Notes

Built with MSVC version 1400

You are at 232200.4, 262347.7, 40.1 in Caledon On Sea located at sim2061.agni.lindenlab.com (216.82.56.66:13000)
Second Life Server 1.34.2.142087
Release Notes

CPU: Intel Pentium III/Pentium III Xeon (0.25 micron process) with external L2 cache (2499 MHz)
Memory: 3327 MB
OS Version: Microsoft Windows XP Service Pack 3 (Build 2600)
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: GeForce 7300 GT/PCI/SSE2
Windows Graphics Driver Version: 6.14.0011.8585
OpenGL Version: 2.1.2

libcurl Version: libcurl/7.18.1 OpenSSL/0.9.8j zlib/1.2.3
J2C Decoder Version: KDU
Audio Driver Version: FMOD version 3.740000
LLMozLib Version: [LLMediaImplLLMozLib] - 2.01.29615 (Mozilla GRE version 1.8.1.21_0000000000)
Packets Lost: 4/64508 (0.0%)

            Reporter: ZenMondo Wormser


When an object requests DEBIT permissions a large, yellow dialog appears.  This dialog has three buttons:  "Grant",  "Deny", and "Details..."  When you select "Details..."  Additional information about DEBIT permission is displayed. 

The bug is that when "Details..." is selected  PERMISSION_DEBIT is denied and the run_time_permissions() event handler is triggered.  There is also a system message in the Local Chat pane of the communicate window that informs the user that permission has been denied.  Further, if  "Grant" or "Deny" are pressed AFTER details the run_time_permissions() event handler is NOT triggered, yet there is a system message saying that permissions have been granted or denied.

What should happen when "Details..." is pressed is no run_time_permissions event should be triggered and the "Grant" and "Deny" buttons should operate normally and trigger the run_time_permissions event afterwards.

You can use the following script to test this behavior:

default
{
    state_entry()
    {
        llRequestPermissions(llGetOwner(),PERMISSION_DEBIT);
    }

    run_time_permissions(integer perm)
    {
        llSay(0, "Run Time Permissions Triggered");
        
        if(perm & PERMISSION_DEBIT)
        {
            llSay(0, "PERMISSION_DEBIT granted");
        }
        
        else
        {
            llSay(0, "PERMISSION_DEBIT denied");
        }    
    
    }
    
    touch_start(integer num_detected)
    {
        llResetScript();
    }
}


-- 
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