After opening the module in service studio the entity name changed from CONTROL to CONTROL2. Same for RISK to RISK2.
We have no other, as far as we can see, objects with this name.So we have no clue how to resolve this.PS In the past we've had a similar issue with the Process table. But with a trick we we're able to fix this via a dependency from System/Process
Hi Rui,
There seems to be a bug in Service Studio according to Outsystems.For now we were able to fix the problem by merging the latest version of the module with the last version in which the tables were still correct. By keeping the tables of that latest version the module was correct after the merge.
Outsystems R&D has to take a deeper look into the problem and implement a fix/solution in a later version of Service Studio.
So for now we are able to continue our work and hope it doesn't occur again.
Thanks again for your help.
Kind regards
Cees
Hello there Cees,
Hope you're doing well.
Mind to share your OML so we can take a look? Is this only happening for CONTROL and RISK entities?
Kind regards,
Rui Barradas
P.S.: I remember that situation with the Process table :D
I've shared the OML.
It's only happening for those 2 entities.
So I was doing several tests on this matter and this is a very strange behavior indeed (like the Process entity before).
The objects Risk and Control doesn't seem to exist in the module because it is possible to create Structures with those exact names:
I also did another test and created 2 entities with those exact names in another module (Product) and tried to import them. After adding these as dependencies, they assumed their original names as well:
However I couldn't remove those "2" out of the desired entities, even after changing the name from "Control" and "Risk" imported from Product module to something else.
My guess is that the module has ghost references to some specific Control/Risk entities from another specific module (the same happened with Process system entity).
Can you identify these original entities?
If so, try to import them again. Rename them to something else and try to remove the "2" afterwards.
Thanks for the work and clear explanation. But we went through all the other modules and we're not able to identify any original entities.
I made an incident at Outsystems and I'll let you know what's been the problem.
Thank you for letting me know.
Glad the issue is solved :)
Hi Cees,
Check whether you are having any dependency modules with same entity name and share OML to understand the issue better as mentioned by Rui Barradas
Hi Aadhavan,
We've checked and are unable to find same entities in any other module.
Did you also look at other kinds of objects, e.g. structures? Naming should be unique for those as well, not just entities, so having for example a structure called CONTROL could also cause the CONTROL entity to be renamed.
Kind regards,Jeroen
Hi Jeroen,
We did. There are no other objects with the same name.
Shame there's no feature to detect what's causing this problem ;-) So I submitted an idea for this.
Hello Cees,
If you are confident about dependencies and structure, I could only see one more possibility for your concern. May be you or any of your team mate have created entity with name Control and Risk and published the module, later those entities have been renamed or deleted and again created entity with same name(i.e. Control and Risk) and published. While publishing OS didn't ask to change the name but later when you re-opened the module OS automatically it because in DB there was already a entity with similar reference. This happened with me once so I did R&D and I got to know that OS does not deletes the actual entity in the server once it is published.
Regards,
Sanjay
Hello Sanjay,
Thanks for the response.
But this is not the case. This module is very stable and no adjustments where made to the entities.
I just had a similar issue.
I changed the name of a static entity that is being referenced as a mandatory input parameter in a block but when updating the consumer modules the entity caused some issues.
1. Although it's set as mandatory on the block, it was not selected automatically
2. After importing the entity, the entity name as automatically changed to "Name2". I changed the name of the entity to prevent naming conflicts, so there was no other block, entity, actions, etc using the same name.
3. References on the consumer module did not update automatically. I had to manually change the name of the old entity to the new entity name.
Although all errors disapeared after hitting apply the "NewEntityName" automatically became "NewEntityName2". Searching for NewEntityName on the module only returns "NewEntityName2".
How can I prevent this behaviour in the future?