Announcement

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

    Yet another internal datasource naming issue in 12.1

    I have found another issue with i would wager is the same typ of bug as the "user" datasource naming thing talked about in this thread:
    https://forums.smartclient.com/forum...rading-to-12-1

    In our backoffice we have a datasource called "device". We got lots of exceptions, so i did the same check.
    Code:
    DataSource deviceds = DataSource.get("device");
    String[] fieldNames = deviceds.getFieldNames();
    GWT.log("device fields:");
    for (String fieldName : fieldNames) {
         GWT.log(" --> " + fieldName);
    }
    Printout:
    Code:
    device fields:
     --> isPhone
     --> isTablet
     --> isDesktop
     --> isLandscape
    Of course, this is not at all what we have defined in our XML, and it works prior to 12.1.

    #2
    You are correct. This is another internal datasource with the same issue as the "user" datasource. The conflict is corrected in builds starting on 13 May.

    Comment

    Working...
    X