NetTalk Central

Author Topic: Strange bug  (Read 3060 times)

Djordje Radovanovic

  • Full Member
  • ***
  • Posts: 237
    • View Profile
Strange bug
« on: March 10, 2014, 09:52:20 AM »
I have a browse with some data and two buttons. Buttons are in a browse to show some specific data for the inline records. If both buttons are type Other then none of them works as I expected. Neither one form is called. But if one of the button is declared as Change then it works for both buttons.
As my browse now works as I expect there is no need to rush but I think that is bug that has to be repaired.

If both buttons are Other type than firebug shows this errors

GET http://localhost:82/SetSessionValue?_ScreenWidth_=1538&_ScreenHeight_=755&_ajax_=1
   
200 OK
      9ms   
all.js?c=1 (line 1)
Error: Syntax error, unrecognized expression: #+y7SB
   

...).css('border',0);}catch(e){};}else if(e=='script'){s=s.replace(/"/g,'"');s...

all.js?c=1 (line 1097)
GET http://localhost:82/SetSessionValue?popup_ShowTheBill=1&_ajax_=1
   
200 OK
      19ms   
all.js?c=1 (line 1)
GET http://localhost:82/receipts?_event_=rowclicked&...=&_ajax_=1&_popup_=0&_rid_=554998&_rnd_=3vrt1pwk
   
200 OK
      27ms   
all.js?c=1 (line 1)
Error: cannot call methods on dialog prior to initialization; attempted to call method 'open'
   

...).css('border',0);}catch(e){};}else if(e=='script'){s=s.replace(/"/g,'"');s...

all.js?c=1 (line 1097)

but if one of the buttons is type Change then it shows this without errors

GET http://localhost:82/SetSessionValue?_ScreenWidth_=1538&_ScreenHeight_=755&_ajax_=1
   
200 OK
      15ms   
all.js?c=1 (line 1)
GET http://localhost:82/receipts?_event_=rowclicked&...=&_ajax_=1&_popup_=0&_rid_=554998&_rnd_=i5dq67nq
   
200 OK
      32ms   
all.js?c=1 (line 1)
GET http://localhost:82/SetSessionValue?popup_ShowTheBill=1&_ajax_=1
   
200 OK
      34ms   
all.js?c=1 (line 1)
GET http://localhost:82/ShowTheBill?_ajax_=1&pressed...ange_btn&_popup_=1&_bidv_=c9Rk1CuJ&_parentProc_=
   
200 OK
      223ms   
all.js?c=1 (line 1)

Best regards,

Djordje Radovanovic

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Strange bug
« Reply #1 on: March 10, 2014, 09:19:07 PM »
sounds a bit strange. Can you post an example app?

cheers
Bruce

Djordje Radovanovic

  • Full Member
  • ***
  • Posts: 237
    • View Profile
Re: Strange bug
« Reply #2 on: March 11, 2014, 02:48:51 AM »
Does it count if I send you both source, valid and invalid? Total commander shows differences with no problem.

Best regards,

Djole



[attachment deleted by admin]

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Strange bug
« Reply #3 on: March 11, 2014, 04:45:28 AM »
unfortunately a working app would be best. Working backwards from CLW's to infer template settings and pathways through the template is tricky.


cheers
Bruce

Djordje Radovanovic

  • Full Member
  • ***
  • Posts: 237
    • View Profile
Re: Strange bug
« Reply #4 on: March 11, 2014, 05:31:23 AM »
Ok. I'll try to produce an example.

Regards,

Djole