Page 1 of 1

Uncaught TypeError: Cannot call method 'trim' of undefined

Posted: Fri Jan 25, 2013 2:59 pm
by Jon Crump

My project has a login which works and once logged in navigates to the next page.
If I try to go back to the login page, the page no longer works and this error is in the browser: My code doesn't all any trim methods.

  1. Uncaught TypeError: Cannot call method 'trim' of undefined tiggzi.js:2443
  2. $.fn.getAttrtiggzi.js:2443
  3. Tiggzi.RequestDataBuilderVisitor.$t.createClass.visitEntrytiggzi.js:1088
  4. Tiggzi.MappingVisitor.$t.createClass.__visitMappingtiggzi.js:521
  5. Tiggzi.MappingVisitor.$t.createClass.__visitMappingsArraytiggzi.js:547
  6. Tiggzi.MappingVisitor.$t.createClass.visittiggzi.js:560
  7. Tiggzi.DataSource.$t.createClass.__buildRequestSettingstiggzi.js:1265
  8. Tiggzi.DataSource.$t.createClass.executetiggzi.js:1286
  9. $.die.live.clicknewLoginScreen.js:172
  10. jQuery.event.dispatchjquery-1.8.2.js:3063
  11. elemData.handle.eventHandle

Uncaught TypeError: Cannot call method 'trim' of undefined

Posted: Fri Jan 25, 2013 3:12 pm
by Maryna Brodina

Hello! Is this problem with the same project as here https://getsatisfaction.com/tiggzi/to...?


Uncaught TypeError: Cannot call method 'trim' of undefined

Posted: Fri Jan 25, 2013 3:15 pm
by Jon Crump

Yes, but the other problem is more important.


Uncaught TypeError: Cannot call method 'trim' of undefined

Posted: Fri Jan 25, 2013 3:18 pm
by Maryna Brodina

Working on your project


Uncaught TypeError: Cannot call method 'trim' of undefined

Posted: Fri Jan 25, 2013 3:24 pm
by Maryna Brodina

Could you give us login/password so we can test it? If you don't want to post it here - please send to support@tiggzi.com


Uncaught TypeError: Cannot call method 'trim' of undefined

Posted: Fri Jan 25, 2013 6:19 pm
by Jon Crump

nslc_test as both


Uncaught TypeError: Cannot call method 'trim' of undefined

Posted: Fri Jan 25, 2013 6:31 pm
by Maryna Brodina

Thank's


Uncaught TypeError: Cannot call method 'trim' of undefined

Posted: Mon Jan 28, 2013 7:19 am
by Maryna Brodina

Hello! On page newLoginScreen you have restservice1 service. Please change name for restservice1 on two other pages.


Uncaught TypeError: Cannot call method 'trim' of undefined

Posted: Mon Jan 28, 2013 1:52 pm
by Jon Crump

Thanks, that seems to have fixed it!