16
Views
3
Comments
Solved
Duplicate Entity Table created after deployment, original table hidden in OutSystems
Application Type
Reactive
Service Studio Version
11.54.60 (Build 63294)

Hello, I recently performed a deployment to production on 5/7 for an application.  I was made aware that all records in a particular table from the time of deployment back to the first record were missing and that only records from 5/7-present are available.

I logged into the SQL Server to look at the tables and found that there were now two versions of the table, the original having all data before 5/7 and the new table with 5/7-present

original table: OSUSR_0EC_MA_VSE_ENROLLMENTLOCATION
Additional table: OSUSR_0EC_MA_VSE_ENROLLMENTLOCATION5

I did have an error occur when deploying related to a static entity not having a value that was a foreign key in another table, but this was not that table.

My main goal is to merge the data into one table - preferably the original table - and have it present in my application as one of my table entities.  The merging I am not as worried about as the ability to see the original table entity.

Also, if anyone know why (what I did wrong) to make this occur I'd like to know your thoughts.

Thanks in advance to anyone that can help. 
2019-01-07 16-04-16
Siya
 
MVP
Solution

Looks like your developer deleted the entity ( Cut + Paste ) which created a new entity. Good part is you have access to SQL Server as it is on premise installation and you have to manually merge data. btw I don't think you can use the first table.

2024-05-16 19-40-17
John Bradley

Thank you for the response - I was tinkering with a different version of the table and may have mistakenly cut-and-pasted the table.  Lesson learned!

UserImage.jpg
Alexandre Yip
Solution

Hi John Bradley ,

That situation happens when you delete the entity in the Data tab and create again with the same name(for instance cut and paste).

In the Data Tab the name would be the same but after publishing internally it would inactivate the previous table and create a new physical table in the database.

Regards,




2019-01-07 16-04-16
Siya
 
MVP
Solution

Looks like your developer deleted the entity ( Cut + Paste ) which created a new entity. Good part is you have access to SQL Server as it is on premise installation and you have to manually merge data. btw I don't think you can use the first table.

2024-05-16 19-40-17
John Bradley

Thank you for the response - I was tinkering with a different version of the table and may have mistakenly cut-and-pasted the table.  Lesson learned!

UserImage.jpg
Alexandre Yip
Solution

Hi John Bradley ,

That situation happens when you delete the entity in the Data tab and create again with the same name(for instance cut and paste).

In the Data Tab the name would be the same but after publishing internally it would inactivate the previous table and create a new physical table in the database.

Regards,




Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.