Announcement

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

    New warning messages in latest 3.1d build.

    I've just downloaded the latest 3.1d build and noticed two new warning messages have been added. Here are examples of each.
    Code:
    [ERROR] [ipgui] - 07:04:01.710:XRP2:WARN:DataSource:IPITHDRC:'IAV#3' is not a valid JavaScript identifier. DataSource and DataBoundComponent field names are required to be valid JavaScript identifiers as specified by ECMA-262 Section 7.6. Note: The String.isValidID(string) function can be used to test whether a string is a valid identifier.
    
    [ERROR] [ipgui] - 07:02:51.676:XRP8:WARN:RPCManager:clearTransaction: 0
    [ERROR] [ipgui] - 07:02:51.677:XRP8:WARN:RPCManager:clearTransaction2: 0
    Is there any way to supress these warnings? The first one appears for every field that contains the # character. Our legacy database has over 150 SQL column names like this and those have been used as datasource field names. We haven't had any problems using these field names and, although we intend to rename these (and use nativeName to hold the SQL column name) to avoid any potential future problems, it would be nice not to see the reminder 150 times every time we start our app.

    I'm not sure what to make of the second warning. It comes in pairs, like

    [ERROR] [ipgui] - 07:04:15.987:XRP2:WARN:RPCManager:clearTransaction: 3
    [ERROR] [ipgui] - 07:04:15.990:XRP2:WARN:RPCManager:clearTransaction2: 3

    Is this something we should pay attention to? If not, is there any way to supress the warnings. Again, there are dozens and dozens of these warnings showing up through normal use of our app.

    #2
    We'll switch the warning about invalid identifiers so it happens only once per page load.

    The other warnings were debug code inadvertently checked in, and have been removed.

    Comment


      #3
      In the next build you should see a maximum of one warning about invalid identifiers per page load.

      Comment

      Working...
      X