This project has moved and is read-only. For the latest updates, please go here.
1

Closed

Save-Resource not reloading or updating ObjectID after Create

description

Save-Resource is not reloading or updating ObjectID after Create.

There is code for reloading the properties in SaveResources.cs, but since ModificationType is changed to Update after it's never processed in the ReloadProperties loop.

Proposed fix, add ToList() on row 24 in SaveResources.cs

List<RmaObject> creatingObjects = this.Resources.Where(t => t.InternalObject.ModificationType == OperationType.Create).ToList();
Closed Jan 11, 2016 at 9:17 PM by ryannewington

comments

ryannewington wrote Sep 29, 2015 at 9:17 PM

Thanks for reporting this. I've updated the binaries to 1.0.5751 and checked in changeset bb39ee6fc161 with the fix in it.