Announcement

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

    DataSource XML fields parsed as Field instead of DataSourceField on startup

    Hi,
    We have recently upgraded the client libraries to 14.1p-2026-06-19 and we are noticing the following warning messages on startup.

    2026-07-17-16:22:16:227 -0400 WARN [main] Element is an instance of type Field, which does not inherit from declared field type DataSourceField at /DataSource[@ID=AddScreenTask]/fields/0
    2026-07-17-16:22:16:229 -0400 WARN [main] Element is an instance of type Field, which does not inherit from declared field type DataSourceField at /DataSource[@ID=AddScreenTask]/fields/1
    2026-07-17-16:22:22:366 -0400 WARN [main] Element is an instance of type Field, which does not inherit from declared field type DataSourceField at /DataSource[@ID=DataSourceStore]/operationBindings/0/DataSource[@ID=DBListDS]/DataSource[@ID=DBSchema]/DataSource[@ID=DSRegistryListDS]/DataSource[@ID=JVMClassTreeDS]/DataSource[@ID=ScreenLoader]/fields/0
    2026-07-17-16:22:22:371 -0400 WARN [main] Element is an instance of type Field, which does not inherit from declared field type DataSourceField at /DataSource[@ID=DataSourceStore]/operationBindings/0/DataSource[@ID=DBListDS]/DataSource[@ID=DBSchema]/DataSource[@ID=DSRegistryListDS]/DataSource[@ID=JVMClassTreeDS]/DataSource[@ID=ScreenLoader]/fields/1
    2026-07-17-16:22:23:635 -0400 WARN [main] Element is an instance of type Field, which does not inherit from declared field type DataSourceField at /DataSource[@ID=DataSourceStore]/operationBindings/0/DataSource[@ID=DBListDS]/DataSource[@ID=DBSchema]/DataSource[@ID=DSRegistryListDS]/DataSource[@ID=JVMClassTreeDS]/DataSource[@ID=ViewLoader]/fields/0
    2026-07-17-16:22:23:636 -0400 WARN [main] Element is an instance of type Field, which does not inherit from declared field type DataSourceField at /DataSource[@ID=DataSourceStore]/operationBindings/0/DataSource[@ID=DBListDS]/DataSource[@ID=DBSchema]/DataSource[@ID=DSRegistryListDS]/DataSource[@ID=JVMClassTreeDS]/DataSource[@ID=ViewLoader]/fields/1
    2026-07-17-16:22:23:636 -0400 WARN [main] Element is an instance of type Field, which does not inherit from declared field type DataSourceField at /DataSource[@ID=DataSourceStore]/operationBindings/0/DataSource[@ID=DBListDS]/DataSource[@ID=DBSchema]/DataSource[@ID=DSRegistryListDS]/DataSource[@ID=JVMClassTreeDS]/DataSource[@ID=ViewLoader]/fields/2
    2026-07-17-16:22:23:636 -0400 WARN [main] Element is an instance of type Field, which does not inherit from declared field type DataSourceField at /DataSource[@ID=DataSourceStore]/operationBindings/0/DataSource[@ID=DBListDS]/DataSource[@ID=DBSchema]/DataSource[@ID=DSRegistryListDS]/DataSource[@ID=JVMClassTreeDS]/DataSource[@ID=ViewLoader]/fields/3

    Can you please verify and let us know your feedback.

    Thanks

    #2
    We'll need to see the DataSource XML here - it seems like to get these errors, you would need to define a Field.ds.xml and then use <Field> elements in your other .ds.xml files, whereas <field> is what's doc'd.

    Comment


      #3
      Hi,
      These are the smartgwt provided ds.xml files shipped from smartgwtpro.jar file.
      further debugging I noticed the following ds.xml files has the wrong field name tag.
      1. com\smartclient\public\sc\system\schema\AddScreenTask.ds.xml
      2. com\smartclient\public\sc\system\schema\ViewLoader.ds.xml
      3. com\smartclient\public\sc\system\schema\ScreenLoader.ds.xml
      All the above ds.xml files have the tag starts with upper case Field, here is the example from one of the ds.xml

      <Field name="screenName" type="string" basic="true" canEdit="false"/>

      Can you please verify and fix.

      Thanks
      Last edited by stonebranch4; Yesterday, 04:58.

      Comment


        #4
        Hi,
        Could you please provide an update on this? I appreciate your help.

        Thanks

        Comment


          #5
          We've made a fix to address this in 14.1.

          Please retest with tomorrow's builds.

          Comment


            #6
            Thank you for the quick response.

            Comment

            Working...
            X