1.0.7 - Release Notes

Topic updated 16-3-2007

GenWise IDE

New: duplication of project items, templates and controls supported.
Source Editor
oMany fixes in code completion and improved stability
oDelete key often doesn't work on text (worked to delete 1 char at a time, but not to delete lots of text)
oCode Snippet can be inserted in template code
oNo navigation to user code after file switch
oError pane hides code worked on: Source Editor now even tries to place the error with at least 10 lines of code before and after (so a bit more in the center of the Source Editor)
oFind - Replace All changes template code
oClear custom code -> background coloring disappears
oControls not shown in code besides (cs)
Improved loading of project with invalid xml ( duplicated global templates).
If quickstart was used the Action tooltips where never restored back.
WebForm Designer
oIE7 better support, resolved
o(new) Drag  & Drop Html elements supported
o(new) User Controls supported
oMenu Control Design time improved.
oAjax UpdatePanel Support
omargin between content control : there is no margin kept between two content controls on a child page.
oDelete Style is now also possible.
Impact Analysis improved speed and information exposed.
Database Repository Import Schema
oDatabase.MakeColumnHeader had some bugs fixed.
Activation
oadd request trail licence link to activation dialog
Installer
oincludes the AjaxControlToolkit
Template system
oFontSymbolNode added.
Bugs fixed:
oWhen creating a new web application when you have unsaved and ungenerated BO Layer projects loaded, there is an exception when you say yes to the question of saving the BO Layer.
oWhile closing projects Event processing error : Event Entity Delete Event for Entity Entity:WebBuild Template threw an error while processing Object reference not set to an instance of an object.
oTemplate tree: Deleted all in the template tree could raise an Exception.
oProject Tree: Collapse & expand mostly not working (Most items in the Project Explorer have the Expand All and Collapse All options in their context menu, but clicking them has no result.It only works on the root items.)
oSome TreeNodes will not dispose correctly.
oAdhoc SQL: SQL Error gives infinite popup loop
oProject is generating message fixed.
oQBE (Query By Example) out of sync when used column deleted
oOpen Project problem (Database Repository not found)
If a project is referencing a Database Repository located in another path GenWise very nicely shows a warning message with a question: Do you want to locate the file yourself?

 

GenWise Database Providers

New: Added IBM Db2 Providers (beta)
New: Added Cache provider ( beta under request)
PostgreSQL:
oNullable attribute not correctly imported
oView where not imported corretly.
Oracle Provider
oGetAll fails (runtime error) if space
oFK with space --> fails
oTable with space --> relations do not import
oFixed connection string problems under certain oracle client version.
iAnywhere
oException AddIndexes when space
oDecimal import bug .
A decimal(9,3) --> it's imported as decimal(0,3) because the 9 is moved into the length instead of the precision.
MySQL
ospace cause Key not to be Primary Key
orelation fails if table w/space
oMySQL Views not imported correctly.
Firebird
oexception if table with space.
oThe import was not detecting correctly this as a read-only column.

 

Invalid Key Name --> Now it will just transform it to valid .net name.

Before you used to get this validation message:

Validations Failed for Entity Type=GenWise.Framework.DBRepository.Key

Entity Name = PK_Email Address-ID

Parent Entity = Email_Addresses

Validation Errors:

#1) Entity:PK_Email Address-ID Error:Key name is not valid

 

NHibernate Templates

Base Class can be configured for POCO class and factory.
One-to-one relation could fail to generate correctly if the relation was using columns with different names, in certain cases, the wrong side was used to get the property name.
Replaced some method still using HQL to use ICriteria. (more consistency)
Insert method: added user CodeBlock
XML mapping
oinsert = false is not correct for keyproperty
Improved custom view support
oThe case of a custom view using 2 parents of same type now works.
Bug: ValueGetValidatorDType : Unknown Type = TimeSpan
Support Cache in Nhibernate Templates
Factory
oSorting using 2 props failing : If a small space if left in the sorting. BooksCollection _books = _booksFactory.GetAll(_booksFactory.GetBasicCriteria(), "NumberOfPages DESC, Title");
oSortExpression = DESC ? --> ascending used.
oInsert Duplicate --> "no transaction to rollback" error

 

ASP.NET Templates

Page Template
oNew: User controls generation now supported
oValidation added: If User Controls --> no master page can be selected
oValidation model
changed on pages changed to allow User controls to contain template which used datasource ( form, browse, dropdown, etc).
if a BO-Validation raised an exception should be trapped and stay in edit mode (was not happening in all cases)
A Property template mapped to a Primary key column generates a label control (this is OK) but it was also generating Validation controls associated with this labels (Bug fixed).
Locator Template
oLocator not correctly casting value (wrong type used)
Form Templates
oobject references an unsaved transient instance - save the transient instance before flushing:

Description: An unhandled exception occurred during the execution of the current web request. Please

review the stack trace for more information about the error and where it originated in the code.

Property Templates
oNullable boolean + checkbox --> problem: We should validate if the property template will use a checkbox with a nullable boolean. a nullable boolean has 3 states ( false, true, null ) and the control does not support that giving a runtime error if validation excluded.
oText sorting leads to asp.net syntax error: Enable Sorting on, use images off, use texts on. Generation successfull, but Build fails in Visual Studio, cause: _sortText.Text =}(right hand operand is missing)
oNew: Some Template options made global :
Disable If Primary Key
Use DbRepository formatting
Map list Validator to dropDown
oDropdown null issues
oNew: Lookup templates now uses the Target Column validators.

 

Countries (*)
CountryCode (NULL)
Name (NULL)
 

 

Country Code is required
GoTo Template renamed (to NavigateTo)
This error could ocurr if you where using Master/Details with autonumber parent:
oobject references an unsaved transient instance - save the transient instance before flushing
Security Templates
oIf password == number --> compilation error (Using an int as password gives compilation errors.)
o Autonumber fields where shown as possible id for the security templates.