Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: Sunshine on April 16, 2010, 01:45:06 pm

Title: EA V8.0 - Doc Generation
Post by: Sunshine on April 16, 2010, 01:45:06 pm
Version 8.0 is now out and so I've just tried it on a copy of a production model. An EAP file.

Is there anyone out there who is experiencing doc generation issues with EA V8.0?
From the same EA model I've generated two RTF documents using V7.5 with V8.0 and then comparing them. I've generated these documents using the master/model document method and I'm experiencing the following issues;
I'm in the process of investigating further but I'd be interested to know whether its just me. :'(
Title: Re: EA V8.0 - Doc Generation
Post by: WorkerBee on April 20, 2010, 05:03:40 pm
We are facing the same problems.
If lazy loading is turned off the situation improves a little bit.
But ... in our docs for example only the name of the FIRST element gets rendered, other fields (status etc) work as expected. Weird.
I already have sent a bug report.
Title: Re: EA V8.0 - Doc Generation
Post by: AndyJ on April 20, 2010, 05:19:43 pm
I'm not sure that you're seeing the same bug/feature as me...

...in Project Explorer, are your diagrams "inside" the use cases?

I've just noticed that if diagrams are contained in a use case, they don't appear in generated documentation.

If you lift them out to the same level as the use case they do appear...

Is this the same issue?

Please note I'm using 7.5.848
Title: Re: EA V8.0 - Doc Generation
Post by: Michael Proske on April 22, 2010, 06:02:02 am
I started doc generation today with EA 8.0 with an 7.5 file and template and stopped it immediately. For me it seems that EA will return 2 packages instead of one when child packages exists even if child packages are not included. That causes a lot of trouble. I did not send a bug report. Also the document doesn't look like in EA 7.5. I will wait if the bugs are closed before i upgrade to 8.0
Title: Re: EA V8.0 - Doc Generation
Post by: bnils on April 22, 2010, 08:13:16 pm
We had a minor problem in the Document Template Editor. For some reason, at some workstations, the template code was messed up (field names were really strange), the generated documents were however ok. the messy template code could be solved by enabling "View|Field Names", then the code returned to a nice readable form. Im not sure wheter this is a bug or not, have not reported it as such anyway.
Title: Re: EA V8.0 - Doc Generation
Post by: Keith Ralphs on April 24, 2010, 01:25:21 am
I too have this issue. My version is, despite checking the 'Include all diagram elements in report' option, from a diagram containing 13 linked elements I now get a report that contains 2 elements with Version 8. In Version 7.5 I get the full set of elements as expected. Not impressed  >:(.

Hey Mr Sparx, please fix this and issue an update.
Title: Re: EA V8.0 - Doc Generation
Post by: Graham_Moir on April 24, 2010, 02:05:09 am
Quote
We had a minor problem in the Document Template Editor. For some reason, at some workstations, the template code was messed up (field names were really strange), the generated documents were however ok. the messy template code could be solved by enabling "View|Field Names", then the code returned to a nice readable form. Im not sure wheter this is a bug or not, have not reported it as such anyway.

Just for clarification this "messy template code" issue can arise purely in 7.5, I don't believe it's related to the v8 upgrade.   I think it happens on certain machines because it's a local setting to each machine.   We've seen it a number of times way before 8 was available even in beta.
Title: Re: EA V8.0 - Doc Generation
Post by: Graham_Moir on April 24, 2010, 02:06:35 am
Quote
I too have this issue. My version is, despite checking the 'Include all diagram elements in report' option, from a diagram containing 13 linked elements I now get a report that contains 2 elements with Version 8. In Version 7.5 I get the full set of elements as expected. Not impressed  >:(.

Hey Mr Sparx, please fix this and issue an update.

Everyone who's having this problem should submit a formal bug report to make it clear to Sparx that this is a widespread problem.
Title: Re: EA V8.0 - Doc Generation
Post by: meierch on April 27, 2010, 04:21:02 am
I have also the effect that for diagrams the elements are no longer reliably reported. In some cases all are shown - in others a few - in others none. Nested elements are more often affected than others.

If I switch back to EA 7.5 everything works as expected.
Title: Re: EA V8.0 - Doc Generation
Post by: suki on April 28, 2010, 05:29:25 pm
We have probably similar problem. We use Oracle 11 database and generation with old version 7.5.850 is ok.

I've generated the same document using new EA version 8.0.855 and many part of document were missing.
During generation the document were shown many errors while application went trough "problematic parts".

Messages are:
1. ORA-01795: maximum number of expressions in a list is 1000
2. ADODB.Recordset [-2146824584] Operation is not allowed when object is closed
Title: Re: EA V8.0 - Doc Generation
Post by: Graham_Moir on April 28, 2010, 08:39:04 pm
Just checking - have all you guys formally reported this issue?
And if so have you had any acknowledgement/confirmation from Sparx that it's a problem and they're working on it ?
Title: Re: EA V8.0 - Doc Generation
Post by: Sunshine on April 29, 2010, 02:02:52 pm
I've been snowed under with work since I posted this originally so haven't investigated this further yet nor have I reported it to Sparx. I wanted to verify whether it was a real issue or just one of those things that happens to only me.
Title: Re: EA V8.0 - Doc Generation
Post by: WorkerBee on April 29, 2010, 02:56:22 pm
Actually I have sent two bug reports.
Both were confirmed as follows:

Quote
I have verified that the full data is not rendered for Virtual Document generation.
This has been lodged for correction as issue: 100454

... and ...

Quote
I have run this through builds 850 & 855, and yes this does drop the top
table row in build 855.
I have lodged this as issue: 10045479

Well, build 855 is nice to work with. But, for document generation, we are still using build 850, which was the best release so far.
Title: Re: EA V8.0 - Doc Generation
Post by: meierch on April 30, 2010, 04:46:12 am
I have submitted a priority bug together with a small model consisting of three classes and two diagrams which demonstrates the bug that in case of nested elements only the root element is reported along with diagrams.

I hope this gets fixed as we are setting up a large modeling effort at work where we would like to use the added use case modeling functions but where we also need to be able to run the already defined reports.
Title: Re: EA V8.0 - Doc Generation
Post by: Sunshine on May 12, 2010, 02:20:47 pm
Okay so since I first posted issue I've been too busy to look into this issue any further until now. What I have found is that the sections that were missing in my RTF document seemed to be caused by an integrity error. When I ran EA tool to fix these errors  the problem of missing elements disapeared. The weird part was that V7.5 didn't seem to mind and created the document in full but V8.0 didn't until the errors were fixed.
The differences between V7.5 and V8.0B856  generated RTF documents now seem to be minor with a few extra blank paragraphs and the odd centre justfied text that was originally left justified. I found when I created a new template it seems to work okay.
Title: Re: EA V8.0 - Doc Generation
Post by: Geert Bellekens on May 12, 2010, 03:41:30 pm
I think i have a pretty good idea as to why these issues came about in v8.
They are probably related to the way Package.Elements has been changed in V8. See this topic (http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1271406683/18#18).

Geert
Title: Re: EA V8.0 - Doc Generation
Post by: Graham_Moir on May 12, 2010, 07:58:00 pm
I have now experienced this issue as well related to document artifacts, some don't seem to get pulled into the generated document any more !

I investigated a bit further and what I've found is pretty sinister.   I have document elements on diagrams that work correctly in the sense that the are displayed on the diagram, you can click on them to modify properties and linked docs can be edited,  however they do not exist any more in the project browser !!!   Whcih is why they don't get pulled into the generated rtf !

"Find in browser" just doesn't find them.   Attempting a project integrity check doesn't find any issues.  All of this is v8 and very worrying.

How do I get an element that exists on a diagram (or multiple diagrams) and can be found in Model Search (but not in Find in Project Browser) back into the project browser ?
Title: Re: EA V8.0 - Doc Generation
Post by: Geert Bellekens on May 12, 2010, 08:53:10 pm
Ah, must be related to the lazy loading issue(s) with the project browser.
Just to be sure, are you working on v8.856? Because they claim to have fixed those issues in the latest build.

Geert
Title: Re: EA V8.0 - Doc Generation
Post by: Paolo F Cantoni on May 12, 2010, 09:30:52 pm
Hi Graham,

Reopen the repository afresh.

Search for one of those mysterious elements in the browser (shouldn't be found).

Select the element on a diagram.  Use [Alt+G] to find it in the browser.

Re-search the browser - now it should find it and therefore it's most likely related to the Lazy Load as Geert said.

HTH,
Paolo
Title: Re: EA V8.0 - Doc Generation
Post by: Graham_Moir on May 12, 2010, 10:57:57 pm
Paolo - that helps a lot thank you.  Huge sigh of relief.  The elements are back where they should be.  This is still build 855.  I have 856 downloaded but not installed - I think I'll do that right now !
Title: EA 856 - Doc Generation - bullets
Post by: skiwi on May 26, 2010, 02:59:40 pm
I'm generating a document for the first time in EA 856, targeted for Word (2003).

None of the bulleted or numbered lines from notes show in the document.
The style for these lines is "11 pt, Left: 0cm; Hanging: 0.63 cm, After: 0.05 pt" for both bulleted and numbered.

Is this a general problem?
If not can anyone suggest where to look / fix it.

A related question is: why does EA force formatting in documents instead of relying on the styles (from normal.rtf)?

PS I edited every one of the notes fields and toggled the bulletted/numbered lines to ensure they had been created by the current build.