Announcement

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

    13.1d new sample unionDataSource broken

    Hi Isomorphic,

    I just noticed that the new unionDataSource sample (SNAPSHOT_v13.1d_2022-10-09) does not show any data, even though the request in the Developer Console shows transferred data.
    The data received has more fields than expected, though and also has the field names in all-capital letters (unexpected).

    Best regards
    Blama

    #2
    Hi Isomorphic,

    as a FYI, this one is still open (SNAPSHOT_v13.1d_2022-11-23).

    Best regards
    Blama

    Comment


      #3
      Thanks for the report. This was a problem with the new UnionDataSource feature, specific to the HSQLDB database. It is now corrected.

      Comment


        #4
        Hi Isomorphic,

        thanks, I can see data in the sample now, again (SNAPSHOT_v13.1d_2022-12-02).
        The data in the RPC Tab of the Developer Console looks like this, though:
        Code:
        data:[
                {
                    Email:"afreel@server.com",
                    name:"Abe Freel",
                    employeeId:207,
                    Job:"Stores Worker",
                    agencyName:null
                },...
        The staff-DataSource has only these fields:
        Code:
        <DataSource isSampleDS="true"
            ID="staff"
            serverType="union"
            unionOf="employees,subcontractors,agency_workers"
        >
            <fields>
                <field name="name" title="Name" unionOf="employees.Name,subcontractors.fullName,agency_workers.name"/>
                <field name="employeeId" title="Employee ID" unionOf="employees.EmployeeId,agency_workers.agencyRef"/>
                <field name="agencyName" unionOf="agency_workers.agency"/>
            </fields>
        </DataSource>
        I don't think the server should send values for Job and Email, as they are not defined in the DataSource.

        Best regards
        Blama

        Comment

        Working...
        X