BEXIS2 / Core

This is the public code repository of the BEXIS2 data management software. It contains only modules, components, and packages of the core system. Contributed modules and components will be available in separate repositories. For more information on BEXIS2, please visit our website.
https://bexis2.github.io/
17 stars 13 forks source link

Duplicate Variable Template via Edit - Fail #405

Closed DavidBlaa closed 4 years ago

DavidBlaa commented 4 years ago

Step 1 Pass

Navigate to Edit a Variable Template via Variable Template Manager.

Step 2 Pass

In the “Name” field, enter a 

duplicate

 name 

(mandatory)

Step 3 Pass

Add or Edit other fields

Step 4 Fail

Click 

“Save”

if the exact spelling is used it throws a warning,eg. "title" vs "title" (correct);

if I enter the same word, but with uper/lower case eg. "title" vs. "Title" it results in the following error:


An error occurred while processing your request.


Controller: 

DataAttribute

Action: 

editAttribute

Message

Sequence contains no elements

Stacktrace

at System.Linq.Enumerable.First[TSource](IEnumerable`1 source) at BExIS.Modules.Rpm.UI.Controllers.DataAttributeController.editAttribute(DataAttributeModel Model) in C:\Program Files (x86)\Jenkins\workspace\BEXIS2Release_Pipeline_2\Console\BExIS.Web.Shell\Areas\RPM\Controllers\Legacy\DataAttributeController.cs:line 140 at lambda_method(Closure , ControllerBase , Object[] ) at System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) at System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) at System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) at System.Web.Mvc.Async.AsyncControllerActionInvoker.b39(IAsyncResult asyncResult, ActionInvocation innerInvokeState) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult2.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase1.End() at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.b3d() at System.Web.Mvc.Async.AsyncControllerActionInvoker.AsyncInvocationWithFilters.<>cDisplayClass46.b3f() at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>cDisplayClass33.b32(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResult1.CallEndDelegate(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase1.End() at System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>cDisplayClass21.<>cDisplayClass2b.b1c() at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>cDisplayClass21.b__1e(IAsyncResult asyncResult)

DavidBlaa commented 4 years ago

https://bexis2.testquality.com defect D71. Do not remove or edit.

DavidBlaa commented 4 years ago

done