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

Pages: [1]
1
Automation Interface, Add-Ins and Tools / Re: Script creation issue
« on: February 15, 2018, 01:30:06 am »
Thanks Uffe,

That was it. I assumed incorrectly that Admin role would have those permissions.

2
Automation Interface, Add-Ins and Tools / Script creation issue
« on: February 15, 2018, 12:35:27 am »
If I create a new project I am able to add a new Script Group and new scripts within that group. However when I try doing the same with an existing project that is SQL Server based I am unable to do anything with scripts. Is that because it is SQL Server based? I can't figure out why I am unable to do any scripting in that project.
Ver 13.0.1309 Ultimate

3
Ha ....  Perhaps, but I put a certain degree of faith in software developers who go out of their way to explicitly state that something is pretty much deprecated for lack of a better term. Otherwise we just end up coding useless code that checks something that is never untrue. Waste of time. Anyhow, I'll let you all know what I find.

4
Thanks Geert,

I figured as much about GetLastError.

t_object Notes is empty. Never made it from what I can see. Somewhere between the .Update and SQLServer something went wrong and nothing made it's way back stating as much. Next, I suppose, is to drill down in the SQLServer logs to see if anything jumps out (rollback, etc).

Very much a mystery.

5
>> The best is: use correct code only  :-\

The EA documentation for GetLastError() is very clear in stating

 >>This function is rarely used as an exception is thrown when an error occurs.<<

I was relying on that, thus the reason for not checking the return value of the Update() and depending on the catch.

6
Think I'm going to need to do that. Have a situation that rarely occurs and I can't reproduce on demand. The code (c#) sets the Notes on an Element then performs Update() for the element object.  No trace of the change on SQLServer and no exception thrown. The Notes property still contains the value after the update so it's not as if the value was not passed in (I know that since the value is spit out into a log immediately after the update). Can turn around and run the very same operation with the very same data again and it works.

I'd say this is random, but nothing in code is random so there is something going on behind the scene.

7
I'm curious about Element.GetLastError().

Element.Update() returns a Boolean. Do scenarios exist where the Update() returns False rather than throwing an exception if something goes off the rails with the Update?

8
@Luis: Thanks. Good suggestions.

However, I'm really more interested in seeing the notes preview in the traceability view. If I have an item selected in the project browser or the search results it would be nice to see the notes preview in the traceability iew which I have docked in order pick off the traced entity I am interested in by simply scrolling through the traces.
Alternatively, if I have traceability and notes docked it would be nice to see notes reflect the value associated with the entity I highlight in the traceability view (as happens when scrolling through the Porject Borwser and Search Results)

9
Like the Notes Preview on the Model Search, quite useful on our project. I'd sure like to have the same capability on the Project Browser and Traceability View. Is there a way to do this now?
Current Version: 9.2

10
General Board / Re: Audit View - EA Lite
« on: June 05, 2012, 06:03:18 am »
@qwerty: That's the reason I asked. It was not selectable. Looking for a workaround.

Turns out there is a way to view auditing, however. Simply create a workspace layout that has the Audit View enabled using a full version of EA, then use the same layout on the EA Lite installation.

11
General Board / Audit View - EA Lite
« on: June 05, 2012, 04:24:02 am »
Is it possible to get the Audit View in EA Lite?

12
General Board / Export Model Workspace
« on: May 31, 2012, 12:33:49 am »
I've set up and saved a Custom Workspace. Some other members on my team want to use the same layout. Is it possible to export the workspace?

13
Bugs and Issues / Search Fails finding escaped characters &, <, >
« on: June 12, 2012, 11:55:52 pm »
I have a class that has an & in the Notes. When I peform a search using the string containing the & the class is not found. It is found, however, if I escape the &  as &amp; . In t_object the class notes are persisted with the escaped format.
This is not correct behavior as far as I'm concerned considering when I view the class notes I am presented with a non-escaped & . I should be able to simply cut and paste that string into the search and find the exact same class.
A typical user would have no idea the & is escaped and would be confused as to why they can't find what they are looking for (my tests show < and > act the same way).

14
I would like to get a look at the contents of BinContent1 and BinContent2 in t_snapshot. Not sure how it is encoded and how to go about decoding it. Anyone have any tips?
Thanks
JB

Pages: [1]