Duplicate Seed Records on Update - Forum - Rollbase - Progress Community

Duplicate Seed Records on Update

 Forum

Duplicate Seed Records on Update

This question is not answered

I am updating an app via XML with Attached Seed Records. The original install lets say had 10 seeds, the update has the original 10 plus 15 new. I was expecting to see 15 in the updated app, however I see 25. The original 10 seeds have been re-installed.

How does Rollbase determine if a seed already exists or not. Does it use some sort of "original id" or does it compare on a field by field basis. I did add some fields to the seed records so perhaps it then thinks this is a new record and add it?

All Replies
  • Installer looks for existing records with original ID from XML. If found, updates existing records, otherwise - create new records.

  • Somehow my original IDs have changed. Could this happen if I had delete the original app and re-installed it from XML on my develpopment tenant? If so any way to resolve this?

  • Hello,

    You said that the new update has the original 10 + the 15 new records in it. It just did update the previous 10 records and then added the 15 that's why it's displaying those 25 records. Original IDs are unique across all tenants in a single Rollbase Installation unless the XML you installed is from a different Rollbase Installation.

    Thank you,

    Gian

  • Somehow all the original ids for the seed records have changed. I ended up writing a script to manually remove them after the update. How could my original ids have changed? Is this a known issue?

  • This cannot happen if you keep developing your app in the same environment (tenant).

  • Hello,

    I will try to test this on the latest version. The original ID shouldn't change just by updating the app on the same environment.

    Thank you,
    Gian
  • Hello,

    I tested this and the original IDs are not changing when you are updating the application in the same environment/tenant. Hope this clears the issue.

    Thank you,
    Gian