server side script references possible bug

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

Segi
Ebase User
Posts: 649
Joined: Mon Dec 09, 2013 6:37 pm

server side script references possible bug

#1

Postby Segi » Thu Oct 02, 2014 2:14 pm

I move 1 form from a business project and all of the server side scripts tied to that form to another business project by copying them not moving them.

After I migrated the form and scripts, I deleted the forms first then went to delete the server side JavaScript scripts in the original business project and noticed that the scripts were bound to the new business project which seems like unusual behavior. I have to unbind them from the click events in the form in the new business project in order to delete them from the original business project.

So for example business project A has Form A with 2 scripts ABCD and EFGH tied to different events for controls in form A. I created business project B and copied Form A and the 2 scripts to business project B as Form B and kept the scripts with the same name.

After deleting Form A, the 2 scripts in business project A should not return anything when you right click on them and select references since I deleted the form that they were linked it. However, they show as being linked to Form B.

These doesn't make sense from a design point of view since scripts should be specific to the business project that they belong to. I can understand why a form name has to be unique but not scripts.

If this is in fact a bug, please fix it
0 x

Jon
Moderator
Moderator
Posts: 1342
Joined: Wed Sep 12, 2007 12:49 pm

#2

Postby Jon » Fri Oct 03, 2014 6:52 am

The subject of refactoring (renaming/moving) and references between Ebase elements is handled much better in Version 5, in fact improving this area is one of the main objectives of Version 5. We don't have any plans to fix this in Version 4.
0 x


Who is online

Users browsing this forum: No registered users and 18 guests