We have a problem opening the Model.xafml from the Solution.Web project in an XAF app.
I have duplicated it in the attached solution, both on my PC and a co-workers PC.
We both are using Visual Studio 2005 SP1 (Version 8.0.50727.762 (SP.050727-7600)
and I updated to DevX and XAF 8.3.4 yesterday.
Steps to Reproduce:
1>First Close visual Studio, not just close project, completely exit Visual Studio (VS)
2> Open VS and open the attached solution
3> Rebuild the Solution
4> Open the Model.xafml from the TestModel.Web Project.
4.1> This should work without a problem
5> Close the model.xafml
6> Rebuild the Solution
7> Open the Model.xafml from the TestModel.Web Project.
7.1> This time it fails with a "'DevExpress.ExpressApp.Validation.ValidationModule' update model: Another rule with ID = 'CodeRule1.NameRule' already exists." error
Actual Results:
Exception occurs while the 'DevExpress.ExpressApp.Validation.ValidationModule' update model: Another rule with ID = 'CodeRule1.NameRule' already exists.
Existing rule:
'<CodeRule1 ID=":CodeRule1.NameRule" Name=":" CustomMessageTemplate=":" TargetType=":TestModel.Module.DomainObject1" TargetContextIDs=":Save" InvertResult=":False" SkipNullOrEmptyValues=":True" TargetCriteria=":"/>'
New rule:
'<CodeRule1 ID=":CodeRule1.NameRule" Name=":" CustomMessageTemplate=":" TargetType=":TestModel.Module.DomainObject1" TargetContextIDs=":Save" InvertResult=":False" SkipNullOrEmptyValues=":True" TargetCriteria=":"/>'
Expected Results:
This should obviously not happen, Strange thing is that if you don;t exit VS but close the solution and open another and go it it's model.xafml in the web project you get the same Error!
Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.
Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.