<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/gopf/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/gopf/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/gopf/bugs/</id><updated>2007-01-11T20:33:50Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>Misleading Error Description</title><link href="https://sourceforge.net/p/gopf/bugs/12/" rel="alternate"/><published>2007-01-11T20:33:50Z</published><updated>2007-01-11T20:33:50Z</updated><author><name>Matt Baldwin</name><uri>https://sourceforge.net/u/mattb000/</uri></author><id>https://sourceforge.netb3b1e881a905bbb666f59266c6b8185d5a635601</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;If for some reason you have 2 properties that map to the same field, it will display an error that claims certian fields do not exist.&lt;/p&gt;
&lt;p&gt;FieldList.cs line 69 will throw an exception that is caught by GentleAnalyzer.cs line 239. From there it will display the error, when the correct error is "Duplicate Key"&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>SoftDelete generates incorrect update statement</title><link href="https://sourceforge.net/p/gopf/bugs/11/" rel="alternate"/><published>2006-05-19T13:57:17Z</published><updated>2006-05-19T13:57:17Z</updated><author><name>Llewellyn Pritchard</name><uri>https://sourceforge.net/u/leppie/</uri></author><id>https://sourceforge.netd7f5ec38c4ffc29e7f0b3a7928d626a242a97339</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am posting the bug and patch here, as I can NOT see&lt;br /&gt;
single damned link on JIRA to submit a new issue.&lt;/p&gt;
&lt;p&gt;With a SoftDelete column it generates:&lt;/p&gt;
&lt;p&gt;UPDATE ... PK = @PK ... where PK = @PK&lt;/p&gt;
&lt;p&gt;Thats is obviously incorrect.&lt;/p&gt;
&lt;p&gt;The fix:&lt;/p&gt;
&lt;p&gt;#line 397 Client\SqlBuilder&lt;br /&gt;
// Exclude fields that are marked as readonly from&lt;br /&gt;
insert and update statements&lt;br /&gt;
if( ( stmtType == StatementType.Insert || stmtType ==&lt;br /&gt;
StatementType.Update ) &amp;amp;&amp;amp; fm.IsReadOnly )&lt;br /&gt;
addField = false;&lt;br /&gt;
if ( stmtType == StatementType.SoftDelete &amp;amp;&amp;amp;&lt;br /&gt;
fm.IsPrimaryKey)&lt;br /&gt;
addField = false;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Mysql Provider error</title><link href="https://sourceforge.net/p/gopf/bugs/10/" rel="alternate"/><published>2006-03-27T11:23:41Z</published><updated>2006-03-27T11:23:41Z</updated><author><name>Victor Seva</name><uri>https://sourceforge.net/u/linuxmaniac/</uri></author><id>https://sourceforge.net2bc989a55ccc7245b6d25948c899361ca01b9f24</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;When I call Persist() I get:&lt;/p&gt;
&lt;p&gt;Unhandled Exception: Error:&lt;br /&gt;
UnsupportedPropertyTypeUnclassified&lt;br /&gt;
Gentle.Common.GentleException: The member type Single&lt;br /&gt;
is not yet supported by MySQL.&lt;br /&gt;
in &amp;lt;0x00093&amp;gt; Gentle.Common.Check:FailWith (Severity&lt;br /&gt;
severity, Error error, System.Exception e,&lt;br /&gt;
System.String msg)&lt;br /&gt;
in &amp;lt;0x00035&amp;gt; Gentle.Common.Check:Fail (System.Exception&lt;br /&gt;
e, Error error, System.Object[] args)&lt;br /&gt;
in &amp;lt;0x0000f&amp;gt; Gentle.Common.Check:Fail (Error error,&lt;br /&gt;
System.Object[] args)&lt;br /&gt;
in &amp;lt;0x001f4&amp;gt; &lt;br /&gt;
Gentle.Provider.MySQL.MySQLFactory:GetDbType&lt;br /&gt;
(System.Type type)&lt;br /&gt;
in &amp;lt;0x00023&amp;gt;&lt;br /&gt;
Gentle.Framework.GentleSqlFactory:AddParameter&lt;br /&gt;
(IDbCommand cmd, System.String name, System.Type type)&lt;br /&gt;
in &amp;lt;0x0011d&amp;gt; Gentle.Framework.SqlBuilder:AddParameter&lt;br /&gt;
(System.String name, Gentle.Framework.FieldMap fm)&lt;br /&gt;
in &amp;lt;0x00389&amp;gt; Gentle.Framework.SqlBuilder:AddFields&lt;br /&gt;
(System.Type type)&lt;br /&gt;
in &amp;lt;0x00165&amp;gt; Gentle.Framework.SqlBuilder:GetStatement&lt;br /&gt;
(StatementType stmtType, System.String tableName,&lt;br /&gt;
System.Type type, Boolean isCollection)&lt;br /&gt;
in &amp;lt;0x0006e&amp;gt; Gentle.Framework.SqlBuilder:GetStatement&lt;br /&gt;
(Boolean isCollection)&lt;br /&gt;
in &amp;lt;0x001ad&amp;gt;&lt;br /&gt;
Gentle.Framework.GentleProvider:GetStatement&lt;br /&gt;
(System.Type type, System.String tableName,&lt;br /&gt;
StatementType stmtType)in &amp;lt;0x0003e&amp;gt;&lt;br /&gt;
Gentle.Framework.PersistenceBroker:GetStatement&lt;br /&gt;
(System.Type type, Gentle.Framework.Key key,&lt;br /&gt;
StatementType stmtType)&lt;br /&gt;
in &amp;lt;0x0002f&amp;gt;&lt;br /&gt;
Gentle.Framework.PersistenceBroker:GetStatement&lt;br /&gt;
(System.Object instance, StatementType stmtType)&lt;br /&gt;
in &amp;lt;0x00079&amp;gt; Gentle.Framework.PersistenceBroker:Execute&lt;br /&gt;
(System.Object obj, StatementType st, IDbConnection&lt;br /&gt;
conn, IDbTransaction tr)&lt;br /&gt;
in &amp;lt;0x00051&amp;gt; Gentle.Framework.PersistenceBroker:Persist&lt;br /&gt;
(IPersistent obj)&lt;br /&gt;
in &amp;lt;0x00013&amp;gt; Gentle.Framework.Persistent:Persist ()&lt;/p&gt;
&lt;p&gt;This error is solved with the attached patch:&lt;br /&gt;
maniac@avalon:~/gentle$ svn diff&lt;br /&gt;
Source/Gentle.Provider.MySQL/&lt;br /&gt;
Index: Source/Gentle.Provider.MySQL/MySQLFactory.cs&lt;br /&gt;
===================================================================&lt;br /&gt;
--- Source/Gentle.Provider.MySQL/MySQLFactory.cs    &lt;br /&gt;
(revisión: 992)&lt;br /&gt;
+++ Source/Gentle.Provider.MySQL/MySQLFactory.cs    &lt;br /&gt;
(copia de trabajo)&lt;br /&gt;
@@ -40,7 +40,7 @@&lt;br /&gt;
result = MySqlDbType.Int32;&lt;br /&gt;
else if( type.Equals(&lt;br /&gt;
typeof(long) ) )&lt;br /&gt;
result = MySqlDbType.Int64;&lt;br /&gt;
-                       else if( type.Equals(&lt;br /&gt;
typeof(double) ) )&lt;br /&gt;
+                       else if( type.Equals(&lt;br /&gt;
typeof(double) )  || type.Equals( typeof(Single) ) )&lt;br /&gt;
result =&lt;br /&gt;
MySqlDbType.Double;&lt;br /&gt;
else if( type.Equals(&lt;br /&gt;
typeof(decimal) ) )&lt;br /&gt;
result =&lt;br /&gt;
MySqlDbType.Decimal;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>bug in reading config file path</title><link href="https://sourceforge.net/p/gopf/bugs/9/" rel="alternate"/><published>2005-01-12T16:04:43Z</published><updated>2005-01-12T16:04:43Z</updated><author><name>Axel</name><uri>https://sourceforge.net/u/rittersh/</uri></author><id>https://sourceforge.net4eae63c5aa3aad1b8312efa8c188984477daf361</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;project Gentle.Common,&lt;br /&gt;
class FileHandler,&lt;br /&gt;
method CheckConfigFilePath&lt;/p&gt;
&lt;p&gt;bool isRelativePath = folder.IndexOf( ":" ) == 1 ||&lt;br /&gt;
folder.StartsWith( "/" ) ||&lt;br /&gt;
folder.StartsWith( "./" ) ||&lt;br /&gt;
folder.StartsWith( @"\" );&lt;/p&gt;
&lt;p&gt;isRelativePath is buggy.&lt;/p&gt;
&lt;p&gt;Consider the following example folder name:&lt;/p&gt;
&lt;p&gt;c:\test\test&lt;/p&gt;
&lt;p&gt;Although the folder name denotes an absolute path &lt;br /&gt;
isRelativePath returns true, since folder.IndexOf(":") == &lt;br /&gt;
1.&lt;/p&gt;
&lt;p&gt;folder.StartWith("/") or folder.StartsWith( @"\" ) also &lt;br /&gt;
don't look relative to me.&lt;/p&gt;
&lt;p&gt;The consequence is, that config files are not found where &lt;br /&gt;
expected for absolute paths.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Runtime exception with SQL Server analyzis</title><link href="https://sourceforge.net/p/gopf/bugs/8/" rel="alternate"/><published>2004-11-13T19:10:01Z</published><updated>2004-11-13T19:10:01Z</updated><author><name>Biggi</name><uri>https://sourceforge.net/u/biggik/</uri></author><id>https://sourceforge.net68f2503e4fd5c014857db188c4d1228595bdc9d5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I've been using MySQL in  my project, but am in the &lt;br /&gt;
process of extending the database support to MS SQL &lt;br /&gt;
Server as well.&lt;/p&gt;
&lt;p&gt;To get a list of all tables in the database schema, I've &lt;br /&gt;
been using the documented feature of the analyzer &lt;br /&gt;
Analyze method, to pass in null for the table name.&lt;/p&gt;
&lt;p&gt;This works fine for MySQL, but for MSSQL (using &lt;br /&gt;
provider SQLServer), a System.NullReferenceException &lt;br /&gt;
(Object reference not set to an instance of an object) &lt;br /&gt;
is thrown in method GetTableMap of class &lt;br /&gt;
Provider\GentleAnalyzer.cs since the tableName &lt;br /&gt;
parameter is null - this is called from the Analyze &lt;br /&gt;
method of SQLServerAnalyzer.cs class when the level is &lt;br /&gt;
set to OnDemand (default). Chaning the level to &lt;br /&gt;
Full 'fixes' this problem.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Incorrent error handling</title><link href="https://sourceforge.net/p/gopf/bugs/7/" rel="alternate"/><published>2004-11-13T15:06:30Z</published><updated>2004-11-13T15:06:30Z</updated><author><name>Biggi</name><uri>https://sourceforge.net/u/biggik/</uri></author><id>https://sourceforge.net3a7cc5f69b4830f42f09997c11e4827cc153c5b7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The catch block of Core\ProviderRegistry.cs 's &lt;br /&gt;
RegisterProviders (line 89) incorrectly uses xn.InnerXml &lt;br /&gt;
when logging an error on a provider entry. It shoudl be &lt;br /&gt;
xn.OuterXml since all the node contains is attributes.&lt;/p&gt;
&lt;p&gt;Also, the exception should be logged as well - I was &lt;br /&gt;
fighting a problem where the actual problem was with &lt;br /&gt;
types in the assembly, not the configuration of the &lt;br /&gt;
provider entry.&lt;/p&gt;
&lt;p&gt;catch (Exception e)&lt;br /&gt;
{&lt;br /&gt;
Check.LogError( "Unable to parse provider definition &lt;br /&gt;
from:" );&lt;br /&gt;
Check.LogError( xn.InnerXml );&lt;br /&gt;
Check.LogError ("Exception:" + e.Message);&lt;br /&gt;
}&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>custom config folder</title><link href="https://sourceforge.net/p/gopf/bugs/6/" rel="alternate"/><published>2004-11-13T14:38:22Z</published><updated>2004-11-13T14:38:22Z</updated><author><name>Biggi</name><uri>https://sourceforge.net/u/biggik/</uri></author><id>https://sourceforge.net6a60f3d14680fd0aa6cde99600204084ccb4330b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Between release 1.1.1 and 1.1.2 the implementation of &lt;br /&gt;
general\config.cs has changed with respect to custom &lt;br /&gt;
config file locations.&lt;/p&gt;
&lt;p&gt;The change has interesting effects, for example, in my &lt;br /&gt;
app.config I have&lt;/p&gt;
&lt;p&gt;&amp;lt;add key="GentleConfigFolder" value="../../../maps/"/&amp;gt;&lt;/p&gt;
&lt;p&gt;but after the execution of line 83 in config.cs&lt;/p&gt;
&lt;p&gt;path = path.Replace( Path.GetFileName( path ), "" ); &lt;/p&gt;
&lt;p&gt;the maps folder has disappeared from the folder &lt;br /&gt;
specificiation, and of course no config file can be found &lt;br /&gt;
there.&lt;/p&gt;
&lt;p&gt;I don't understand this code change, so I'll leave it to &lt;br /&gt;
the implementer to fix it. A workaround for me currently &lt;br /&gt;
is to add some dummy data to the end of the &lt;br /&gt;
GentleConfigFolder specification, &lt;br /&gt;
e.g., ../../../maps/dummy&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Soft-Delete does not work yet</title><link href="https://sourceforge.net/p/gopf/bugs/5/" rel="alternate"/><published>2004-05-02T18:32:30Z</published><updated>2004-05-02T18:32:30Z</updated><author><name>Lutz Wellhausen</name><uri>https://sourceforge.net/u/lwellhausen/</uri></author><id>https://sourceforge.net122fd6e501f7bc39ab5604cf23bbe5f984692606</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The following changes will solve this problem:&lt;/p&gt;
&lt;h1 id="index-sourcegentleframeworkcorepersistencebrokercs"&gt;Index: Source/Gentle.Framework/Core/PersistenceBroker.cs&lt;/h1&gt;
&lt;p&gt;--- Source/Gentle.Framework/Core/PersistenceBroker.cs&lt;br /&gt;
(revision 4)&lt;br /&gt;
+++ Source/Gentle.Framework/Core/PersistenceBroker.cs&lt;br /&gt;
(revision 5)&lt;br /&gt;
@@ -455,6 +455,8 @@&lt;br /&gt;
internal SqlResult Execute( object obj,&lt;br /&gt;
StatementType st, IDbConnection conn, IDbTransaction tr )&lt;br /&gt;
{&lt;br /&gt;
ObjectMap map = ObjectFactory.GetMap( obj );&lt;br /&gt;
+          if(map.IsMarkDelete &amp;amp;&amp;amp; st == StatementType.Delete)&lt;br /&gt;
+              st = StatementType.SoftDelete;&lt;br /&gt;
SqlStatement stmt = GetStatement( obj, st );&lt;br /&gt;
stmt.SetParameters( obj, true );&lt;br /&gt;
// connections are supplied from outside when in a&lt;br /&gt;
transaction&lt;br /&gt;
@@ -464,7 +466,7 @@&lt;br /&gt;
// throw an error if execution failed&lt;br /&gt;
Check.Verify( sr.ErrorCode == 0,&lt;br /&gt;
Error.StatementError, sr.Error, stmt.Sql );&lt;br /&gt;
// check that statement affected a row&lt;br /&gt;
-          if( st == StatementType.Insert || st ==&lt;br /&gt;
StatementType.Update || st == StatementType.Delete )&lt;br /&gt;
+          if( st == StatementType.Insert || st ==&lt;br /&gt;
StatementType.Update || st == StatementType.Delete ||&lt;br /&gt;
st == StatementType.SoftDelete )&lt;br /&gt;
{&lt;br /&gt;
// throw concurrency error if no record was affected&lt;br /&gt;
Check.Verify( sr.RowsAffected == 1,&lt;br /&gt;
Error.RecordChanged );&lt;br /&gt;
Index: Source/Gentle.Framework/Client/SqlStatement.cs&lt;br /&gt;
===================================================================&lt;br /&gt;
--- Source/Gentle.Framework/Client/SqlStatement.cs&lt;br /&gt;
(revision 4)&lt;br /&gt;
+++ Source/Gentle.Framework/Client/SqlStatement.cs&lt;br /&gt;
(revision 5)&lt;br /&gt;
@@ -284,10 +284,10 @@&lt;br /&gt;
{&lt;br /&gt;
object val;&lt;br /&gt;
// update parameter for concurrency control&lt;br /&gt;
-                  if( fm.IsConcurrencyControlColumn )&lt;br /&gt;
+                  if( fm.IsConcurrencyControlColumn &amp;amp;&amp;amp;&lt;br /&gt;
isNewControlValue )&lt;br /&gt;
{&lt;br /&gt;
long version;&lt;br /&gt;
-                      if( statementType == StatementType.SoftDelete &amp;amp;&amp;amp;&lt;br /&gt;
isNewControlValue )&lt;br /&gt;
+                      if( statementType == StatementType.SoftDelete )&lt;br /&gt;
version = -1;&lt;br /&gt;
else&lt;br /&gt;
{&lt;br /&gt;
@@ -412,6 +412,7 @@&lt;br /&gt;
break;&lt;br /&gt;
case StatementType.Update:&lt;br /&gt;
case StatementType.Delete:&lt;br /&gt;
+                  case StatementType.SoftDelete:&lt;br /&gt;
// returns the number of rows affected&lt;br /&gt;
sr = new SqlResult( cmd.ExecuteNonQuery(), this );&lt;br /&gt;
break;&lt;br /&gt;
Index: Source/Gentle.Framework/Client/SqlBuilder.cs&lt;br /&gt;
===================================================================&lt;br /&gt;
--- Source/Gentle.Framework/Client/SqlBuilder.cs&lt;br /&gt;
(revision 4)&lt;br /&gt;
+++ Source/Gentle.Framework/Client/SqlBuilder.cs&lt;br /&gt;
(revision 5)&lt;br /&gt;
@@ -299,13 +299,13 @@&lt;br /&gt;
if( ! fields.Contains( fm.ColumnName ) )&lt;br /&gt;
fields.Add( fm.ColumnName );&lt;br /&gt;
// regular fields are parameters for insert and&lt;br /&gt;
update statements&lt;br /&gt;
-                  if( stmtType == StatementType.Insert || stmtType&lt;br /&gt;
== StatementType.Update )&lt;br /&gt;
+                  if( stmtType == StatementType.Insert || stmtType&lt;br /&gt;
== StatementType.Update  || stmtType ==&lt;br /&gt;
StatementType.SoftDelete )&lt;br /&gt;
AddParameter( fm );&lt;br /&gt;
// concurrency control parameter needs to be&lt;br /&gt;
added twice with update statements&lt;br /&gt;
if( fm.IsConcurrencyControlColumn ) &lt;br /&gt;
{&lt;br /&gt;
this.concurrencyField = fm.ColumnName;&lt;br /&gt;
-                      if( stmtType == StatementType.Update )&lt;br /&gt;
+                      if( stmtType == StatementType.Update || stmtType&lt;br /&gt;
== StatementType.SoftDelete )&lt;br /&gt;
AddParameter( "New" + fm.ColumnName, fm.Type );&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
@@ -344,7 +344,7 @@&lt;br /&gt;
if( Config.ConcurrencyControl &amp;amp;&amp;amp;&lt;br /&gt;
map.ConcurrencyControlColumn != null )&lt;br /&gt;
{&lt;br /&gt;
// add field as constraint as well&lt;br /&gt;
-              if( stmtType == StatementType.Update || stmtType&lt;br /&gt;
== StatementType.Delete )&lt;br /&gt;
+              if( stmtType == StatementType.Update || stmtType&lt;br /&gt;
== StatementType.Delete || stmtType ==&lt;br /&gt;
StatementType.SoftDelete )&lt;br /&gt;
AddConstraint( Operator.Equals,&lt;br /&gt;
map.ConcurrencyControlColumn.ColumnName, 0 );&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
@@ -1070,7 +1070,7 @@&lt;br /&gt;
else&lt;br /&gt;
AddConstraints( type );&lt;br /&gt;
// add concurrency control (currently only for&lt;br /&gt;
update statements)&lt;br /&gt;
-              if( stmtType == StatementType.Update )&lt;br /&gt;
+              if( stmtType == StatementType.Update ||  stmtType&lt;br /&gt;
== StatementType.SoftDelete )&lt;br /&gt;
AddConcurrencyControl();&lt;br /&gt;
// add filtering for soft deleted objects&lt;br /&gt;
if( (stmtType == StatementType.Select || stmtType&lt;br /&gt;
== StatementType.Count) &amp;amp;&amp;amp; map.IsMarkDelete )&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Firebird support</title><link href="https://sourceforge.net/p/gopf/bugs/4/" rel="alternate"/><published>2004-04-28T10:42:08Z</published><updated>2004-04-28T10:42:08Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net53ae3a1f9a5e0ab7ed03e4e818021b25c55dfe15</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;i can't run Nunit with TestUser.Test_AutoRead&lt;/p&gt;
&lt;p&gt;error is&lt;/p&gt;
&lt;p&gt;2004-04-28 18:39:07,775 [2264] FATAL &lt;br /&gt;
Gentle.Framework.Check () [] - Error: &lt;br /&gt;
UnsupportedPropertyType&lt;br /&gt;
The property type Int32 is not yet supported by &lt;br /&gt;
Gentle.Framework.FirebirdEngine.&lt;/p&gt;
&lt;p&gt;2004-04-28 18:39:07,806 [2264] FATAL &lt;br /&gt;
Gentle.Framework.Check () [] - Error: &lt;br /&gt;
UnsupportedPropertyType&lt;br /&gt;
The property type Roles is not yet supported by &lt;br /&gt;
Gentle.Framework.FirebirdEngine.&lt;/p&gt;
&lt;p&gt;2004-04-28 18:39:07,869 [2264] FATAL &lt;br /&gt;
Gentle.Framework.Check () [] - Error: &lt;br /&gt;
UnsupportedPropertyType&lt;br /&gt;
The property type Int32 is not yet supported by &lt;br /&gt;
Gentle.Framework.FirebirdEngine.&lt;/p&gt;
&lt;p&gt;2004-04-28 18:39:07,900 [2264] FATAL &lt;br /&gt;
Gentle.Framework.Check () [] - Error: &lt;br /&gt;
UnsupportedPropertyType&lt;br /&gt;
The property type Roles is not yet supported by &lt;br /&gt;
Gentle.Framework.FirebirdEngine.&lt;/p&gt;
&lt;p&gt;2004-04-28 18:39:07,931 [2264] FATAL &lt;br /&gt;
Gentle.Framework.Check () [] - Error: &lt;br /&gt;
UnsupportedPropertyType&lt;br /&gt;
The property type Int32 is not yet supported by &lt;br /&gt;
Gentle.Framework.FirebirdEngine.&lt;/p&gt;
&lt;p&gt;2004-04-28 18:39:07,947 [2264] FATAL &lt;br /&gt;
Gentle.Framework.Check () [] - Error: &lt;br /&gt;
UnsupportedPropertyType&lt;br /&gt;
The property type Roles is not yet supported by &lt;br /&gt;
Gentle.Framework.FirebirdEngine.&lt;/p&gt;
&lt;p&gt;2004-04-28 18:39:07,994 [2264] FATAL &lt;br /&gt;
Gentle.Framework.Check () [] - Error: &lt;br /&gt;
UnsupportedPropertyType&lt;br /&gt;
The property type Int32 is not yet supported by &lt;br /&gt;
Gentle.Framework.FirebirdEngine.&lt;/p&gt;
&lt;p&gt;2004-04-28 18:39:08,009 [2264] FATAL &lt;br /&gt;
Gentle.Framework.Check () [] - Error: &lt;br /&gt;
UnsupportedPropertyType&lt;br /&gt;
The property type Roles is not yet supported by &lt;br /&gt;
Gentle.Framework.FirebirdEngine.&lt;/p&gt;
&lt;p&gt;2004-04-28 18:39:08,166 [2264] FATAL &lt;br /&gt;
Gentle.Framework.Check () [] - Error: &lt;br /&gt;
UnsupportedPropertyType&lt;br /&gt;
The property type Roles is not yet supported by &lt;br /&gt;
Gentle.Framework.FirebirdEngine.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>new objects cannot be stored if soft-delete is enabled</title><link href="https://sourceforge.net/p/gopf/bugs/3/" rel="alternate"/><published>2004-04-27T14:49:34Z</published><updated>2004-04-27T14:49:34Z</updated><author><name>Lutz Wellhausen</name><uri>https://sourceforge.net/u/lwellhausen/</uri></author><id>https://sourceforge.net6713f32798f56380b551bcf9c52c4f71830cf5d9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Version 1.0.2&lt;/p&gt;
&lt;p&gt;The following property&lt;/p&gt;
&lt;p&gt;[ConcurrencyControlColumn("row_version", MarkDelete =&lt;br /&gt;
true)]&lt;br /&gt;
public virtual int RowVersion&lt;br /&gt;
{&lt;br /&gt;
get { return _RowVersion; }&lt;br /&gt;
set { _RowVersion = value; }&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;will cause an exception when a new object ist persisted.&lt;/p&gt;
&lt;p&gt;Error: RecordChanged&lt;br /&gt;
The record being updated was changed by another process&lt;br /&gt;
(concurrency error).&lt;/p&gt;
&lt;p&gt;One problem may be in line 451 of PersistenceBroker.cs,&lt;br /&gt;
because there is an update-statement build instead of&lt;br /&gt;
an insert-statement.&lt;/p&gt;
&lt;p&gt;if( map.IsMarkDelete ) &lt;br /&gt;
{&lt;br /&gt;
map.ConcurrencyControlColumn.SetValue( obj, -1 );&lt;br /&gt;
SqlBuilder sb = new SqlBuilder( StatementType.Update,&lt;br /&gt;
obj.GetType() ); &lt;br /&gt;
....&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;I tried to correct this, but there are more bugs&lt;br /&gt;
concerning soft-delete.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>