Dear community
I have a problem with my servoy solution which has been running fine in production for 2.2 years. Recently I migrated it to servoy 3.5.3. The first problem is that ancient ‘use once’ methods have started randomly being triggered. They are not in any menu, nor attached to any button, nor called by any other method, nor on any other on_xxxxx trigger. They just randomly execute, and in two cases have destroyed the 5000 character notes dataprovider on two separate forms. I can ONLY assume that they are triggered by an accidental keyboard shortcut, but as far as I know, there is no way to explicitly attach methods to keystrokes… Is there??? Anyway, that problem is now no longer my primary headache with this solution.
It is now deleting random records (there is no delete record method), and has also taken to changing the value of a field (called unique_id) to a value of another record in the system. (There is a record which has 4400 in unique_id (an integer) - which has arbitrarily (it seems) been changed to 5333). This unique id + a code (i.e. dhs 5333) is the local key for relations to about 10 other tables. Therefore when the reference number changes from dhs 4400 to dhs 5333, it adopts all of the child records that actually belong to 5333.
Now I know everyone is going to say that someone must be changing it - but editable is not ticked in its properties.
I know you’re also going to say that I’m using an assignment rather than an evaluation somewhere (= rather than ==), guess again… the dataprovider unique_id is not mentioned in ANY method anywhere. It is used in a calculation which is [return text_category + " " + unique_id] but nowhere else…
Somehow, between the 20th December, and 24th January, at least one record has had this auto incremented, uneditable, unmethod-ed, un assigned, untouchable field changed to the value of a different record. I can’t even change it back to its correct record without modifying the solution to allow this.
The client (and I) are losing faith in the integrity of the solution. The client has spent 2.2 years putting 55+ GB of data into this solution and I have no idea what is going on. The methods are not all that complex, but are now firing off randomly without any regard for a trigger, and unchangeable data is changing by its-self. What is going on??? I have not seen this happen ever before with servoy or Sybase (I know, it can’t happen, I know…)
The only thing significant about this solution is that it was recently upgraded from 2.2.7 to 3.5.3
I’d be grateful if anyone can tell me whether there is anything they can think of that has been deprecated and might be in my methods which would change an uneditable field, or would randomly delete records, or would randomly fire off methods…
Either that, or is there an automatic method keyboard assignment trigger? and where the hell do I turn it off???
I feel as though its being sabotaged…
Please someone help…
Bevil