Book a Demo

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Richard D Vodden

Pages: [1]
1
Bugs and Issues / The character '<' cannot be used in an attribute
« on: June 27, 2014, 06:13:53 pm »
I'm getting a really strange error when trying to generate a WSDL from a web services model. The error I'm getting is:

Code: [Select]
Error:
Code = 0xc00ce506
Source = Line : 1; Char : 111
Error Description = The character '<' cannot be used in an attribute value.

Does anyone know how to get from the Line and Character number to an element in the model?

Cheers,

Richard.

2
Bugs and Issues / Re: Row Cannot be located for updating....
« on: June 23, 2014, 07:48:24 pm »
Ahaha - I've got it. The MaxVarchar needs to be set to 1024 and the Max LongVarChar needs to be set to 1000000 then all works fine. Thanks for your help :-)

Richard.

3
Bugs and Issues / Re: Row Cannot be located for updating....
« on: June 23, 2014, 07:07:28 pm »
Stefan,

Thanks for the suggestion, but I don't seem to be able to find those options. I've taken screenshots of all the configuration screens I can find:










I've checked and I've got all the settings from

http://www.sparxsystems.com/enterprise_architect_user_guide/8.0/projects_and_teams/setupapostgresqlodbcdriver.html.

I'm using version 9.03.03.00 of the driver.

Thanks!

Richard.

4
Bugs and Issues / Row Cannot be located for updating.... [FIXED]
« on: June 19, 2014, 11:30:36 pm »
I'm using a postgres database and the corporate edition of EA. I've created a BPMN 2.0 diagram, and created a single pool. Whenever I add an activity, it adds OK, but after I select the nature (manual, send etc.) of the activity, I get the following error:

Code: [Select]
Microsoft Cursor Error [-2147217864]

Row cannot be located for updating.
Some values may have been changed since it was last read.

I'm the only person using this database at the moment, as I'm running a PoC which I haven't rolled out to any other users yet. Does anyone have any ideas what might be going on?

5
Bugs and Issues / Information Items and Shape Script
« on: May 31, 2014, 12:23:32 am »
Hey,

I really don't like the way that EA by default does not include a new line between "Information Items Conveyed" on an "Information Flow" arrow when they're displayed in the Middle Top Label. I'm trying to override this behaviour using a Shape Script, but I cannot work out how to get access to the list of "Information Items Conveyed" through the Shape Script API. Does anyone have any ideas?

Thanks,

Richard.

6
Hey all,

I'm stuck on getting some code gen to work. I'm trying to generate a yaml file from a class diagram, and I want to show the properties of linked attributes. I'm only going to one level - so I shouldn't get any loop problems.

In my project I have a class - called Super. This has an aggregation to part link to another class, called Sub. The Sub class has two attributes - att1 and att2.



I have a Class Body template which runs through all the attributes and linked attributes just fine:

Code: [Select]
%list="Attribute" @separator="\n" @indent="    "%

I've created a new Custom Template called Class__ClassParameters, this is called from my linked attribute class as follows:

Code: [Select]
   %qt%%linkAttRole%%qt% {
          %qt%type%qt%: %qt%object%qt%,
          %qt%description%qt%: %qt% %LinkedAttributeNotes%%qt%,
          %qt%properties%qt%: {
$type=%linkAttName%
          %list="Class__ClassParameters" className==$type %
          }


This calls the template exactly as i expect, but when I get it to report the $className from the Class__ClassParameters template:

Code: [Select]
ClassName: %className%

It returns Super - not Sub. Has anyone got any idea what I'm doing wrong?

Pages: [1]