Empty Field

Posts   
 
    
luciusism
User
Posts: 119
Joined: 02-Jun-2007
# Posted on: 13-Mar-2008 22:00:56   

llblgen 2.5 final (Feb 4th, 2008 ) .net 2.0 asp.net 2.0 c#

In the designer, I added an element, and then on one of the field names, made it blank. I thne moved to the next field, realized my error, went back to the original field and provided the correct field name. After I move to another field, I get the following llblgen error:

FieldName can't be of zero length or just contain whitespace. Parameter name: FieldName

-----[Core exception]-------------------- at SD.LLBLGen.Pro.ApplicationCore.Entities.EntityFieldDefinition.set_FieldName(String value) at SD.LLBLGen.Pro.Gui.Forms.EntityDefinitionEditor._fieldNameTextBox_Validating(Object sender, CancelEventArgs e) at System.Windows.Forms.Control.OnValidating(CancelEventArgs e) at System.Windows.Forms.Control.PerformControlValidation(Boolean bulkValidation) at System.Windows.Forms.ContainerControl.ValidateThroughAncestor(Control ancestorControl, Boolean preventFocusChangeOnError) at System.Windows.Forms.ContainerControl.EnterValidation(Control enterControl) at System.Windows.Forms.ContainerControl.UpdateFocusedControl() at System.Windows.Forms.ContainerControl.AssignActiveControlInternal(Control value) at System.Windows.Forms.ContainerControl.ActivateControlInternal(Control control, Boolean originator) at System.Windows.Forms.ContainerControl.ActivateControlInternal(Control control) at System.Windows.Forms.ContainerControl.WmSetFocus(Message& m) at System.Windows.Forms.ContainerControl.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

SD.LLBLGen.Pro.ApplicationCore

Solution is to delete entity and recreate. Thanks!

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 14-Mar-2008 08:50:25   

Reproduced. Thanks for the catch.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 14-Mar-2008 10:54:58   

Will look into it.

Frans Bouma | Lead developer LLBLGen Pro
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39614
Joined: 17-Aug-2003
# Posted on: 14-Mar-2008 11:33:16   

Otis wrote:

Will look into it.

(edit) fixed in next build (March 14th)

Frans Bouma | Lead developer LLBLGen Pro
luciusism
User
Posts: 119
Joined: 02-Jun-2007
# Posted on: 15-Mar-2008 00:30:47   

I am glad I'm able to help