- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2024 04:00 AM - edited 01-16-2024 01:32 AM
I have a custom application scope where we needed to add a few bug fixes.
So we create an Update Set in the scoped application and commited this to the other instances.
The problem is, this update set contained Inserts of new records. So when we now publish the proper version it generated skipped records. And we can't revert to base because there is no base to revert to.
Update:
After further investigation this is intended behavior. Because for proper Source Control, an update from an Update Set can't and shouldn't qualify as a Base Version.
The problem in my case was that the Update Set contained records never published by the application.
So when the final version was Published and it generated skipped records, there was no Base version to revert to.
The only fix was to force a newer update in DEV of these files and Publish so there was a qualified Base Version.
Then I looked through all the skipped records and reverted to base.
So now the state of the application is correct.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2024 04:59 AM - edited 01-15-2024 05:34 AM
Sorry, let me show an example of a skipped record.
This is a field label, but it's the same concept
If I click Resolve Conflict or click Revert to Base System I get the following message:
Because there is no base version.
If I open the record in question and check the Versions, I see there's only one version, the one from the Update Set.
In other words, this Update Set contained an Insert of this record, and so it apparently doesn't qualify as a Base Version.
Just to verify I went back to DEV and made an update to one of these skipped records (a client script) and published again. It now allows me to revert back to base and Version history looks like this:
Edit:
I seem to have solved the issue by manually updating each record that produced the skipped record. And publish the application so a proper base version exists. And then revert to it.
I have seen this scenario before with files missing a Base Version, that's why I decided to finally create a post about it and dive into it.
My conclusion is to avoid Update Sets for Custom Applications if possible, if we want to retain proper source control. And instead use branching and stashing if we need to publish incremental fixes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2024 04:10 AM
Hi @Vegard S
sorry, it's really confusing what you are writing. You are mixing many things and I'm not sure whether you really use the right words for certain topics. On the other hand, you are missing many important details and information. So please share some screenshots with a walk-through of your issue.
Maik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2024 04:59 AM - edited 01-15-2024 05:34 AM
Sorry, let me show an example of a skipped record.
This is a field label, but it's the same concept
If I click Resolve Conflict or click Revert to Base System I get the following message:
Because there is no base version.
If I open the record in question and check the Versions, I see there's only one version, the one from the Update Set.
In other words, this Update Set contained an Insert of this record, and so it apparently doesn't qualify as a Base Version.
Just to verify I went back to DEV and made an update to one of these skipped records (a client script) and published again. It now allows me to revert back to base and Version history looks like this:
Edit:
I seem to have solved the issue by manually updating each record that produced the skipped record. And publish the application so a proper base version exists. And then revert to it.
I have seen this scenario before with files missing a Base Version, that's why I decided to finally create a post about it and dive into it.
My conclusion is to avoid Update Sets for Custom Applications if possible, if we want to retain proper source control. And instead use branching and stashing if we need to publish incremental fixes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2024 05:06 AM
Hi @Vegard S
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]
****************************************************************************************************************
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-31-2024 10:45 PM
G phone d the same to u all just a chromebook is scanned