Al ingresar una solicitud de reclamo de seguro médico, si se pone una observacion mayor a 100 caracteres el sistema da error sin dar un mensaje comprensible al usuario:

"System.Data.Entity.Core.UpdateException: An error occurred while updating the entries. See the inner exception for details.

The statement has been terminated. en System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction) en System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) en System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) en System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() en System.Data.SqlClient.SqlDataReader.get_MetaData() en System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString) en System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, SqlDataReader ds, Boolean describeParameterEncryptionRequest) en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource1 completion, Int32 timeout, Task& task, Boolean asyncWrite) en System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) en System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) en System.Data.Entity.Infrastructure.Interception.InternalDispatcher1.Dispatch[TTarget,TInterceptionContext,TResult](TTarget target, Func3 operation, TInterceptionContext interceptionContext, Action3 executing, Action3 executed) en System.Data.Entity.Infrastructure.Interception.DbCommandDispatcher.Reader(DbCommand command, DbCommandInterceptionContext interceptionContext) en System.Data.Entity.Core.Mapping.Update.Internal.DynamicUpdateCommand.Execute(Dictionary2 identifierValues, List1 generatedValues) en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() --- Fin del seguimiento de la pila de la excepción interna --- en System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() en System.Data.Entity.Core.Objects.ObjectContext.ExecuteInTransactionT en System.Data.Entity.Core.Objects.ObjectContext.SaveChangesInternal(SaveOptions options, Boolean executeInExistingTransaction) en Aseinfo.VH4.Data.AppDataContext.SaveChanges(SaveOptions options) en C:VH4VH4DataAppDataContext.cs:línea 98 en Aseinfo.Infrastructure.Base.Entity.EntityServiceBase2.SaveChanges() en C:\work\a3e0cbded2a6d4b3\Infrastructure\Base\Entity\EntityServiceBase.cs:línea 562 en Aseinfo.Infrastructure.Base.Entity.EntityServiceBase2.DoInsert(T entity, Boolean saveChanges, Boolean bypassWorkflowInitialization) en C:worka3e0cbded2a6d4b3InfrastructureBaseEntityEntityServiceBase.cs:línea 893 en Aseinfo.VH4.Expedientes.Controllers.ReclamoSeguroMedicoController.SaveReclamoSeguroMedico(ReclamoSeguroMedico entity, Boolean inserting, Nullable1 iniciaFlujo, String codigoAlternativo, Nullable1 codigoEmpleo, Nullable1 codigoSeguroMedico, Nullable1 codigoFamiliar, Nullable1 codigoTipoReclamo, String codigoMoneda, Nullable1 codigoCuenta, Boolean esFamiliar, Nullable1 codigoBeneficiario, List1 listadoConceptos, Boolean esPortal) en C:worka3e0cbded2a6d4b3VH4ExpedientesControllersReclamoSeguroMedicoController.cs:línea 918 en Aseinfo.VH4.Expedientes.Controllers.ReclamoSeguroMedicoController.CrearReclamoPost(ReclamoSeguroMedico entity, Nullable1 iniciaFlujo, String codigoAlternativoExpediente, Nullable1 codigoEmpleo, Nullable1 codigoSeguroMedico, Nullable1 codigoFamiliar, Nullable1 codigoTipoReclamo, String codigoMoneda, Nullable1 codigoCuenta, Boolean esFamiliar, Nullable1 codigoBeneficiario, List1 listadoConceptos, Boolean esPortal) en C:worka3e0cbded2a6d4b3VH4ExpedientesControllersReclamoSeguroMedicoController.cs:línea 1336 en lambda_method(Closure , ControllerBase , Object[] ) en System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary2 parameters) en System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary2 parameters) en System.Web.Mvc.Async.AsyncControllerActionInvoker.<begininvokesynchronousactionmethod>b39(IAsyncResult asyncResult, ActionInvocation innerInvokeState) en System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult`2.CallEndDelegate(IAsyncResult asyncResult) en System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) en System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<invokeactionmethodfilterasynchronouslyrecursive>b3d() en System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>cDisplayClass46.<invokeactionmethodfilterasynchronouslyrecursive>b3f() en System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>cDisplayClass46.<invokeactionmethodfilterasynchronouslyrecursive>b3f() en System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>cDisplayClass46.<invokeactionmethodfilterasynchronouslyrecursive>b3f() en System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>cDisplayClass46.<invokeactionmethodfilterasynchronouslyrecursive>b3f() en System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>cDisplayClass46.<invokeactionmethodfilterasynchronouslyrecursive>b3f() en System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) en System.Web.Mvc.Async.AsyncControllerActionInvoker.<>cDisplayClass21.<>cDisplayClass2b.<begininvokeaction>b1c() en System.Web.Mvc.Async.AsyncControllerActionInvoker.<>cDisplayClass21.<begininvokeaction>b__1e(IAsyncResult asyncResult)"

EL campo en la base de datos campo (rem_observaciones) solo admite 100 caracteres.

asked 03 Jul '17, 10:42

Sandy's gravatar image

Sandy
(suspended)
accept rate: 16%


Se creó el issue EVO-3312 para corregir el error.

link

answered 03 Jul '17, 18:23

glemus's gravatar image

glemus
(suspended)
accept rate: 51%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Evolution en BitBucket

En este sitio puede acceder al código fuente, centro de descargas y reportar bugs, propuestas y mejoras para Evolution.

Evolution en JIRA

En este sitio puedes sugerir nueva funcionalidad para Evolution, o puedes votar por la funcionalidad ya propuesta por otros usuarios.

Tags:

×2

Asked: 03 Jul '17, 10:42

Seen: 509 times

Last updated: 03 Jul '17, 18:23

[Acerca de] [Preguntas Frecuentes] [Privacidad] [Soporte] [Contacto]
Copyright 2013-2018. Asesores en Informática