Auto create a snapshot after Deliver occurs Error
Hello!
IScmService scm = getService(IScmService.class);
WorkspaceItemListResult result = scm.createBaselineSet(destWorkspace, new IComponentHandle[0],
now.toString(), now.toString() + "SnapShot", true,
null, null, null);
The code running without exception in my operation participant but an error occurs in Eclipse which show in following picture:
I think the reason why this error occurs is I have modified stream(create snapshot) before the change sets really delivered to it, but I have no idea how to fix or avoid it.
Is there any solution? I will be very appreciate!
3 answers
SCM uses SaveItemInTxn and RepositoryTransactionContext. This means that there are 3 layers of delayed writes. Writing any kind of code that runs after an SCM write operation is very difficult and I am not sure that we intend to support that at all.
@Di Tang any update on this ?? did you resolved the above stale data error ? if yes can you tell me how you resolved, i have also slimier error
Comments
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Jan 12 '13, 11:13 a.m.Di Tang
Jan 14 '13, 9:54 a.m.Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Jan 14 '13, 2:50 a.m.Di Tang
Jul 18 '18, 12:53 p.m.Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Jan 15 '13, 2:13 a.m.Di Tang
Jan 15 '13, 2:57 a.m.Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Jan 15 '13, 3:01 a.m.Di Tang
Jan 15 '13, 4:02 a.m.Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Jan 15 '13, 4:17 a.m.Di Tang
Jan 15 '13, 4:46 a.m.Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Jan 15 '13, 5:03 a.m.Di Tang
Jan 15 '13, 5:18 a.m.Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Jan 15 '13, 5:31 a.m.Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Jan 15 '13, 5:28 a.m.