[umbrello-devel] [umbrello] [Bug 336889] Generating code for PHP5 is corrupted when generations comes from inheritance from class and interface

Ralf Habacker ralf.habacker at freenet.de
Mon Jun 30 11:36:03 UTC 2014


https://bugs.kde.org/show_bug.cgi?id=336889

--- Comment #4 from Ralf Habacker <ralf.habacker at freenet.de> ---
(In reply to comment #3)
> According to
> http://stackoverflow.com/questions/652157/can-a-class-extend-both-a-class-
> and-implement-an-interface should the generated code be valid. 
> Also running this class through a php5 (5.4.20) interpreter do not produce
> any error, while it reports a syntax error if I exchange the terms 'extends'
> and 'implements'. 
> What I can see is that for that case (one extends and one or multiple
> implements)  the warning is obsolate and should be removed.
> 
> May this be an issue of the NetBeans IDE ?

Looks not, the screenshot did not show that the generated class ArticleWsInt
contains a method declaration for getArticlesByContent() and and an
"implements"  methods shown in the screenshot with the same name. 

The problem looks like that UMLClassifier::getRealizations() returns a
realization from self for class ArticleWsInt, although it do not use any
realizations.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list