Book a Demo

Author Topic: 831/832 doesn't  generate linked attributes?  (Read 6512 times)

danm

  • EA User
  • **
  • Posts: 88
  • Karma: +0/-0
    • View Profile
831/832 doesn't  generate linked attributes?
« on: August 20, 2008, 08:10:25 am »
Has anybody else noticed a problem with linked attributes, C# transforms and 831/832? It may be more general than this, but create two classes, one with an association to the other with a role name (such as m_class2) and multiplicity (such as 1). Then transform it to C# - then code gen that.

EA decides to create a property operation, OK - but it neglects to create the private variable for that in the class (i.e., the m_class2).

I see this problem in many ways, EA simply isn't calling the linked attribute template.  Any ideas? :-/

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: 831/832 doesn't  generate linked attributes?
« Reply #1 on: August 20, 2008, 11:13:27 pm »
Didn't we see something relating to this in the past few days. It was right around the time of build 832 coming out, but I don't remember if it was before or later.
No, you can't have it!

danm

  • EA User
  • **
  • Posts: 88
  • Karma: +0/-0
    • View Profile
Re: 831/832 doesn't  generate linked attributes?
« Reply #2 on: August 21, 2008, 06:50:36 am »
Thanks Midnight - I submitted a bug report.

danm

  • EA User
  • **
  • Posts: 88
  • Karma: +0/-0
    • View Profile
EA doesn't  generate linked attributes
« Reply #3 on: August 23, 2008, 07:12:48 am »
Linked attributes aren't being generated at all - I tried it on a virgin system from just a simple class. I can't believe nobody else hasn't seen this.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: 831/832 doesn't  generate linked attributes?
« Reply #4 on: August 24, 2008, 01:09:56 am »
Is this relevant to your situation?
No, you can't have it!

danm

  • EA User
  • **
  • Posts: 88
  • Karma: +0/-0
    • View Profile
Re: 831/832 doesn't  generate linked attributes?
« Reply #5 on: August 26, 2008, 01:17:40 am »
Midnight, no - thanks, but that's not the problem at all.


I just tried it again on a clean system, the linked attribute templates aren't being called.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: 831/832 doesn't  generate linked attributes?
« Reply #6 on: August 26, 2008, 06:38:41 am »
 :(
That definitely sounds like a bug...

As usual, please let us know what you hear back from Sparx.

David
No, you can't have it!

danm

  • EA User
  • **
  • Posts: 88
  • Karma: +0/-0
    • View Profile
Re: 831/832 doesn't  generate linked attributes?
« Reply #7 on: September 03, 2008, 02:10:05 am »
Sparx found and fixed it in the next build  :)

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: 831/832 doesn't  generate linked attributes?
« Reply #8 on: September 03, 2008, 06:24:44 am »
Bingo!

Thanks for seeing this through Danm.

And thanks to the Sparxians for resolving it.
No, you can't have it!