[SOLVED] SC 9.2 > Helpcase links don't work in Control and Forms

Reproducible bug in Helpcase for SC 9.2.000

Today, I installed SC 9.2.000 trial version in a clean PC and confirmed what appears to be a bug in HelpCase. The Help button is not working in controls and forms, but it works in grids.

Steps to reproduce:

  1. Create a blank project.
  2. Add a control or form application
  3. Edit the toolbar to include the Helpcase button
  4. Create a HelpCase, create a dummy help page.
  5. In the control or form application use the Application > Settings to set the Helpcase Link.
  6. Run the app. When you press the help button, nothing happens.

Using the developer (F12) options from Edge or Firefox, I can see this error message:

SCRIPT5022: SCRIPT5022: Syntax error, unrecognized expression: #.sc-unique-btn-2.

Checking the code, I found that grids are still opening the HelpCase link in the onClick event of the button. But Forms and Control apps now call a function scBtnFn_sys_format_webh(), where the error occurs. This must be a syntax error in the generated PHP or Javascript code…

Someone from SC Bug Tracking Team?

NOTE: Environment = Windows 10 Pro x64 Spanish, version 1803, last updates applied, SC 9.2.000 directly from SC Site, clean install, no other PHP nor Apache installed, no IIS.

UPDATE:
The bug is still present in SC 9.2.001. Can anybody using Helpcase in 9.2.000 or 9.2.001 confirm this is a bug, please?
Thank you all,

SECOND UPDATE

The bug is still present in SC 9.2.002, I tested both: upgrading from 9.2.001 (trial) and a fresh, 9.2.002 trial installation.

I have a new website, ready for deploy, and just waiting for this to be solved. One of the key selling points for my client was a complete, sensitive, help system, that now is not working.

Any help will be appreciated.

FOUND THE CULPRIT:

Hello everyone: SC now calls a Javascript function named scBtnFn_sys_format_webh() in the onClick evento for help buttons in Control and Form apps.

This function is generated with syntax errors, it tries to reference the button using jQuery but prefix with both “#” and “.” selectors, like this:

($(#.sc-unique-btn-1").length

I modified the php file to remove the “#” :

($(.sc-unique-btn-1").length

And now the help window opens when I click the button.

But I cannot manually modify my 100+ apps to correct this every time I generate.

!Help me NetMake!

I just received this response from Netmake (Sept. 3, 2018):

The bug has been reported to our Development team. The correction will be available in the next release.

[SOLVED] Solved in SC 9.2.007.