Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8581919
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T21:09:59+00:00 2026-06-11T21:09:59+00:00

After upgrading to the Aviarc 3.6.0 we are getting the mentioned error on one

  • 0

After upgrading to the Aviarc 3.6.0 we are getting the mentioned error on one of the screens.

The part of the screen which raises an error:

<custom:record-table bottom="40" width="100%" left="0" top="0" dataset="account-ds" class="list" name="accountlist-rc" >
    <column width="0" display-field="AccountName"  header="Accounts" field2="AccountCode"  allow-sort="n" />
</custom:record-table>

Note that we customized the record-table widget to allow for 2 additional fields to be specified for each column (field2 and field3), so this is where field2 in the column comes from.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T21:10:00+00:00Added an answer on June 11, 2026 at 9:10 pm

    After investigating the changes done to allow for more than 1 field to be specified for each column of the record table were looking as follows (in the update method of the RecordTable.js, starting from line 670):

    var field = this._datasetRow.getFieldObject(column.attributes['display-field']);
    var field2 = this._datasetRow.getFieldObject(column.attributes['field2']);
    var field3 = this._datasetRow.getFieldObject(column.attributes['field3']);
    
    var text = field.getValue();
    var text2 = field2.getValue();
    var text3 = field3.getValue();
    

    Since the column specification on the screen (code snippet in the question) does not set any value to field3 attribute the part

    var field3 = this._datasetRow.getFieldObject(column.attributes['field3']);
    

    was failing and throwing an error. Method getFieldObject always expects the value to be passed, even though it should probably be smart enough to cater for null/undefined values as well.

    To solve the problem the code was refactored as follows:

    var field = this._datasetRow.getFieldObject(column.attributes['display-field']);
    var text = field.getValue();
    if (column.attributes['field2'] != null) {
        var field2 = this._datasetRow.getFieldObject(column.attributes['field2']);
        var text2 = field2.getValue(); 
    }
    if (column.attributes['field3'] != null) {
        var field3 = this._datasetRow.getFieldObject(column.attributes['field3']);
        var text3 = field3.getValue();
    }
    

    After that the custom part of the widget code simply needs to cater for possible undefined values of text2 and text3 attributes.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are getting this error after upgrading to NHibernate 2.1. [QueryException: Cannot simultaneously fetch
After upgrading from Cake 1.3 to 2.0 I I'm getting missing table errors for
After upgrading to EF 5 I keep getting Validation failed for one or more
I am getting an error after upgrading to xcode 4, for all of the
After upgrading to Android 2.3.4, I am getting following exception: javax.net.ssl.SSLException: Read error: ssl=0x*:
After upgrading my Rails 3.0.9 app to 3.1.1, I'm getting the following bundler error
After upgrading node to v0.8.1, bundled Meteor apps now throw an error: node: symbol
I encountered the following problem after upgrading to the latest version 1.8.1 of data.table
After upgrading to the iPhone SDK 4.0, I get the following error when building
After upgrading to Magento 1.6.2.0 (from 1.4) the product_option field in table sales_flat_order_item doesn’t

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.