My favorites | Sign in
Project Logo
             
Details: Show all Hide all

Yesterday

  • 27 hours ago
    issue 234 (PATCH: VS2010 Support) changed by bniemyjski   -   Hello, This has been fixed in rev 826. Thanks -Blake Niemyjski
    Status: Fixed
    Owner: bniemyjski
    Hello, This has been fixed in rev 826. Thanks -Blake Niemyjski
    Status: Fixed
    Owner: bniemyjski
  • 27 hours ago
    r826 ([Issue #234] Add support for VS2010 (Contrib james.patterson...) committed by bniemyjski   -   [ Issue #234 ] Add support for VS2010 (Contrib james.patterson). 234
    [ Issue #234 ] Add support for VS2010 (Contrib james.patterson). 234
  • 28 hours ago
    issue 234 (PATCH: VS2010 Support) commented on by james.patterson.m1dst   -   Looks like the solution file has jumped a version from 10 to 11 in the new beta 2. I have attached a patch which works for me. I guess I didn't spot it as my solution file was already upgraded.
    Looks like the solution file has jumped a version from 10 to 11 in the new beta 2. I have attached a patch which works for me. I guess I didn't spot it as my solution file was already upgraded.

Last 7 days

  • Dec 28, 2009
    issue 278 (When db column is of type "time" the UnitTest generated code...) reported by jmaronge   -   What steps will reproduce the problem? 1. Create a table with a column that is of type time 2. Generate unit test code 3. Compile generated code What is the expected output? What do you see instead? Generated code will create a timespan type instead of a datetime type with sql column is time Below is the incorrect code that was generated: mock.Q503Time = TestUtility.Instance.RandomDateTime(); What version of .netTiers and CodeSmith are you using? nettiers 3.2 codesmith 5.1 Please provide any additional information below. Table definition CREATE TABLE [dbo].[EDI_322_StatusDetail]( [Id] [uniqueidentifier] ROWGUIDCOL NOT NULL, [EDIMessageId] [uniqueidentifier] NOT NULL, [Q501ShipmentStatusCode] [varchar](2) NULL, [Q502Date] [date] NULL, [Q503Time] [time](7) NULL, [Q504TimeCode] [varchar](2) NULL, CONSTRAINT [PK_EDI_322_StatusDetail] PRIMARY KEY CLUSTERED ( [Id] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO Generated Code for table ///<summary> /// Update the Typed Edi322StatusDetail Entity with modified mock values. ///</summary> static public void UpdateMockInstance_Generated(TransactionManager tm, Edi322StatusDetail mock) { mock.Q501ShipmentStatusCode = TestUtility.Instance.RandomString(2, false);; mock.Q502Date = TestUtility.Instance.RandomDate(); mock.Q503Time = TestUtility.Instance.RandomDateTime(); mock.Q504TimeCode = TestUtility.Instance.RandomString(2, false);; int count0 = 0; TList<EdiMessage> _collection0 = DataRepository.EdiMessageProvider.GetPaged(tm, 0, 10, out count0); //_collection0.Shuffle(); if (_collection0.Count > 0) { mock.EdiMessageId = _collection0[0].Id; } }
    What steps will reproduce the problem? 1. Create a table with a column that is of type time 2. Generate unit test code 3. Compile generated code What is the expected output? What do you see instead? Generated code will create a timespan type instead of a datetime type with sql column is time Below is the incorrect code that was generated: mock.Q503Time = TestUtility.Instance.RandomDateTime(); What version of .netTiers and CodeSmith are you using? nettiers 3.2 codesmith 5.1 Please provide any additional information below. Table definition CREATE TABLE [dbo].[EDI_322_StatusDetail]( [Id] [uniqueidentifier] ROWGUIDCOL NOT NULL, [EDIMessageId] [uniqueidentifier] NOT NULL, [Q501ShipmentStatusCode] [varchar](2) NULL, [Q502Date] [date] NULL, [Q503Time] [time](7) NULL, [Q504TimeCode] [varchar](2) NULL, CONSTRAINT [PK_EDI_322_StatusDetail] PRIMARY KEY CLUSTERED ( [Id] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO Generated Code for table ///<summary> /// Update the Typed Edi322StatusDetail Entity with modified mock values. ///</summary> static public void UpdateMockInstance_Generated(TransactionManager tm, Edi322StatusDetail mock) { mock.Q501ShipmentStatusCode = TestUtility.Instance.RandomString(2, false);; mock.Q502Date = TestUtility.Instance.RandomDate(); mock.Q503Time = TestUtility.Instance.RandomDateTime(); mock.Q504TimeCode = TestUtility.Instance.RandomString(2, false);; int count0 = 0; TList<EdiMessage> _collection0 = DataRepository.EdiMessageProvider.GetPaged(tm, 0, 10, out count0); //_collection0.Shuffle(); if (_collection0.Count > 0) { mock.EdiMessageId = _collection0[0].Id; } }
  • Dec 28, 2009
    issue 234 (PATCH: VS2010 Support) commented on by bniemyjski   -   Hello, There appears to be an issue with the solution file template. Every time I generate against VS08 or VS2010, I am asked to upgrade the solution. Also in VS2010, I'm asked If I want to use .NET 4.0. Could you please take a look at this. Thanks -Blake Niemyjski
    Hello, There appears to be an issue with the solution file template. Every time I generate against VS08 or VS2010, I am asked to upgrade the solution. Also in VS2010, I'm asked If I want to use .NET 4.0. Could you please take a look at this. Thanks -Blake Niemyjski
  • Dec 27, 2009
    issue 234 (PATCH: VS2010 Support) commented on by james.patterson.m1dst   -   Any progress on this? Would be good to see it finally integrated. We are already at beta 2 of VS and another is due out in the near future as final version is due out March 22.
    Any progress on this? Would be good to see it finally integrated. We are already at beta 2 of VS and another is due out in the near future as final version is due out March 22.

Last 30 days

  • Dec 22, 2009
    issue 277 (GenericProcessorResult.cs - duplicate key in AddBrokenRulesL...) reported by teppic.xxviii   -   What steps will reproduce the problem? 1. Create a processor that validates multiple object instances of the same type (i.e. a processor to validate a TList of objects) 2. If you call AddBrokenRulesList on the GenericProcessorResult multiple times (e.g. within a foreach loop), you will get a duplicate key exception on line 83 of GenericProcessorResult.cs 3. "An element with the same key already exists in the System.Collections.Generic.Dictionary<TKey,TValue>" What is the expected output? What do you see instead? I would expect the method to aggregate all Broken Rules across all the entities. What version of .netTiers and CodeSmith are you using? 2.3.0 / 5.1.0 (8031) Please provide any additional information below. I resolved this by creating an extension class of GenericProcessorResult and overriding that method. However, I feel this should really be fixed in GenericProcessorResult. Sample fix code below: public override void AddBrokenRulesList(Type type, BrokenRulesList otherList) { if (otherList != null && otherList.Count > 0) { if (type == null) { type = typeof(object); } if (BrokenRulesLists.ContainsKey(type)) { BrokenRulesList existingList = BrokenRulesLists[type]; foreach (BrokenRule rule in otherList) { existingList.Add(rule); } } else { BrokenRulesLists.Add(type, otherList); } } }
    What steps will reproduce the problem? 1. Create a processor that validates multiple object instances of the same type (i.e. a processor to validate a TList of objects) 2. If you call AddBrokenRulesList on the GenericProcessorResult multiple times (e.g. within a foreach loop), you will get a duplicate key exception on line 83 of GenericProcessorResult.cs 3. "An element with the same key already exists in the System.Collections.Generic.Dictionary<TKey,TValue>" What is the expected output? What do you see instead? I would expect the method to aggregate all Broken Rules across all the entities. What version of .netTiers and CodeSmith are you using? 2.3.0 / 5.1.0 (8031) Please provide any additional information below. I resolved this by creating an extension class of GenericProcessorResult and overriding that method. However, I feel this should really be fixed in GenericProcessorResult. Sample fix code below: public override void AddBrokenRulesList(Type type, BrokenRulesList otherList) { if (otherList != null && otherList.Count > 0) { if (type == null) { type = typeof(object); } if (BrokenRulesLists.ContainsKey(type)) { BrokenRulesList existingList = BrokenRulesLists[type]; foreach (BrokenRule rule in otherList) { existingList.Add(rule); } } else { BrokenRulesLists.Add(type, otherList); } } }
  • Dec 22, 2009
    issue 276 (ServiceBaseCore.generated.cs - duplicate key in Execute func...) reported by teppic.xxviii   -   What steps will reproduce the problem? 1. Create a processor that validates two types of objects 2. When those two object types have broken rules, this will cause a duplicate key exception in ServiceBaseCore.generated.cs (211) 3. "An element with the same key already exists in the System.Collections.Generic.Dictionary<TKey,TValue>" What version of .netTiers and CodeSmith are you using? 2.3.0 / 5.1.0 (8031) Please provide any additional information below. WORKAROUND: Only create processors that validate objects of one type.
    What steps will reproduce the problem? 1. Create a processor that validates two types of objects 2. When those two object types have broken rules, this will cause a duplicate key exception in ServiceBaseCore.generated.cs (211) 3. "An element with the same key already exists in the System.Collections.Generic.Dictionary<TKey,TValue>" What version of .netTiers and CodeSmith are you using? 2.3.0 / 5.1.0 (8031) Please provide any additional information below. WORKAROUND: Only create processors that validate objects of one type.
  • Dec 11, 2009
    issue 243 (Filter does not work with multiple OR clauses) commented on by david.de...@act21.fr   -   Hello, Your proposition does not take into account expression containing one AND and OR simultaneously. I am also blocked by this bug.
    Hello, Your proposition does not take into account expression containing one AND and OR simultaneously. I am also blocked by this bug.
  • Dec 10, 2009
    issue 275 (Passing generic objects) reported by stu...@vortala.com   -   Hi Guys, This isn't a defect, more a feature request. I love using netTiers, it's in every project I develop, however there is one thing that bugs me a bit which I will attempt to describe here. Our business model requires that we have many databases with the same schema. We create netTiers projects for each of these databases, which is no problem. However, in our adminstration applications, we need to deal with all these databases in one app. This involves replicating code so that we can handle each of the different netTiers entities/services. I would love to be able to pass a TList (or any netTiers object) into a function and not have it care which entity it comes from e.g. myTlist1 = ABC.Entities.TList<somestuff> myTlist2 = XYZ.Entities.Tlist<somestuff> GoDoSomeStuff(_myTlist1) GoDoSomeStuff(_myTlist2) private void GoDoSomeStuff(TList<mystuff>) {} I keep encountering type exceptions if I try this. Any chance this could be included in a future release, or is it just too much of a pain? Thanks, Stuart
    Hi Guys, This isn't a defect, more a feature request. I love using netTiers, it's in every project I develop, however there is one thing that bugs me a bit which I will attempt to describe here. Our business model requires that we have many databases with the same schema. We create netTiers projects for each of these databases, which is no problem. However, in our adminstration applications, we need to deal with all these databases in one app. This involves replicating code so that we can handle each of the different netTiers entities/services. I would love to be able to pass a TList (or any netTiers object) into a function and not have it care which entity it comes from e.g. myTlist1 = ABC.Entities.TList<somestuff> myTlist2 = XYZ.Entities.Tlist<somestuff> GoDoSomeStuff(_myTlist1) GoDoSomeStuff(_myTlist2) private void GoDoSomeStuff(TList<mystuff>) {} I keep encountering type exceptions if I try this. Any chance this could be included in a future release, or is it just too much of a pain? Thanks, Stuart
  • Dec 09, 2009
    issue 263 (Missing comments, patch provided.) Status changed by bniemyjski   -   This has been fixed in revision 825 -Blake
    Status: Fixed
    This has been fixed in revision 825 -Blake
    Status: Fixed
  • Dec 09, 2009
    r825 (Added missing comments in the EntityMembershipProvider (Cont...) committed by bniemyjski   -   Added missing comments in the EntityMembershipProvider (Contrib CableGuy.CC). 263
    Added missing comments in the EntityMembershipProvider (Contrib CableGuy.CC). 263
  • Dec 09, 2009
    r824 (Updated Windows Azure Support.) committed by bniemyjski   -   Updated Windows Azure Support.
    Updated Windows Azure Support.
  • Dec 09, 2009
    r823 (Fixed a bug where the Find_Dynamic Stored Procedures would f...) committed by bniemyjski   -   Fixed a bug where the Find_Dynamic Stored Procedures would fail in most cases for Oracle (contrib cblaisdell).
    Fixed a bug where the Find_Dynamic Stored Procedures would fail in most cases for Oracle (contrib cblaisdell).
  • Dec 04, 2009
    r822 (Fixed a bug where DateTime2 data types were being initialize...) committed by bniemyjski   -   Fixed a bug where DateTime2 data types were being initialized improperly.
    Fixed a bug where DateTime2 data types were being initialized improperly.
  • Dec 02, 2009
    issue 153 (Assembly is not marked as serializable) commented on by peterrie...@bluewin.ch   -   Revision 821 does not include this patch and the exception Type 'SomeNamespace.Web.Data.ProviderDataSourceDeepLoadList' in Assembly 'SomeNamespace.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable. still occurs in the website admin pages as described above when selecting IncludeWCFDataAttributes.
    Revision 821 does not include this patch and the exception Type 'SomeNamespace.Web.Data.ProviderDataSourceDeepLoadList' in Assembly 'SomeNamespace.Web, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' is not marked as serializable. still occurs in the website admin pages as described above when selecting IncludeWCFDataAttributes.

Earlier this year

  • Nov 24, 2009
    issue 274 (Intellisense is messed up when referencing two NetTiers proj...) reported by R...@GolkoConsulting.com   -   What steps will reproduce the problem? 1. Generate two different NetTiers projects with two different namespaces, two different dbs 2. reference both sets of dlls in a new Visual Studio project 3. Try to use intellisense and it will be all mixed up. 4. Even though the code compiles and runs correctly, you will get red underlined errors on the nettiers TList objects you instantiante in your code; building gets rid of the error and underline but any modification of code anywhere in the code file brings those "phantom errors" back. This issue does not affect running the code at all, but it makes using intellisense nonsensical! CodeSmith 5.1 and NetTiers V2.3 Please provide any additional information below.
    What steps will reproduce the problem? 1. Generate two different NetTiers projects with two different namespaces, two different dbs 2. reference both sets of dlls in a new Visual Studio project 3. Try to use intellisense and it will be all mixed up. 4. Even though the code compiles and runs correctly, you will get red underlined errors on the nettiers TList objects you instantiante in your code; building gets rid of the error and underline but any modification of code anywhere in the code file brings those "phantom errors" back. This issue does not affect running the code at all, but it makes using intellisense nonsensical! CodeSmith 5.1 and NetTiers V2.3 Please provide any additional information below.
  • Nov 18, 2009
    issue 228 (Enhancement: Add multilanguage to CommonRules.cst) commented on by fvalenzuela.choice   -   Hi, I don't know. I usually work with Windows Forms applications. Regards.
    Hi, I don't know. I usually work with Windows Forms applications. Regards.
  • Nov 17, 2009
    issue 228 (Enhancement: Add multilanguage to CommonRules.cst) commented on by angel.servera.mayordomo   -   Hi, if you are using ASP.NET poject, where do you place the resource file? Thnaks in advance. Regards aservera
    Hi, if you are using ASP.NET poject, where do you place the resource file? Thnaks in advance. Regards aservera
  • Nov 17, 2009
    issue 273 (DeepLoad NetTiers Not working for populate collection) reported by soni.net   -   What steps will reproduce the problem? I have two tables 1. "Build_Specification" has two columns PK and Name and 2. "Build_Specification_Hardware_Type" has three columns PK, Name and FK_BuildSpecification. It's means a Build_Specification can have number of hardware types. What is the expected output? What do you see instead? I have following function public BuildSpecification GetByPk(int _pk) { srv_BuildSpecificationService = new BuildSpecificationService(); BuildSpecification oBuildSpec = srv_BuildSpecificationService.GetByPk(_pk); srv_BuildSpecificationService.DeepLoad (oBuildSpec,true,DeepLoadType.IncludeChildren,new Type[] { typeof(TList<BuildSpecificationHardwareType>); return oBuildSpec; } BuildSpecification oBuildSpec = mgrBuildSpec.GetByPk(this.PK); int iCount = oBuildSpec.BuildSpecificationPatchCollection.Count; But at last line it is throwing exception "Object not set to reference.." What version of .netTiers and CodeSmith are you using? Codesmith Tools 4.0 and NeTiers 2.2 Revision 688 Please use labels and text to provide additional information.
    What steps will reproduce the problem? I have two tables 1. "Build_Specification" has two columns PK and Name and 2. "Build_Specification_Hardware_Type" has three columns PK, Name and FK_BuildSpecification. It's means a Build_Specification can have number of hardware types. What is the expected output? What do you see instead? I have following function public BuildSpecification GetByPk(int _pk) { srv_BuildSpecificationService = new BuildSpecificationService(); BuildSpecification oBuildSpec = srv_BuildSpecificationService.GetByPk(_pk); srv_BuildSpecificationService.DeepLoad (oBuildSpec,true,DeepLoadType.IncludeChildren,new Type[] { typeof(TList<BuildSpecificationHardwareType>); return oBuildSpec; } BuildSpecification oBuildSpec = mgrBuildSpec.GetByPk(this.PK); int iCount = oBuildSpec.BuildSpecificationPatchCollection.Count; But at last line it is throwing exception "Object not set to reference.." What version of .netTiers and CodeSmith are you using? Codesmith Tools 4.0 and NeTiers 2.2 Revision 688 Please use labels and text to provide additional information.
  • Nov 16, 2009
    issue 272 (SQLCeClient update method broken) commented on by bniemyjski   -   Committed.
    Committed.
  • Nov 16, 2009
    r821 ( 272 ) committed by bniemyjski   -   272
    272
  • Nov 16, 2009
    issue 272 (SQLCeClient update method broken) commented on by ejls...@hotmail.com   -   Yes, that would be grat, thanks!
    Yes, that would be grat, thanks!
  • Nov 16, 2009
    issue 272 (SQLCeClient update method broken) commented on by bniemyjski   -   Hello, Does this fix need to be committed? Thanks -Blake Niemyjski
    Hello, Does this fix need to be committed? Thanks -Blake Niemyjski
  • Nov 16, 2009
    issue 272 (SQLCeClient update method broken) Status changed by ejls...@hotmail.com   -  
    Status: Fixed
    Status: Fixed
  • Nov 16, 2009
  • Nov 08, 2009
    issue 270 (Web.config parse error - "Parser Error Message: The configur...) commented on by wtlinnertz   -   Line 124 is the trouble line.
    Line 124 is the trouble line.
  • Nov 07, 2009
    issue 271 (Patch - Component Layer BLL NameSpace) reported by CableGuy.CC   -   What version of .netTiers and CodeSmith are you using? r803 (2.3) Places the BLLNameSpace in front of all Entity references. Allows you to have the entities "Client" & "ClientService" without it creating conflicts with the "Services" in the component layer.
    What version of .netTiers and CodeSmith are you using? r803 (2.3) Places the BLLNameSpace in front of all Entity references. Allows you to have the entities "Client" & "ClientService" without it creating conflicts with the "Services" in the component layer.
  • Nov 06, 2009
    issue 270 (Web.config parse error - "Parser Error Message: The configur...) reported by wtlinnertz   -   What steps will reproduce the problem? 1.Set IncludeAtlasLibrary to True 2. 3. What is the expected output? What do you see instead? Error free web.config What version of .netTiers and CodeSmith are you using? 2.3 Please provide any additional information below. Line 122: <httpModules> Line 123: <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> Line 124: <add name="EntityTransactionModule" type="agr_AgrisAcquisitionCustomers.Web.Data.EntityTransactionModule, agr_AgrisAcquisitionCustomers.Web"/>"/> Line 125: </httpModules> Line 126: <!--
    What steps will reproduce the problem? 1.Set IncludeAtlasLibrary to True 2. 3. What is the expected output? What do you see instead? Error free web.config What version of .netTiers and CodeSmith are you using? 2.3 Please provide any additional information below. Line 122: <httpModules> Line 123: <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> Line 124: <add name="EntityTransactionModule" type="agr_AgrisAcquisitionCustomers.Web.Data.EntityTransactionModule, agr_AgrisAcquisitionCustomers.Web"/>"/> Line 125: </httpModules> Line 126: <!--
  • Nov 02, 2009
    issue 182 (Patch for non null strings (entlib validation)) Status changed by jmhinnen   -  
    Status: Started
    Status: Started
  • Nov 02, 2009
    issue 148 (GetAll() always returns a max of 10000 rows as this is hardc...) Status changed by jmhinnen   -  
    Status: Fixed
    Status: Fixed
  • Nov 02, 2009
    issue 142 (Dynamic Find doesn't work in any provider.) Status changed by jmhinnen   -  
    Status: Fixed
    Status: Fixed
  • Nov 02, 2009
    issue 144 (sql_variant data type generated nullable of object) Status changed by jmhinnen   -  
    Status: Fixed
    Status: Fixed
  • Nov 02, 2009
    issue 137 (Timestamp field (part of primary key) appears multiple times...) Status changed by jmhinnen   -  
    Status: Fixed
    Status: Fixed
  • Nov 02, 2009
    issue 99 (If using XML type column, error in SQL: "The xml data type c...) Status changed by jmhinnen   -  
    Status: Fixed
    Status: Fixed
  • Nov 02, 2009
    issue 103 (Custom Stored Procedure for view didn't handle total rows co...) Status changed by jmhinnen   -  
    Status: Fixed
    Status: Fixed
  • Nov 02, 2009
    issue 234 (PATCH: VS2010 Support) changed by jmhinnen   -   Will look at this.....
    Status: Started
    Owner: jmhinnen
    Will look at this.....
    Status: Started
    Owner: jmhinnen
  • Nov 02, 2009
    issue 254 (Enhancement - Set ReadOnly file attribute on selected output...) changed by jmhinnen   -   I have started on this. Will try and get committed fairly quickly. Thanks for the contribution!
    Status: Started
    Owner: jmhinnen
    I have started on this. Will try and get committed fairly quickly. Thanks for the contribution!
    Status: Started
    Owner: jmhinnen
  • Nov 02, 2009
    issue 10 (MarkForDelete() on all children, followed by the parents and...) Status changed by jmhinnen   -   I have started on this. Will try and get committed fairly quickly. Thanks for the contribution! On a side note, I might want to discuss this one with you. I am going to take a look and see what you did might want to discuss with you. keep an eye out for emails.
    Status: Started
    I have started on this. Will try and get committed fairly quickly. Thanks for the contribution! On a side note, I might want to discuss this one with you. I am going to take a look and see what you did might want to discuss with you. keep an eye out for emails.
    Status: Started
  • Nov 02, 2009
    issue 268 (Generated Unit Test Failing on Unique Index) changed by jmhinnen   -   I have started on this. Will try and get committed fairly quickly. Thanks for the contribution!
    Status: Started
    Owner: jmhinnen
    I have started on this. Will try and get committed fairly quickly. Thanks for the contribution!
    Status: Started
    Owner: jmhinnen
  • Nov 01, 2009
    issue 254 (Enhancement - Set ReadOnly file attribute on selected output...) commented on by CableGuy.CC   -   Mark generated .cs files as Read Only.
    Mark generated .cs files as Read Only.
  • Nov 01, 2009
    issue 10 (MarkForDelete() on all children, followed by the parents and...) commented on by CableGuy.CC   -   Here is my attempt at solving this problem. Patch against r803
    Here is my attempt at solving this problem. Patch against r803
  • Nov 01, 2009
    issue 269 (Enhancement w/Patch WebService CodeBehind) reported by CableGuy.CC   -   Patch against r803 to move the code for the webservice into an abstract WebServiceBase class. New class inherits from the WebServiceBase and uses CodeBehind. Allows overriding of any webservice method.
    Patch against r803 to move the code for the webservice into an abstract WebServiceBase class. New class inherits from the WebServiceBase and uses CodeBehind. Allows overriding of any webservice method.
  • Oct 31, 2009
    issue 268 (Generated Unit Test Failing on Unique Index) commented on by CableGuy.CC   -   1st Patch changes the Insert test. This one changes the Update test. You'll need to apply both patches.
    1st Patch changes the Insert test. This one changes the Update test. You'll need to apply both patches.
  • Oct 30, 2009
    issue 249 (Gen Option - Parsed Find Methods) commented on by CableGuy.CC   -   I'd like to withdraw this ticket. The WebServiceClient does not implement find anyway.
    I'd like to withdraw this ticket. The WebServiceClient does not implement find anyway.
  • Oct 30, 2009
    issue 268 (Generated Unit Test Failing on Unique Index) reported by CableGuy.CC   -   http://community.codesmithtools.com/forums/t/10306.aspx Enhancement - Unit test fix to allow for variation on the standard One to One relationship. I rencently changed a 1:Many relationship into a 1:1 by adding a unique index to the foreign keyed column. The Unit test templates only cater for a 1:1 relationship if the primary key is also a foreign key. My modification allows them to work with a Unique Index / Foreign key combination aswell.
    http://community.codesmithtools.com/forums/t/10306.aspx Enhancement - Unit test fix to allow for variation on the standard One to One relationship. I rencently changed a 1:Many relationship into a 1:1 by adding a unique index to the foreign keyed column. The Unit test templates only cater for a 1:1 relationship if the primary key is also a foreign key. My modification allows them to work with a Unique Index / Foreign key combination aswell.
  • Oct 29, 2009
    issue 266 (Website Admin: Update Entity - Item has already been added. ...) commented on by mostly   -   Forgot to mention, this doesn't seem to happen if I enable Atlas in the website configuration area of the .netTiers template. Cheers.
    Forgot to mention, this doesn't seem to happen if I enable Atlas in the website configuration area of the .netTiers template. Cheers.
  • Oct 29, 2009
    issue 267 (Small WebConfigAtlas.cst typo error) reported by mostly   -   There is a small error in the xml of the WebConfigAtlas.cst file. Near the HttpModules node there is a ""/>" sign to many. What version of .netTiers and CodeSmith are you using? .netTiers v2.3.0.812 CS 5.1 Please provide any additional information below.
    There is a small error in the xml of the WebConfigAtlas.cst file. Near the HttpModules node there is a ""/>" sign to many. What version of .netTiers and CodeSmith are you using? .netTiers v2.3.0.812 CS 5.1 Please provide any additional information below.
  • Oct 29, 2009
    issue 266 (Website Admin: Update Entity - Item has already been added. ...) reported by mostly   -   What steps will reproduce the problem? 1. Starting with a default CodeSmith build of a small db. E.g. with Articles and Categories tables. 2. Running the Website: Admin/Articles.aspx -> Select an article to edit. 3. Make a change to a field, then click "Update". What is the expected output? What do you see instead? This error occurs sporadically - it is not congruent. We expect it save changes and show the edit page. Occationally we get a "Item has already been added. Key in dictionary: 'ArticlesLib.Entities.Articles'... What version of .netTiers and CodeSmith are you using? .netTiers v2.3.0.812 CodeSmith 5.1.6 Revision 9466 Please provide any additional information below. Server Error in '/' Application. Item has already been added. Key in dictionary: 'ArticlesLib.Entities.Articles - ArticleId: 2 - CsPageKey: some23 - ArticleTypeId: 2 - Title: First 4 price goes to 4533 - Body: sdf53343 - BodyFormatted: fsdy - Summery: dfgd5454 - CategoryId: 1 ' Key being added: 'ArticlesLib.Entities.Articles - ArticleId: 2 - CsPageKey: some23 - ArticleTypeId: 2 - Title: First 4 price goes to 4533 - Body: sdf53343 - BodyFormatted: fsdy - Summery: dfgd5454 - CategoryId: 1 ' 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. Exception Details: System.ArgumentException: Item has already been added. Key in dictionary: 'ArticlesLib.Entities.Articles - ArticleId: 2 - CsPageKey: some23 - ArticleTypeId: 2 - Title: First 4 price goes to 4533 - Body: sdf53343 - BodyFormatted: fsdy - Summery: dfgd5454 - CategoryId: 1 ' Key being added: 'ArticlesLib.Entities.Articles - ArticleId: 2 - CsPageKey: some23 - ArticleTypeId: 2 - Title: First 4 price goes to 4533 - Body: sdf53343 - BodyFormatted: fsdy - Summery: dfgd5454 - CategoryId: 1 ' Source Error: Line 665: //shallow copy entity Line 666: Articles copy = new Articles(); Line 667: existingCopies.Add(this, copy); Line 668: copy.SuppressEntityEvents = true; Line 669: copy.ArticleId = this.ArticleId; Source File: ..ArticlesLib.Entities\ArticlesBase.generated.cs Line: 667 Stack Trace: [ArgumentException: Item has already been added. Key in dictionary: 'ArticlesLib.Entities.Articles - ArticleId: 2 - CsPageKey: some23 - ArticleTypeId: 2 - Title: First 4 price goes to 4533 - Body: sdf53343 - BodyFormatted: fsdy - Summery: dfgd5454 - CategoryId: 1 ' Key being added: 'ArticlesLib.Entities.Articles - ArticleId: 2 - CsPageKey: some23 - ArticleTypeId: 2 - Title: First 4 price goes to 4533 - Body: sdf53343 - BodyFormatted: fsdy - Summery: dfgd5454 - CategoryId: 1 '] System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) +7484392 System.Collections.Hashtable.Add(Object key, Object value) +11 ArticlesLib.Entities.ArticlesBase.Copy(IDictionary existingCopies) in ....Entities\ArticlesBase.generated.cs:667 ArticlesLib.Entities.ArticlesBase.Clone(IDictionary existingCopies) in ....Entities\ArticlesBase.generated.cs:721 ArticlesLib.Entities.ArticlesBase.MakeCopyOf(Object x, IDictionary existingCopies) in ....Entities\ArticlesBase.generated.cs:752 ArticlesLib.Entities.ArticlesBase.Copy(IDictionary existingCopies) in ....Entities\ArticlesBase.generated.cs:692 ArticlesLib.Entities.ArticlesBase.Clone() in ....Entities\ArticlesBase.generated.cs:713 ArticlesLib.Entities.ArticlesBase.MakeCopyOf(Object x) in ....Entities\ArticlesBase.generated.cs:735 ArticlesLib.Entities.ArticlesEntityData.Clone() in ....Entities\ArticlesBase.generated.cs:1366 ArticlesLib.Entities.ArticlesBase.AcceptChanges() in ....Entities\ArticlesBase.generated.cs:807 ArticlesLib.Data.SqlClient.SqlArticlesProviderBase.Update(TransactionManager transactionManager, Articles entity) in ....Data.SqlClient\SqlArticlesProviderBase.generated.cs:936 ArticlesLib.Web.Data.ProviderDataSourceView`2.ExecuteUpdate(Entity entity) in ....Web\Data\ProviderDataSource.cs:361 ArticlesLib.Web.Data.BaseDataSourceView`2.ExecuteUpdate(IDictionary keys, IDictionary values, IDictionary oldValues) in ....Web\Data\BaseDataSource.cs:1583 System.Web.UI.DataSourceView.Update(IDictionary keys, IDictionary values, IDictionary oldValues, DataSourceViewOperationCallback callback) +92 System.Web.UI.WebControls.FormView.HandleUpdate(String commandArg, Boolean causesValidation) +835 System.Web.UI.WebControls.FormView.HandleEvent(EventArgs e, Boolean causesValidation, String validationGroup) +509 System.Web.UI.WebControls.FormView.OnBubbleEvent(Object source, EventArgs e) +95 System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37 System.Web.UI.WebControls.FormViewRow.OnBubbleEvent(Object source, EventArgs e) +113 System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37 System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +118 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +166 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
    What steps will reproduce the problem? 1. Starting with a default CodeSmith build of a small db. E.g. with Articles and Categories tables. 2. Running the Website: Admin/Articles.aspx -> Select an article to edit. 3. Make a change to a field, then click "Update". What is the expected output? What do you see instead? This error occurs sporadically - it is not congruent. We expect it save changes and show the edit page. Occationally we get a "Item has already been added. Key in dictionary: 'ArticlesLib.Entities.Articles'... What version of .netTiers and CodeSmith are you using? .netTiers v2.3.0.812 CodeSmith 5.1.6 Revision 9466 Please provide any additional information below. Server Error in '/' Application. Item has already been added. Key in dictionary: 'ArticlesLib.Entities.Articles - ArticleId: 2 - CsPageKey: some23 - ArticleTypeId: 2 - Title: First 4 price goes to 4533 - Body: sdf53343 - BodyFormatted: fsdy - Summery: dfgd5454 - CategoryId: 1 ' Key being added: 'ArticlesLib.Entities.Articles - ArticleId: 2 - CsPageKey: some23 - ArticleTypeId: 2 - Title: First 4 price goes to 4533 - Body: sdf53343 - BodyFormatted: fsdy - Summery: dfgd5454 - CategoryId: 1 ' 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. Exception Details: System.ArgumentException: Item has already been added. Key in dictionary: 'ArticlesLib.Entities.Articles - ArticleId: 2 - CsPageKey: some23 - ArticleTypeId: 2 - Title: First 4 price goes to 4533 - Body: sdf53343 - BodyFormatted: fsdy - Summery: dfgd5454 - CategoryId: 1 ' Key being added: 'ArticlesLib.Entities.Articles - ArticleId: 2 - CsPageKey: some23 - ArticleTypeId: 2 - Title: First 4 price goes to 4533 - Body: sdf53343 - BodyFormatted: fsdy - Summery: dfgd5454 - CategoryId: 1 ' Source Error: Line 665: //shallow copy entity Line 666: Articles copy = new Articles(); Line 667: existingCopies.Add(this, copy); Line 668: copy.SuppressEntityEvents = true; Line 669: copy.ArticleId = this.ArticleId; Source File: ..ArticlesLib.Entities\ArticlesBase.generated.cs Line: 667 Stack Trace: [ArgumentException: Item has already been added. Key in dictionary: 'ArticlesLib.Entities.Articles - ArticleId: 2 - CsPageKey: some23 - ArticleTypeId: 2 - Title: First 4 price goes to 4533 - Body: sdf53343 - BodyFormatted: fsdy - Summery: dfgd5454 - CategoryId: 1 ' Key being added: 'ArticlesLib.Entities.Articles - ArticleId: 2 - CsPageKey: some23 - ArticleTypeId: 2 - Title: First 4 price goes to 4533 - Body: sdf53343 - BodyFormatted: fsdy - Summery: dfgd5454 - CategoryId: 1 '] System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) +7484392 System.Collections.Hashtable.Add(Object key, Object value) +11 ArticlesLib.Entities.ArticlesBase.Copy(IDictionary existingCopies) in ....Entities\ArticlesBase.generated.cs:667 ArticlesLib.Entities.ArticlesBase.Clone(IDictionary existingCopies) in ....Entities\ArticlesBase.generated.cs:721 ArticlesLib.Entities.ArticlesBase.MakeCopyOf(Object x, IDictionary existingCopies) in ....Entities\ArticlesBase.generated.cs:752 ArticlesLib.Entities.ArticlesBase.Copy(IDictionary existingCopies) in ....Entities\ArticlesBase.generated.cs:692 ArticlesLib.Entities.ArticlesBase.Clone() in ....Entities\ArticlesBase.generated.cs:713 ArticlesLib.Entities.ArticlesBase.MakeCopyOf(Object x) in ....Entities\ArticlesBase.generated.cs:735 ArticlesLib.Entities.ArticlesEntityData.Clone() in ....Entities\ArticlesBase.generated.cs:1366 ArticlesLib.Entities.ArticlesBase.AcceptChanges() in ....Entities\ArticlesBase.generated.cs:807 ArticlesLib.Data.SqlClient.SqlArticlesProviderBase.Update(TransactionManager transactionManager, Articles entity) in ....Data.SqlClient\SqlArticlesProviderBase.generated.cs:936 ArticlesLib.Web.Data.ProviderDataSourceView`2.ExecuteUpdate(Entity entity) in ....Web\Data\ProviderDataSource.cs:361 ArticlesLib.Web.Data.BaseDataSourceView`2.ExecuteUpdate(IDictionary keys, IDictionary values, IDictionary oldValues) in ....Web\Data\BaseDataSource.cs:1583 System.Web.UI.DataSourceView.Update(IDictionary keys, IDictionary values, IDictionary oldValues, DataSourceViewOperationCallback callback) +92 System.Web.UI.WebControls.FormView.HandleUpdate(String commandArg, Boolean causesValidation) +835 System.Web.UI.WebControls.FormView.HandleEvent(EventArgs e, Boolean causesValidation, String validationGroup) +509 System.Web.UI.WebControls.FormView.OnBubbleEvent(Object source, EventArgs e) +95 System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37 System.Web.UI.WebControls.FormViewRow.OnBubbleEvent(Object source, EventArgs e) +113 System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37 System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +118 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +166 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
  • Oct 26, 2009
    issue 265 (If I had a table with "Composite foreign key" the generated ...) reported by emanology   -   What steps will reproduce the problem? 1.Oracle DB 2.Table that has Composite FK on other table "FK(X,Y,Z)" What is the expected output? What do you see instead? - Expected: Generated Function syntax is (GetByXY(int X, int Y, int Z)) - Actual: Generated Function syntax is (GetByXXXYYY(int X, int X, int X, int Y, int Y, int Y, int Z, int Z, int Z)) What version of .netTiers and CodeSmith are you using? - CodeSmith 5.1 - .netTiers 2.3 Please provide any additional information below.
    What steps will reproduce the problem? 1.Oracle DB 2.Table that has Composite FK on other table "FK(X,Y,Z)" What is the expected output? What do you see instead? - Expected: Generated Function syntax is (GetByXY(int X, int Y, int Z)) - Actual: Generated Function syntax is (GetByXXXYYY(int X, int X, int X, int Y, int Y, int Y, int Z, int Z, int Z)) What version of .netTiers and CodeSmith are you using? - CodeSmith 5.1 - .netTiers 2.3 Please provide any additional information below.
 
Hosted by Google Code