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 - ngong

Pages: 1 [2] 3 4 ... 9
General Board / What changed from 13.5 to 14.1 regarding custom profiles
« on: November 28, 2018, 05:15:08 am »
I used to change a profile - up to EA 13.5 -, e.g. add a stereotype or change the skin of a stereotype, export it as a profile to an xml file, import it to my model. It overrides the older one. Sync makes sure all changes applied to stereotyped elements.
When I do the same in EA14.1, I got a second profile under Resources/UML Profils. It does not override the existing one.
I found in the xml of the profile a cryptic Documentation id. When I - manually in the xml - change it to the id of the old profile that got from the EA 13.5 maintained one, it works as expected: at import the existing one is overriden.

Question: how can I get the old doc id exported from 14.1?
Or: how can I tell all my stereotyped elements in my model to adhere to a profile with a new doc id, given that the name of the profile and the names of the stereotypes have not changed?

Would appreciate your help.

General Board / Re: Transfer from SQL Server not possible
« on: November 16, 2018, 03:16:33 am »
Thank you Geert.
I tried with a colleague - and he could run a transfer at his installation.
I install new - will give 14.1 a try - and now it works as expected.
Maybe the very long run "Reset IDs" over night and over VPN caused some problem.

General Board / Re: Got stuck on Check Integrity
« on: November 16, 2018, 01:01:43 am »
Ok, that was a good hint, Geert.
If I reconstruct the problem: I imported another model as a certain view that imported the same stereotypes, maybe by an older version. One of them "realizes" was for some reason imported despite it was already there. And got orphaned, was found by integrity check. A repair did not work, because it only saw the good one, and did no repair.

As soon as I deleted the good one - I could not delete the orphaned one - the repair worked. Check Integrity/Project Integrity does not find any problem now.

What is left is, that I am not able to transfer the model from SQL Server to an .eap-file. EA13.5 corrupts the .eap-file before transfering and than mentions that the database format is not correct. But I mentioned this in a different question in this forum.

This one is solved.

General Board / Re: Got stuck on Check Integrity
« on: November 15, 2018, 09:27:23 pm »
Reset IDs went through without failures. However, the problem remains. Check Integrity shows a problem which cannot be repaired.
When it comes to transferring the SQL Server model to an .eap-based model, it got worse. I filed a new question for this.

Exporting to XMI seems - to me for now - to be the only reliable backup. We do not use the specialities that will not be exported with XMI.
I am new to eapx of feap files. How can I transfer to these representations (in the hope not to get the same problems)? Do I need EA14 for it, or will 13.5 do?

General Board / Transfer from SQL Server not possible
« on: November 15, 2018, 08:50:54 pm »
As usual I am preparing an .eap file with an empty model as a destination for a transfer. It has ~1.6kByte. After starting the transfer in the SQL Server model, I get the failure message "unrecognized database format". The .eap file size is reduced to 0kB, obviously corrupted by the transfer.

What I did just before? I Reset IDs as a measure to another problem.

Now, the model seems to be unusable. Do you know of recommendations to cope with EA in a robust way? What features not to use? One recommendation was not to use EA14, so I stepped back to 13.5. What else?

General Board / Re: Got stuck on Check Integrity
« on: November 15, 2018, 08:01:30 am »
Thank you Sunshine. For backup I made to export from SQL Sever to an xmi file (as transfer to .eap file does not work). I could import that one to an .eap file.

I started  Reset IDs. However, if I count the Rows, there are ~130000. Reset IDs does ~200 in a minute, that will take roughly 11 hours. Hope nothing disturbs that process. What if this breaks? Is it one transaction, so the old state will be reactivated?

General Board / Re: Project Integrity Check
« on: November 15, 2018, 07:45:31 am »
I am not using baselines for a big model, as it makes an eap file and any xmi export really large and unwieldy. I prefer to export as xmi and let our version control manage versions. It also has the benefit that I can create a baseline together with other documentation and source code.

General Board / Got stuck on Check Integrity
« on: November 15, 2018, 05:45:01 am »
I change from .eap to SQL Server for more stable behavior. It turns out to be true.

However, now I got a problem that I cannot overcome:
When transfering from SQL Server to a local .eap I get "Unrecognized database format" if I try to open the .eap file. And it is true: I expect a size of ~100MByte and get 12kB as the size of the exported .eap-File.

When doing Check Integrity/Project Integrity on the model in SQL Server I am left with one problem: Invalid Realization Stereotype. ITEM: . ACTION: Updated Applies To.

Any time I try to Recover/Clean I get a SQL Server failure Violation of PRIMARY KEY constraint 'pk_stereotypes'. Cannot insert duplicate key in object 'dbo.t_stereotypes'. The duplicate key value is (realization, realize).

What would be the next steps to solve that problem? How can I find the stereotype that caused it?

General Board / Re: History of lock/unlock
« on: September 06, 2018, 05:41:23 pm »
Thank you for that question, Peter.

Yes, we were used to PTC together with JET engine. But we noticed failures at the interface to PTC - especially 'Get All Latest'. I tried hard to find a solution and/or suitable help for that problem - without success. In order not to let the projects suffer, I gave up.

We switched to SQL Server. No longer using PTC on a per package base. However, in the course of ASpice and ISO26262 we need at least a history of the relationship of change requests and actual changes. Logging that information at lock time seems to me the easiest solution.

I would refuse to re-investigate the PTC per-package trial, as I do not have found the reason for that problems. For getting help, I would have to provide an example model exposing the problem. The one showing the failure is confidential. Trying to create one, I was not successful, yet.

Our experiences using SQL Server for EA in a multi-user environment are very positive. Our work is now more content focused, than on operating the tool. No more "memory overflow", "DAO failure" or "corrupted database" (at least until now). There is no way back for us. JET engine seems to be sufficient for single-user EA work with an ever growing model, not changed much in existing parts - as I did for more than decade.

General Board / Re: empty t_seclocks.EntityIF, what to do about it?
« on: August 23, 2018, 04:56:37 pm »
Hi, qwerty: I forgot, I ran consistency check and it led to "No Problem".

General Board / empty t_seclocks.EntityIF, what to do about it?
« on: August 23, 2018, 06:22:33 am »
Switched from .eap-files to SQL Server based storage of EA model.
Transfer to .eap-file worked fine till today.

I got the message: "An error has occurred: DAO.Recordset  [3314], The field 't_seclocks.EntityID' can't contain a Null value because the Required property for this field is set to True. Enter a value in this field. [Select * from t_seclocks], Field: locktype. Press OK to continue to next row (this record will be lost). Cancel to abort

Ok, I entered the SQL query and got 5 lines as a result. In one of them the field below the column heading EntiyID is empty. Guess that causes the problem. (I do not know how it got there, I was using EA heavily, but interactivily only.)

What shall I do about it? Transfer the result back, so that that record disappears from table t_seclocks? What will be the consequences?

General Board / EA14 and non-modal windows
« on: August 10, 2018, 12:14:20 am »
I love to work with non-modal windows, e.g. Features & Properties in EA14. There too many modal windows in earlier versions.

However, I ran in to a situation where the attributes of any data type or enumerations are not shown. Restarting, even rebooting Win10 did not solve the problem. The attributes are still there, I can see them in the project browser.

Do you got any idea what I missed?

Meanwhile I switched back to modal windwos and EA13.5 - there I can do with the attributes what I like to do.

General Board / Re: History of lock/unlock
« on: August 09, 2018, 11:43:24 pm »
Thank you Sunshine and Geert for your contribution.

All these are no good news to me.

Reviews and Discussions are techniques for manually enhancing quality and creativity - they would need high discipline in an ever changing team and hard to automate formal reviews in order to link change requests to actual changes.

Audits are too late for that purpose.

Baselines are also a bit late. I am thinking about proprietarily comparing baselines - based on project specific SW architecture profile - and group the list of differences by authors. Then ask the authors to apply CRs to their group. A bit late. Doing it just prior to a session creating a set of changes would be much better, that is at lock-time.

Geert, I got to thank you for that warning. However - does not make my problem smaler.

General Board / Re: Project Integrity Check
« on: August 09, 2018, 10:10:27 pm »
jepp - thank you all - worked fine

I did not understrand the problem - some LLEA... profile was in the way with an element called t_document - I never heard of before - but that is gone now and the entire model is ok (checked with LemmonTree against an older version).

Hence, seems not to be a bug to be reported to Sparx.

General Board / Project Integrity Check
« on: August 08, 2018, 03:28:20 am »
When I do a Project Integrity Check, I got one issue: The top-most package, the model itself, is flagged as "Orphaned object" and the check proposes the action "Delete Package Object". Obviously I do not follow that recommendation.

How to get a clean integrity check?

Pages: 1 [2] 3 4 ... 9