Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    #16
    Here are some sample requests and responses:

    REQUEST
    Code:
    {
        actionURL:"/admin/service/SmartClientGeneric.ashx", 
        showPrompt:false, 
        prompt:"Finding records that match your criteria...", 
        transport:"xmlHttpRequest", 
        useSimpleHttp:true, 
        promptStyle:"dialog", 
        httpMethod:"POST", 
        sendNoQueue:true, 
        callback:{
            target:null, 
            methodName:"$37c"
        }, 
        willHandleError:true, 
        serverOutputAsString:true, 
        clientContext:{
            requestIndex:7
        }, 
        data:"\r<request>\r    <data>\r        <DSvuShowFoldersList>\r            <ShowID>2516</ShowID>\r            <ts>1230583304689</ts>\r        </DSvuShowFoldersList>\r    </data>\r    <dataSource>DSvuShowFoldersList</dataSource>\r    <operationType>fetch</operationType>\r    <operationID></operationID>\r    <startRow>0</startRow>\r    <endRow>75</endRow>\r    <sortBy></sortBy>\r    <textMatchStyle>startsWith</textMatchStyle>\r    <oldValues></oldValues>\r</request>"
    }
    RESPONSE
    Code:
    <response><status>0</status><startRow>0</startRow><endRow>8</endRow><totalRows>9</totalRows><data>
     <vuShowFoldersList>
        <ShowID>2516</ShowID>
        <ShowFolderID>2521</ShowFolderID>
        <Title>Gallery Photos</Title>
        <Sort>1</Sort>
        <AssetCount>2</AssetCount>
        <ShowSort>1</ShowSort>
      </vuShowFoldersList>
      <vuShowFoldersList>
        <ShowID>2516</ShowID>
        <ShowFolderID>2522</ShowFolderID>
        <Title>Ad Reaction Photos</Title>
        <Sort>3</Sort>
        <AssetCount>22</AssetCount>
        <ShowSort>1</ShowSort>
      </vuShowFoldersList>
      <vuShowFoldersList>
        <ShowID>2516</ShowID>
        <ShowFolderID>2523</ShowFolderID>
        <Title>Episodic Photos</Title>
        <Sort>2</Sort>
        <AssetCount>528</AssetCount>
        <ShowSort>1</ShowSort>
      </vuShowFoldersList>
      <vuShowFoldersList>
        <ShowID>2516</ShowID>
        <ShowFolderID>2524</ShowFolderID>
        <Title>Synopses</Title>
        <Sort>4</Sort>
        <AssetCount>231</AssetCount>
        <ShowSort>1</ShowSort>
      </vuShowFoldersList>
      <vuShowFoldersList>
        <ShowID>2516</ShowID>
        <ShowFolderID>2525</ShowFolderID>
        <Title>Logos</Title>
        <Sort>5</Sort>
        <AssetCount>0</AssetCount>
        <ShowSort>1</ShowSort>
      </vuShowFoldersList>
      <vuShowFoldersList>
        <ShowID>2516</ShowID>
        <ShowFolderID>2541</ShowFolderID>
        <Title>Print</Title>
        <Sort>6</Sort>
        <AssetCount>0</AssetCount>
        <ShowSort>1</ShowSort>
      </vuShowFoldersList>
      <vuShowFoldersList>
        <ShowID>2516</ShowID>
        <ShowFolderID>12627</ShowFolderID>
        <Title>Test 5</Title>
        <Sort>7</Sort>
        <AssetCount>25</AssetCount>
        <ShowSort>1</ShowSort>
      </vuShowFoldersList>
      <vuShowFoldersList>
        <ShowID>2516</ShowID>
        <ShowFolderID>12628</ShowFolderID>
        <Title>test 6</Title>
        <Sort>8</Sort>
        <AssetCount>26</AssetCount>
        <ShowSort>1</ShowSort>
      </vuShowFoldersList>
      <vuShowFoldersList>
        <ShowID>2516</ShowID>
        <ShowFolderID>12629</ShowFolderID>
        <Title>test 7</Title>
        <Sort>9</Sort>
        <AssetCount>7</AssetCount>
        <ShowSort>1</ShowSort>
      </vuShowFoldersList>
    </data></response>






    REQUEST2:
    Code:
    {
        actionURL:"/admin/service/SmartClientGeneric.ashx", 
        showPrompt:false, 
        prompt:"Finding records that match your criteria...", 
        transport:"xmlHttpRequest", 
        useSimpleHttp:true, 
        promptStyle:"dialog", 
        httpMethod:"POST", 
        sendNoQueue:true, 
        callback:{
            target:null, 
            methodName:"$37c"
        }, 
        willHandleError:true, 
        serverOutputAsString:true, 
        clientContext:{
            requestIndex:9
        }, 
        data:"\r<request>\r    <data>\r        <DSvuShowFoldersList>\r            <ShowID>2516</ShowID>\r            <ts>1230583305769</ts>\r        </DSvuShowFoldersList>\r    </data>\r    <dataSource>DSvuShowFoldersList</dataSource>\r    <operationType>fetch</operationType>\r    <operationID></operationID>\r    <startRow>0</startRow>\r    <endRow>75</endRow>\r    <sortBy></sortBy>\r    <textMatchStyle>startsWith</textMatchStyle>\r    <oldValues></oldValues>\r</request>"
    }

    RESPONSE2:
    Code:
    <response><status>0</status><startRow>0</startRow><endRow>8</endRow><totalRows>9</totalRows><data>
     <vuShowFoldersList>
        <ShowID>2516</ShowID>
        <ShowFolderID>2521</ShowFolderID>
        <Title>Gallery Photos</Title>
        <Sort>1</Sort>
        <AssetCount>2</AssetCount>
        <ShowSort>1</ShowSort>
      </vuShowFoldersList>
      <vuShowFoldersList>
        <ShowID>2516</ShowID>
        <ShowFolderID>2522</ShowFolderID>
        <Title>Ad Reaction Photos</Title>
        <Sort>3</Sort>
        <AssetCount>22</AssetCount>
        <ShowSort>1</ShowSort>
      </vuShowFoldersList>
      <vuShowFoldersList>
        <ShowID>2516</ShowID>
        <ShowFolderID>2523</ShowFolderID>
        <Title>Episodic Photos</Title>
        <Sort>2</Sort>
        <AssetCount>528</AssetCount>
        <ShowSort>1</ShowSort>
      </vuShowFoldersList>
      <vuShowFoldersList>
        <ShowID>2516</ShowID>
        <ShowFolderID>2524</ShowFolderID>
        <Title>Synopses</Title>
        <Sort>4</Sort>
        <AssetCount>231</AssetCount>
        <ShowSort>1</ShowSort>
      </vuShowFoldersList>
      <vuShowFoldersList>
        <ShowID>2516</ShowID>
        <ShowFolderID>2525</ShowFolderID>
        <Title>Logos</Title>
        <Sort>5</Sort>
        <AssetCount>0</AssetCount>
        <ShowSort>1</ShowSort>
      </vuShowFoldersList>
      <vuShowFoldersList>
        <ShowID>2516</ShowID>
        <ShowFolderID>2541</ShowFolderID>
        <Title>Print</Title>
        <Sort>6</Sort>
        <AssetCount>0</AssetCount>
        <ShowSort>1</ShowSort>
      </vuShowFoldersList>
      <vuShowFoldersList>
        <ShowID>2516</ShowID>
        <ShowFolderID>12627</ShowFolderID>
        <Title>Test 5</Title>
        <Sort>7</Sort>
        <AssetCount>25</AssetCount>
        <ShowSort>1</ShowSort>
      </vuShowFoldersList>
      <vuShowFoldersList>
        <ShowID>2516</ShowID>
        <ShowFolderID>12628</ShowFolderID>
        <Title>test 6</Title>
        <Sort>8</Sort>
        <AssetCount>26</AssetCount>
        <ShowSort>1</ShowSort>
      </vuShowFoldersList>
      <vuShowFoldersList>
        <ShowID>2516</ShowID>
        <ShowFolderID>12629</ShowFolderID>
        <Title>test 7</Title>
        <Sort>9</Sort>
        <AssetCount>7</AssetCount>
        <ShowSort>1</ShowSort>
      </vuShowFoldersList>
    </data></response>

    Each request is the same (except for the ts) and each response is the same.

    Comment


      #17
      Yeah that doesn't make much sense. To look further we really need to see this put together as a standalone test case. Looking just at these bizarre consequences isn't helping, we need to see a complete test case to be able to reasonably find the root cause.

      Comment


        #18
        Yeah, that seems reasonable. I'll throw one together.

        The sample may be a bit complicated though. It needs to have a window pop up from some event (a button will do) which contains a listgrid with a dependent form with a dependent listgrid.

        Comment

        Working...
        X