New Posts New Posts RSS Feed: Model generation license issue
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Model generation license issue

 Post Reply Post Reply
Author
smi-mark View Drop Down
DevForce MVP
DevForce MVP
Avatar

Joined: 24-Feb-2009
Location: Dallas, Texas
Posts: 343
Post Options Post Options   Quote smi-mark Quote  Post ReplyReply Direct Link To This Post Topic: Model generation license issue
    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.


Edited by smi-mark - 23-Apr-2013 at 7:02am
Back to Top
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1391
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post Posted: 23-Apr-2013 at 7:16am
Mark, thanks for reporting this.
Back to Top
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1391
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post Posted: 30-Apr-2013 at 5:55pm
This was fixed in the 7.1.2 release.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down