• All submissions to this site are governed by Second Life Project Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.
Issue Details (XML | Word | Printable)

Key: SVC-1697
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Scouse Linden
Reporter: Leffard Lassard
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
2. Second Life Service - SVC

Dataserver request test fails.

Created: 28/Feb/08 10:44 AM   Updated: 18/Mar/08 02:21 AM
Return to search
Component/s: Scripts
Affects Version/s: Mono Beta
Fix Version/s: Mono Beta

Environment: Mono 1.19.0.80627
Issue Links:
Duplicate
 
Relates
 

Linden Lab Issue ID: DEV-11857
Linden Lab Internal Branch: mono-based-on-1-19-1-server-81640


 Description  « Hide
A simple script testing a dataserver request fails under mono.

The script is:

key request;

default
{
state_entry()

{ llSay(0, "Dataserver Test." ); }

touch_start(integer total_number)

{ key k = llDetectedKey( 0 ); request = llRequestAgentData(k , DATA_NAME); }

dataserver(key queryid, string data)

{ llSay( 0, "Dataserver event received." ); if( request == queryid ) llSay(0, "Your name is " + data); }

}

Expected output should be the string "Dataserver event received" and the name of the person who touched it.

Output on mono is nothing.
Btw. dataserver events worked with the version before this one.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Leffard Lassard made changes - 28/Feb/08 10:47 AM
Field Original Value New Value
Link This issue Relates to SVC-1276 [ SVC-1276 ]
Leffard Lassard made changes - 28/Feb/08 10:48 AM
Description A simple script testing a dataserver request fails under mono.

The script is:

key request;
 
default
{
    state_entry()
    {
        llSay(0, "Dataserver Test." );
    }

    touch_start(integer total_number)
    {
        key k = llDetectedKey( 0 );
        request = llRequestAgentData(k , DATA_NAME);
    }
    
    dataserver(key queryid, string data)
    {
        llSay( 0, "Dataserver event received." );
        if( request == queryid )
            llSay(0, "Your name is " + data);
    }
}

Expected output should be the string "Dataserver event received" and the name of the person who touched it.

Output on mono is nothing.
A simple script testing a dataserver request fails under mono.

The script is:

key request;
 
default
{
    state_entry()
    {
        llSay(0, "Dataserver Test." );
    }

    touch_start(integer total_number)
    {
        key k = llDetectedKey( 0 );
        request = llRequestAgentData(k , DATA_NAME);
    }
    
    dataserver(key queryid, string data)
    {
        llSay( 0, "Dataserver event received." );
        if( request == queryid )
            llSay(0, "Your name is " + data);
    }
}

Expected output should be the string "Dataserver event received" and the name of the person who touched it.
Btw. dataserver events worked with the version before this one.

Output on mono is nothing.
Leffard Lassard made changes - 28/Feb/08 10:52 AM
Description A simple script testing a dataserver request fails under mono.

The script is:

key request;
 
default
{
    state_entry()
    {
        llSay(0, "Dataserver Test." );
    }

    touch_start(integer total_number)
    {
        key k = llDetectedKey( 0 );
        request = llRequestAgentData(k , DATA_NAME);
    }
    
    dataserver(key queryid, string data)
    {
        llSay( 0, "Dataserver event received." );
        if( request == queryid )
            llSay(0, "Your name is " + data);
    }
}

Expected output should be the string "Dataserver event received" and the name of the person who touched it.
Btw. dataserver events worked with the version before this one.

Output on mono is nothing.
A simple script testing a dataserver request fails under mono.

The script is:

key request;
 
default
{
    state_entry()
    {
        llSay(0, "Dataserver Test." );
    }

    touch_start(integer total_number)
    {
        key k = llDetectedKey( 0 );
        request = llRequestAgentData(k , DATA_NAME);
    }
    
    dataserver(key queryid, string data)
    {
        llSay( 0, "Dataserver event received." );
        if( request == queryid )
            llSay(0, "Your name is " + data);
    }
}

Expected output should be the string "Dataserver event received" and the name of the person who touched it.

Output on mono is nothing.
Btw. dataserver events worked with the version before this one.
Vektor Linden added a comment - 29/Feb/08 11:41 AM
Confirmed. I noticed this when doing another repro, and have verified that all dataserver calls now appear broken under mono. This issue will be the parent issue for the dataserver call failure from this build.

Vektor Linden made changes - 29/Feb/08 11:41 AM
Priority Normal [ 4 ] Major [ 3 ]
Scouse Linden made changes - 10/Mar/08 10:08 AM
Link This issue duplicates SVC-1766 [ SVC-1766 ]
Scouse Linden made changes - 10/Mar/08 10:57 AM
Status Open [ 1 ] Fix Pending [ 10001 ]
Linden Lab Internal Branch mono-based-on-1-19-1-server-81640
Assignee Scouse Linden [ Scouse Linden ]
lindenrobot made changes - 12/Mar/08 09:29 AM
Linden Lab Issue ID DEV-11857
Periapse Linden made changes - 12/Mar/08 09:45 AM
Link This issue is related to by SVC-1276 [ SVC-1276 ]
Periapse Linden made changes - 12/Mar/08 09:54 AM
Link This issue Relates to SVC-1276 [ SVC-1276 ]
Leffard Lassard added a comment - 13/Mar/08 06:25 AM
The fix in MonoServer 1.19.1.82025 workes the this testcase and for other scripts using dataserver events.

Vektor Linden made changes - 18/Mar/08 02:21 AM
Status Fix Pending [ 10001 ] Resolved [ 5 ]
Fix Version/s Mono Beta [ 10240 ]
Resolution Fixed [ 1 ]
Sue Linden made changes - 13/Nov/08 12:09 PM
Workflow jira-2007-12-22a [ 52749 ] jira-2008-11-14 [ 82261 ]
Sue Linden made changes - 13/Nov/08 04:42 PM
Workflow jira-2008-11-14 [ 82261 ] jira-2008-11-14a [ 90693 ]