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

Pages: [1] 2
1
Hi Eve,

I tried this again, but it is still not working :(
Methods with type-hinting return, are not imported into the class-elements.

EA is not an cheap application.... (at least for our small company). And with the much praised MDG, why is it so hard for sparx to update the php to version 7 ???  :-[
Can something please be done on this?!?

It is that other uml-tools are worse.... else....

Sorry, I am very frustrated after 2 days with EA and not getting done simple things (also struggling with namespaces).

Greetz, flexjoly

2
Bugs and Issues / Php namespaces not recognized?
« on: June 13, 2020, 05:52:07 am »
Hi,

Lately I started to work more actively with namespaces in php. I expected that EA would love that and would recognize the connection between classes even beter. But the opposite seems to be true :-(

Because of namespaces it is possible to have the same classnames. But EA does not recognize (nor generate) the correct namespace-path. And EA seems to have never heard of namespaces aliases  :-[

I set some packages as root namespace:
  • rh
  • ls
Some of the classes I have are:
Base Data class
Code: [Select]
<?php
namespace rh\data\data;

class 
Data implements DataInterface{}
?>


Config Data class
Code: [Select]
<?php
namespace rh\config\db;
use 
rh\data\listdata\ListAbstract;

class 
Data extends ListAbstract{}
?>



A Class which extends the base Data class
Code: [Select]
<?php
namespace ls\api;
use 
rh\data\data\Data;

class 
Params extends Data{}
?>



The class are imported as by directories and the packages are created on namespaces.

But a class like Params is connected to the Config-Data class and not to rh\data\data\Data  :o :-\
And when looking into the relations or find-window only classnames without their namespaces are shown.

I tried to change the extend to:
  • use rh\data\data and ... extends data\Data
  • extends \rh\data\data\Data
I searched and read many pages in the tutorials. Downloaded the latest version 15.2 beta.

I also tried:
  • setting an alias in the class-element properties[/font]
  • deleted the generated connector (but it comes back after source-synchronisation)[/font]
  • drawing the generalize connector between Params and data\Data  >> source-generation just makes php to multi-extend ;D
What am I doing wrong??? What can I do to get EA to recognize the namespace paths and make the right connections.

And what about namespace aliases? I use "use my\namespaced\Class as Base;" a lot.... but EA just connects to the first "class Base{}" it finds  :-[


I hope someone can help me.
Thanks in advance.
Flexjoly

3
Bugs and Issues / Re: php7 methods with returnType not imported in classes
« on: November 29, 2019, 08:19:19 pm »
Hi,

I also tried again to change the grammer for 'Operation Declaration' like:

Code: [Select]
%PI=" "%
%if genOptPHPVersion >= "5.0"%
%if elemType=="Interface"%
public
%else%
%opAbstract == "T" ? "abstract" : ""%
%CONVERT_SCOPE(opScope)%
%endIf%
%endIf%
%opStatic=="T" ? "static" : ""%
%if genOptPHPVersion >= "5.0"%
%opTag:"final" != "" ? "final" : ""%
%endIf%
function
%PI=""%
%opName%(%list="Parameter" @separator=", "%)
%PI=""%
:
%opReturnType=="var*" ? "&" : ""%

I tried different things with 'opReturnType', but so far no luck.

Any suggestions?

Thanks in advance, Lydia

4
Bugs and Issues / Re: php7 methods with returnType not imported in classes
« on: November 28, 2019, 06:28:44 am »
Hi Eve,

Thank you so much for your effort!
Sorry I did not see this sooner.

I tried to import your xml as mdg. And did also:
- select 'php 7' as required (https://sparxsystems.com/enterprise_architect_user_guide/15.0/modeling/specify_reqd_mdg_technologies.html)
- php7 is also shown in configure > resources > mdg techn.
- set it to active here: https://sparxsystems.com/enterprise_architect_user_guide/15.0/modeling/manage_mdg_technologies.html
- restarted EA several times
- made a new test project
- (re-)imported/synchronized some php7
- language of the package is 'PHP'


In v15 I think you also need to create a custom perspective containing this technology.
I overlooked this at first and I have no experience here so far with this.  :o
But I tried to make one,  then I needed to choose a model (wizard) to make a diagram. So does this have to do with importing source?

So far I cannot get it to work.
The classes are imported (from a directory), but the methods with a returnType are not.
I hope you can help me here again.

Thanks in advance, Lydia


NB! Until now, I did not hear anything on my bug report.


5
Hi Paolo,

Thanks for pointing this out.

I did another feature request a while ago.... except from the confirmation mail you hear nothing on it...
So i did not thing of that anymore.

But on your advice, I looked at it again and see that you can post a bug report as registered user. So I did that now on this. I hope that EA will at least respond.

Greetz, Lydia

6
Hello,

Is there any change that this get fixed in the near future?
That the returntype is not recognized is no problem, but that the class is not imported at all thát is a problem.
Can this please be fixed?

We have the corporate version. Is it possible and not too difficult to script around it?
Does anyone have a scripting solution for this? (I am really a newby on scripting in EA)

@geertbellekens > do you have something for this?

Thanks in advance!
Lydia

7
ah.... the way time-aware works isn't helping indeed. And if you even say so...
Then I have to stop using it also.

I am trying to synchronize it back to 1 branch.
That is seems IMPOSSIBLE for EA itself!  :-[   >:(
Very strange! I cant figure it out (still hoping I miss something here)

I have tried to import and merge the package with xmi. But EA tells me they cannot be merged. When choosing the option 'one transision' or something like that, it dóes import... but just makes new packages with same name, next to the existing ones.... so no merging.  >:(

Adding a new root-node and importing the sources from files even does not help! So when using this time-aware on a package, the whole project becomes time-aware, and I dont know how to disable that.

So made a new root-node and put the existing packages in this new one. Deleting the time-aware root-node.... Still not helping...  :-[ >:(

So for anyone who reads this:
be carefull when you clone a package to a new version !!
You cannot undo it!
And you might end up with a very fragmented project

Still hoping that EA will do something about this, for it can be a very good feature!!

Luckily we have a few versions yet, so we can merge things manually. I am happy that I stumbled upon this missing feature early on.

8
General Board / Re: Is it possible to integrate EA and git?
« on: September 05, 2019, 06:36:28 pm »
Hi qwerty,

Thanks for your reply.

No it is not the backups that we save indeed!  ;D
This way we have the EA files under version controle with git.
Yesterday I messed up an EA project. So I closed the project (so it would not get a conflict) and then reloaded a previous version of the .eapx file. That worked very well.

Greetz, flexjoly

9
Hi,

Very enthousiastic I used the time-aware modeling and cloned my packages into newer versions. Including php-source files.

But now it is all fragmentated :-(

Like in 1 project with root-packages:
- version 1.0
- version 1.1
- version 1.2

In version 1.2 only new classes (php source files) are shown. I understand that is how this cloning works. But to find a class in the browser you need to search back in previous versions.... that is quite annoying...
I know that I can search etc. But I just want to have a nested overview of all elements....

I searched a lot for this. But can't find it.
Tracebility... does not help on packages...

Thanks in advance
flexjoly


10
Suggestions and Requests / Re: Show all feature requests
« on: September 05, 2019, 05:25:09 am »
ROFL  8)
So that's why! I found out already that is was gone at lasttttt ;)

11
General Board / Re: Is it possible to integrate EA and git?
« on: September 05, 2019, 05:22:47 am »
At the moment we save our AE projects inside git-repos. At I use controled-packages with batch export.

I have no time yet to make a better backup system for this, at it does the job for now. ;-)

12
General Board / Re: spam filtering in forum
« on: September 04, 2019, 10:35:24 pm »
(Ohw wow this is really THE FIRST post I can do WITHOUT captcha !!  :D :D :D :D)

I wanted to reply to this, because we lately stumbled upon https://cleantalk.org
We have been using this for about half a year now. This is really THE BEST spam-blocker ever! Because it depends on live information from the community and gets updated all the time.
The costs are really low, and maybe a big forum like this can get an even better deal.

Captcha is not working well enough anymore. Because these spambots are getting better and better.
And the captcha here is really annoying!

13
General Board / Re: Is it possible to integrate EA and git?
« on: September 04, 2019, 10:24:22 pm »
I always ask: why do you want version control? Are you intending to develop related models? And eventually merge them? Just think twice. I haven't seen a case where a regular backup would not be the right solution.

We like to use is as backup indeed. Until now I did not find an easy backup-feature in EA. Only save-as, which then opens the new file to work on.... so that does not work as a backup :-(
I tried to use the save-as, but it gets quite complex because the list with files becomes to large, so you loose the overview on it.

14
General Board / Re: How to add an image
« on: September 04, 2019, 10:18:20 pm »
It's not quite as bad as qwerty is suggesting. I very strongly suspect that the problem is simply that YaBB (this forum software) stores all its data in text files on the server instead of a database.

In all likelihood, that's the reason why the default for search duration is a week. The developers know about the lack of scalability.

Sorry for replying on such an old topic. But in the current forum, attachments/image-upload can be simply enabled by the administrators. So please?!
https://wiki.simplemachines.org/smf/Posting > search for 'attachments'

15
Suggestions and Requests / Re: Show all feature requests
« on: September 04, 2019, 09:54:51 pm »
15 posts  :)


Even more posts now.... Did this important request get to EA? Any updates on this?

NB. a screenshot of the captcha AND extra question when posting something here

https://rhinestone.stackstorage.com/s/ol6jLL4nGaFvgCi

pppffff can it be because of ad-blocker of brave browser, or cookie-blocker (but i disabled it at the moment) and brave does not show any blocked items....
it drives me crazy at the moment, because it took me several attemps to get past the captcha en error messages and then the forum telling me: you posted this already (but I did not see it)  >:( :-[
https://rhinestone.stackstorage.com/s/XZ0HoMFuH66AM0T

Pages: [1] 2