Jon Crump
Posts: 0
Joined: Tue Dec 11, 2012 8:34 pm

Uncaught TypeError: Cannot call method 'trim' of undefined

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
Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Uncaught TypeError: Cannot call method 'trim' of undefined

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

Jon Crump
Posts: 0
Joined: Tue Dec 11, 2012 8:34 pm

Uncaught TypeError: Cannot call method 'trim' of undefined

Yes, but the other problem is more important.

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Uncaught TypeError: Cannot call method 'trim' of undefined

Working on your project

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Uncaught TypeError: Cannot call method 'trim' of undefined

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

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Uncaught TypeError: Cannot call method 'trim' of undefined

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

Jon Crump
Posts: 0
Joined: Tue Dec 11, 2012 8:34 pm

Uncaught TypeError: Cannot call method 'trim' of undefined

Thanks, that seems to have fixed it!

Return to “Issues”