2026-06-10 13:32:37.501 | fail: Origam.Architect.Server.OrigamErrorHandlingMiddleware[0] 2026-06-10 13:32:37.502 | Model not saved. Please, save the model before setting the version. 2026-06-10 13:32:37.502 | System.Exception: Model not saved. Please, save the model before setting the version. 2026-06-10 13:32:37.502 | at Origam.Architect.Server.Services.DeploymentVersionCurrentService.SetVersionCurrent(DeploymentVersion deploymentVersion) in D:\a\1\s\backend\Origam.Architect.Server\Services\DeploymentVersionCurrentService.cs:line 38 2026-06-10 13:32:37.502 | at Origam.Architect.Server.Controllers.DeploymentScriptsController.SetVersionCurrent(SetVersionCurrentRequestModel requestModel) in D:\a\1\s\backend\Origam.Architect.Server\Controllers\DeploymentScriptsController.cs:line 55 2026-06-10 13:32:37.502 | at lambda_method28(Closure, Object, Object[]) 2026-06-10 13:32:37.502 | at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) 2026-06-10 13:32:37.502 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync() 2026-06-10 13:32:37.502 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) 2026-06-10 13:32:37.502 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync() 2026-06-10 13:32:37.502 | --- End of stack trace from previous location --- 2026-06-10 13:32:37.502 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) 2026-06-10 13:32:37.502 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) 2026-06-10 13:32:37.502 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync() 2026-06-10 13:32:37.502 | --- End of stack trace from previous location --- 2026-06-10 13:32:37.502 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) 2026-06-10 13:32:37.503 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) 2026-06-10 13:32:37.503 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) 2026-06-10 13:32:37.503 | at Origam.Architect.Server.ServerIdentityMiddleware.InvokeAsync(HttpContext context) in D:\a\1\s\backend\Origam.Architect.Server\ServerIdentityMiddleware.cs:line 29 2026-06-10 13:32:37.503 | at Origam.Architect.Server.OrigamErrorHandlingMiddleware.InvokeAsync(HttpContext context) in D:\a\1\s\backend\Origam.Architect.Server\OrigamErrorHandlingMiddleware.cs:line 49 2026-06-10 13:32:37.522 | 2026-06-10 13:32:37,502 [47] ERROR Origam.Architect.Server.OrigamErrorHandlingMiddleware - Model not saved. Please, save the model before setting the version. 2026-06-10 13:32:37.522 | System.Exception: Model not saved. Please, save the model before setting the version. 2026-06-10 13:32:37.522 | at Origam.Architect.Server.Services.DeploymentVersionCurrentService.SetVersionCurrent(DeploymentVersion deploymentVersion) in D:\a\1\s\backend\Origam.Architect.Server\Services\DeploymentVersionCurrentService.cs:line 38 2026-06-10 13:32:37.522 | at Origam.Architect.Server.Controllers.DeploymentScriptsController.SetVersionCurrent(SetVersionCurrentRequestModel requestModel) in D:\a\1\s\backend\Origam.Architect.Server\Controllers\DeploymentScriptsController.cs:line 55 2026-06-10 13:32:37.522 | at lambda_method28(Closure, Object, Object[]) 2026-06-10 13:32:37.522 | at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) 2026-06-10 13:32:37.522 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync() 2026-06-10 13:32:37.522 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) 2026-06-10 13:32:37.522 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync() 2026-06-10 13:32:37.522 | --- End of stack trace from previous location --- 2026-06-10 13:32:37.522 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) 2026-06-10 13:32:37.522 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) 2026-06-10 13:32:37.522 | at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync() 2026-06-10 13:32:37.522 | --- End of stack trace from previous location --- 2026-06-10 13:32:37.522 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) 2026-06-10 13:32:37.522 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) 2026-06-10 13:32:37.522 | at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|17_0(ResourceInvoker invoker, Task task, IDisposable scope) 2026-06-10 13:32:37.522 | at Origam.Architect.Server.ServerIdentityMiddleware.InvokeAsync(HttpContext context) in D:\a\1\s\backend\Origam.Architect.Server\ServerIdentityMiddleware.cs:line 29 2026-06-10 13:32:37.522 | at Origam.Architect.Server.OrigamErrorHandlingMiddleware.InvokeAsync(HttpContext context) in D:\a\1\s\backend\Origam.Architect.Server\OrigamErrorHandlingMiddleware.cs:line 49