NetTalk Central

Author Topic: V6.33 Regression Bug  (Read 4468 times)

Rob Kolanko

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
V6.33 Regression Bug
« on: June 07, 2012, 10:42:17 AM »
I have a NetBrowseForm procedure with the Delete button option checked to display the Delete button with the Save and Cancel buttons. This button worked on this form until I upgraded from V6.31 to V6.33. The HTML code generated for the button appears as below:
<button type="submit" name="" id="SUFZ" value="Delete"  title="Click here to Delete this record"  data-do="">Delete</button>
You can see that vital information to  fire the appropriate call to the form  after the button is pressed is missing.

My problem is that I cannot duplicate the issue with the web1 example, so it will take me some time to try an create an example to duplicate. The actual program is quite large and has other products linked in to the application. But since the Delete button did work in the form with V6.31 and prior releases,  and I have not changed anything in that form,  I am hoping that Bruce may remember what was changed that could have cause this regression problem.

I need to use the delete button in the form to show alert messages when the record cannot be deleted.  These messages do not appear if the delete button on the browse is used.

Thanks,
Rob Kolanko
« Last Edit: June 07, 2012, 11:12:09 AM by Rob Kolanko »

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: V6.33 Regression Bug
« Reply #1 on: June 07, 2012, 11:53:49 AM »
I think I should be able to figure it out from your report Robert - I'll let you know what I find.


Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: V6.33 Regression Bug
« Reply #2 on: June 07, 2012, 12:13:45 PM »
Robert,

I don't think it's the template. It looks like maybe the global button settings have been lost. Hard to say for sure, but the missing name, and short id parameters are interesting to say the least.

try deleting, the DeleteF button from the list (in the WebServer procedure). It'll get added back to the bottom of the button list. If that doesn't help then try deleting all the buttons (they'll all come back).

cheers
Bruce

Rob Kolanko

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
Re: V6.33 Regression Bug
« Reply #3 on: June 07, 2012, 12:58:18 PM »
Yes! :)
Deleting the DeleteF button from the list, fixed the problem.
Thank-you
Bruce.

Rob Kolanko

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
Re: V6.33 Regression Bug
« Reply #4 on: June 19, 2012, 11:45:12 AM »
I am reusing this thread, because I believe (and hope :)) the problem and solution in this thread are similar to my current problem. I have an EIP browse with a drop box selection entry. This browse EIP was working fine for many weeks as I have been developing other parts of the program. Now this field does not update the table field,  even though the drop selection is functioning.  Other EIP fields on the browse are still working. Inspecting the generate HTML, I noticed that the following code was generated for the drop field.
<div id="div4224328592_div" class="adiv"><select name="LDQ__S_CHECKLIST_RESPONSE_LIST_ID" id="LDQ__S_CHECKLIST_RESPONSE_LIST_ID" class="nt-browse-entry" data-do="1" >

Based on the other EIP fields, the data-do value should be "EIP" and when I change the value using firebug, the EIP works and the table is updated. Thus like the previous “delete” button problem, I am hoping that the solution is to clear a global value in template.  

Also on the same row, I have a “Vertical Contract/Expand Row” field that previously worked too, but does not work now. The generated HTML code for this field is below:
<td>
<div id="div3994637945_div" class="adiv"><span data-nt-ctd="true" class="ui-icon ui-icon-circle-arrow-n"></span></div>
</td>

To me, there does not appear to be any interaction if the user was to click on the icon.  I am hoping that this also can be solved like the previous “delete” button.

Thanks
Rob Kolanko
« Last Edit: June 20, 2012, 07:36:05 AM by Rob Kolanko »

Rob Kolanko

  • Sr. Member
  • ****
  • Posts: 253
    • View Profile
Re: V6.33 Regression Bug
« Reply #5 on: June 20, 2012, 08:10:50 AM »
Bruce,
On further study, I believe the latest issues, i have reported are actual regression bugs in the templates. Attached is the multi-row example program web50. The vertical contract/expand function does not work in the current example program. I modified the example to include the EIP drop box for the star rating field. Changing this field does not update the TPS file.
Rob Kolanko


[attachment deleted by admin]

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: V6.33 Regression Bug
« Reply #6 on: June 21, 2012, 01:43:57 AM »
I concur with your assessment Rob.
Both fixed for 6.34.

cheers
Bruce