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

Pages: [1]
1
Bugs and Issues / Her is the updated displayToc.js line 87
« on: October 19, 2010, 09:31:15 pm »
var tocRoot, tocBranch, tocSel, tocLoading, tocLastID, tableSel, tabHead, data, tocTab, tocInitRoot, tocMemToc, rFStatus, oldData, tableSelTable;
var initI;
var icon=new Array();
var preloadIcons=new Array(1,10,101,102,103,104,106,107,108,11,113,116,118,16,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,19,20,21,24,25,26,28,29,31,34,4,5,52,53,56,57,6,60,68,69,7,8,82,9,99);

var browser=browserCheck();
var content=0;
var Linkguid="";
function browserCheck() {
      browser=navigator.userAgent.toLowerCase();
      if (browser.indexOf('msie')!=-1) {
            if(browser.substring(browser.indexOf('msie')+5,browser.indexOf('.',browser.indexOf('msie')))>6) return("ie7");
            if(browser.substring(browser.indexOf('msie')+5,browser.indexOf('.',browser.indexOf('msie')))>5) return("ie6");
            else return("ie_old");
      }
      else if (browser.indexOf('firefox')!=-1) return("ff");
      else if (browser.indexOf('opera')!=-1) return("op");
      else if (browser.indexOf('gecko')!=-1) return("ff");
}

function changeCSS(theClass,element,value,target) {
      var cssRules;
      target = eval(target+'.document.styleSheets');
      if (browser=='ie6'||browser=='ie7') {
            cssRules = 'rules';
      } else if (browser=='ff'||browser=='op') {
            cssRules = 'cssRules';
      }
      for (var S = 0; S < target.length; S++){
            for (var R = 0; R < target[cssRules].length; R++) {
                  if (target[cssRules][R].selectorText == theClass) {
                        try {
                              target[cssRules][R].style[element] = value;
                        } catch(e) {}
                  }
            }
      }
}

function initItem(item) {
      tableSel=null;
      if (cont.document.getElementById('TableGroup')!=null) {
            toggleItem(cont.document.getElementById('TableGroup').getElementsByTagName('li')[0].id.replace("Title",""));
      }
}

function initLoad(src,toc,home) {

      var qs=document.location.search.substring(1);

      if (qs.substring(0,qs.indexOf('='))=='goto') {
            var gotoPage = qs.substring(qs.indexOf('=')+1).split(':');
            var fExt = home.substring(home.lastIndexOf('.'));
            var home = "./EARoot/";
            for (var i=0; i<gotoPage.length; i++) {
                  home += "EA"+gotoPage;
                  if (i!=gotoPage.length-1)
                        home += "/";
                  else
                        home += fExt;
            }
      }

      content = document.createElement('div');
      content.className = "IndexBody";
      content.innerHTML="      <iframe src='"+toc+"' name='toc' id='tocIFrame' frameborder='0'></iframe>\n";
      
      if (qs.substring(0,qs.indexOf('='))=='guid') {
            Linkguid = qs.substring(qs.indexOf('=')+1).split('?guid=');
            LoadGuidMap(OnReadyLoadGuidMap);
      }
      else{
            // We don't have a guid in the address bar, so set the default homepage and continue
            content.innerHTML+="      <iframe src='"+home+"' name='cont' id='contentIFrame' frameborder='0'></iframe>";
            content.innerHTML+="      <div id=\"resizeFrames\"></div>";
      
            // Pass in the guid of the home page or class.
            initPreLoad(content);
      }
}

function LoadGuidMap(ResponseFunc){

      // Get the correct file
      var FirstTwoHexDigits = new String(Linkguid);
      FirstTwoHexDigits = FirstTwoHexDigits.slice(0,2);
      var src = "js/data/guidmaps/"+"GuidMap"+FirstTwoHexDigits.toLowerCase()+".xml";

  RequestPage(src,ResponseFunc);// Request the page passing in the filelocation and the response function.
}

function OnReadyLoadGuidMap(){

      if (data.readyState == 4){
            try{
            
                  var Home = GetPageAddressFromMapString(data.responseText);
                  
                  //Set the home page.
                  content.innerHTML+="      <iframe src='"+Home+"' name='cont' id='contentIFrame' frameborder='0'></iframe>";
                  content.innerHTML+="      <div id=\"resizeFrames\"></div>";
      
      //Make sure memory for the string is cleared. The browser should do this anyway but just in case.
      Home=null;
        
                  // Continue loading the rest of the page.
                  initPreLoad(content);
            }
            catch(e){
                  return;
            }
      }
}

function GetPageAddressFromMapString(MapString)
{
    
      var LG = new String(Linkguid);
              var Page = new String(MapString);
                          
              LG = LG.toLowerCase();    //Make searching case insensitive.
              Page = Page.toLowerCase();
              
                  var Pos1 = Page.search(LG);   // Search the the guid in the string and return the position.
                  Page = Page.slice(Pos1);// Remove the top half of the string.
                  
                  var Pos2 = Page.search("/");  //Search for the start of the web address.
                  var Pos3 = Page.search(";");  //Search for the end of the web address.
                  Page = Page.slice(Pos2+1,Pos3);   // extract the web address.
                  
                  // Leave the page address in the original case as Linux is case sensitive.
                  Pos1 = Page.search(".htm");  
                  Page = Page.slice(0,Pos1);
                  
                  Page = Page.toUpperCase();
                        
                  Page = "EARoot/" + Page + ".htm"; // At the root back onto the page.
      
                  return Page;
}

function guidLink(guid,qs) {

  guid = guid.substring(1,guid.length-1); //Remove the brakets
      Linkguid = guid;
      LoadGuidMap(OnReadyGuidLink);

}

function OnReadyGuidLink(){

  if (data.readyState == 4){
    try{
        
      // Get the page location from the guid map.
      var Page = GetPageAddressFromMapString(data.responseText);
    
      cont.location = Page;
    
      //Make sure memory fo

2
Bugs and Issues / HTML Report GUID style linking fails
« on: October 19, 2010, 09:28:13 pm »
Hi,

We are on 7.5.849 and ee export HTML models and then publish them via Tomcat.

What we have found is that the guid style linking does not work once published, but it does work straight off the file system:

This works:
file:///C:/Documents%20and%20Settings/traja/Desktop/POS_HLD_Models_V03.6/index.htm?guid=6A8D94C5-1744-434f-9F10-FF8FBC9C531E

But this does not
http://projects/posmodels/POS_HLD_Models_V03.6/index.htm?guid=6A8D94C5-1744-434f-9F10-FF8FBC9C531E

This is due to fact that through Tomcat the case of file name is important, so if we edit the guid and change it to be:

http://projects/posmodels/POS_HLD_Models_V03.6/index.htm?guid=6a8D94C5-1744-434f-9F10-FF8FBC9C531E

It works. A fix to exported JS needed.

Cheers
Adrian

3
Bugs and Issues / Re: Lost Locks when using Subversion
« on: October 07, 2009, 04:56:27 am »
F5 was required  ;D

4
Bugs and Issues / Re: Lost Locks when using Subversion
« on: October 07, 2009, 04:50:38 am »
Quote
[


7.5.849 is the latest....

er on the download page its 848, where have you managed to get 849 from?

5
Bugs and Issues / Re: Lost Locks when using Subversion
« on: October 07, 2009, 04:48:50 am »
Quote
I haven't experienced crashes viewing the history or undoing check-outs, both of which we do all the time.  It surprises me that you have that happen.  I guess we've been lucky!  You might contact Sparx support for issues like that (if you haven't already).  That seems very unusual to me.

Well that's good to hear!

Hopefully its something that can be fixed then.

6
Bugs and Issues / Re: Lost Locks when using Subversion
« on: October 07, 2009, 04:41:48 am »
Just spotted this: http://www.sparxsystems.com/uml_tool_guide/uml_model_management/resynchronize_the_status_of_ve.html:

Quote
"Right-click on any package and select the Package Control | Re-synch all statuses with VC Providers context menu option."

...and I don't have that option. I guess 7.5.845 is NOT the latest build?

7
Bugs and Issues / Re: Lost Locks when using Subversion
« on: October 07, 2009, 04:34:55 am »
Yes we're finding it invaluable just for controlling our concurrent working by checking in out. It's essential in a team of 5 people concurrently designing!

As you have guessed we are a little along the way, and the white paper was fairly useful to get going.

I have had mixed success with things like:
  • viewing history, crashed once, now seems to work.
  • undo checkout, tired once, crashed once, have not tried again.
  • and off course my recent experience with "get all latest": had to restore eap from backup.

Cheers

8
Bugs and Issues / Re: Lost Locks when using Subversion
« on: October 07, 2009, 04:01:49 am »
Hi Paul,

Yeah that's pretty much what I did, I went and stole the lock using TortoiseSVN and then I released it.

I just ran "get all latest" from the package control context menu. Umm not good. It sort of hangs EA half way through with a message saying "application error" and then a modal xmi dialog appears that cannot be closed.

What is "get all latest" supposed to do?  :o

Restoring from backup now.....

I don't want to be snide here, but this isn't the best part of their otherwise very nice product is it?

c'est la vie and all that.

9
Bugs and Issues / Re: Lost Locks when using Subversion
« on: October 07, 2009, 02:43:24 am »
Hi Geert,

thanks for this suggestion, I have just tried it with the following results:

The menu command is "Project->Version Control->Validate Package Configurations"

This checks each package status in the VC system (SVN in this case) and in fact it reports the "lost" package in question as "checked in" on the output console. So far So good!

Regrettably however when I try check it out in the project browser it still reports it as checked out to another user.

Looks like a bug?  :-/


10
Bugs and Issues / Lost Locks when using Subversion
« on: October 06, 2009, 01:15:02 am »
hi,

We use  subversion for package control, and we have a couple of packages that are locked by a user and we need to clear those locks.
  
I have tried clearing them in subversion, but this does not help, it would appear that there is a reference in the EAP file too as to who has the package checked out. How can I clear this lock?

Cheers
Adrian

11
Bugs and Issues / Re: Undo not always available
« on: July 10, 2009, 06:54:12 pm »
Quote
Yes,

Unfortunately the undo function is still very crippled. In my experience it only works wel on the less important changes :/ such as changing the layout on a diagram etc...
I did see the undo function mentionned in the in the release notes recently so it might have improved recently.

Geert

Well I've just downloaded and installed so I reckon I'm on the latest version...

In other words, don't hold your breath hey.  ;)

Cheers


12
Bugs and Issues / Undo not always available
« on: July 10, 2009, 01:23:05 am »
Hi,

I had a few bad experiences today with undo not always working:

Firstly I added a stereotype to an activity, then tried undo - no undo available. Survivable.

Then, I deleted a comment on an activity diagram, but Isuspect that everything was selected, so everything get deleted, tried undo - no undo available. FRAAAAAAAACK.  :-/

Lost a good hour there.  >:(

Anyone else have these sorts of issues?

I am on version 7.5.845

Cheers.


Pages: [1]