Print Page | Close Window

Model generation license issue

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2012
Forum Discription: For .NET 4.5
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=4121
Printed Date: 12-Mar-2025 at 8:03pm


Topic: Model generation license issue
Posted By: smi-mark
Subject: Model generation license issue
Date Posted: 23-Apr-2013 at 6:53am
There appears to be a bug in how the ibmmx license is generated when using entities from different assemblies.

If the first entity (ordered by name) belongs to a different assembly, the license key is encoded with the assembly name that this entity comes from, rather than the assembly name that the ibmmx will be in.

IdeaBlade.EntityModel.EntityModelMetadata


         if (this.EntityMetadataCollection.Any<EntityMetadata>())
                {
                    return this.EntityMetadataCollection.First<EntityMetadata>().EntityType.GetTypeInfo().Assembly.FullName.Split(new char[] { ',' })[0];
                }


When it is decoded it will use the assembly name where the ibmmx is in (IdeaBlade.Core.AuthHelper.DecryptModelMetadataLicense) this throws an exception

The workaround for now was to create an entity named 'A' (ensuring that it will be the first in the ordered list) and it now generates correctly.



Replies:
Posted By: kimj
Date Posted: 23-Apr-2013 at 7:16am
Mark, thanks for reporting this.


Posted By: kimj
Date Posted: 30-Apr-2013 at 5:55pm
This was fixed in the 7.1.2 release.



Print Page | Close Window