En la creación de una solicitud de vacación desde el portal, el usuario obtiene el siguiente error:

System.Data.UpdateException: Entities in 'AppDataContext.ActividadesAutorizacionInstancias' participate in the 'FK_wfl_ira_1_wfl_ain' relationship. 0 related 'ira_instancias_rutas_aut' were found. 1 'ira_instancias_rutas_aut' is expected. at System.Data.Mapping.Update.Internal.UpdateTranslator.RelationshipConstraintValidator.ValidateConstraints() at System.Data.Mapping.Update.Internal.UpdateTranslator.ProduceCommands() at System.Data.Mapping.Update.Internal.UpdateTranslator.Update(IEntityStateManager stateManager, IEntityAdapter adapter) at System.Data.EntityClient.EntityAdapter.Update(IEntityStateManager entityCache) at System.Data.Objects.ObjectContext.SaveChanges(SaveOptions options) at Aseinfo.VH4.Data.AppDataContext.SaveChanges(SaveOptions options) in c:VH4VH4DataModelAppDataContext.cs:line 91 at Aseinfo.Infrastructure.Base.Entity.GenericEntityRepository.SaveChanges() in c:VH4InfrastructureBaseEntityGenericEntityRepository.cs:line 218 at Aseinfo.Infrastructure.Base.Entity.EntityServiceBase2.SaveChanges() in c:VH4InfrastructureBaseEntityEntityServiceBase.cs:line 529 at Aseinfo.Infrastructure.Base.Entity.EntityServiceBase2.SaveInstanciaFlujo() in c:VH4InfrastructureBaseEntityEntityServiceBase.cs:line 702 at Aseinfo.Infrastructure.Base.Entity.EntityServiceBase`2.InitializeWorkflowInEntity(IAuthorizationWorkflowManagedEntity entity, IInstanciaRutaAutorizacion instanciaQueSeReintenta) in c:VH4InfrastructureBaseEntityEntityServiceBase.cs:line 689 at Aseinfo.Infrastructure.Common.Extensions.MvcExtensions.InicializaFlujoAutorizacion(SecuredExtendedControllerBase controller, IAuthorizationWorkflowManagedEntity entity, IAuthorizationWorkflowManagedEntityService service, IInstanciaRutaAutorizacion instanciaQueSeReintenta) in c:VH4InfrastructureCommonExtensionsMvcExtensions.cs:line 572

Revisé la aplicación y lo que ocurre es que la plaza del usuario tiene asociada una plaza jefe que no está ocupada. La pregunta es: ¿cómo mostramos un error más descriptivo al usuario?

En este momento ni el usuario ni el personal de soporte de IT puede saber cuál es el problema. Me sugerían algo como "Favor notifique a RRHH que su plaza no tiene un jefe asociado" o algo parecido.

Gracias por sus opiniones.

asked 12 Dec '14, 17:45

Carlos%20Reyes's gravatar image

Carlos Reyes
(suspended)
accept rate: 43%

Que versión tenes?

(15 Dec '14, 15:27) sabanito ♦♦ sabanito's gravatar image

Esto ya se arregló en la versión 1.8.3 (issue)

link

answered 15 Dec '14, 20:12

sabanito's gravatar image

sabanito ♦♦
(suspended)
accept rate: 54%

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:

×92

Asked: 12 Dec '14, 17:45

Seen: 2,007 times

Last updated: 15 Dec '14, 20:12

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