Skip to content

Commit

Permalink
Fixed issue with invald constructor generation for bean proxies
Browse files Browse the repository at this point in the history
Fixed invalid order of hook invocation when initializing application
  • Loading branch information
wagnert committed Feb 19, 2019
1 parent 70e2cea commit 80b46bf
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 3 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# Version 1.1.20

## Bugfixes

* Fixed issue with invald constructor generation for bean proxies
* Fixed invalid order of hook invocation when initializing application

## Features

* None

# Version 1.1.19

## Bugfixes
Expand Down
2 changes: 1 addition & 1 deletion ROADMAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ implemented features have a look in the CHANGELOG.md or visit our [github](https
- [x] Optimise naming directory for performance
- [x] Authentication- and Authorization services
- [ ] Extend Dependency Injection to support simple beans
- [ ] Clean-Up Manager Interfaces and Managers

## Version 1.2.x
- [ ] PHP 7
- [ ] HTTP 2
- [ ] Clean-Up Manager Interfaces and Managers
- [ ] Allow direct execution of web application as PHAR file
- [ ] Expose Stateless Session Beans as SOAP Web Service endpoint
- [ ] 100 % Coverage for PHPUnit test suite for appserver project
3 changes: 3 additions & 0 deletions UPGRADE-1.1.20.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Upgrade from 1.1.19 to 1.1.20

Updating from 1.1.19 to 1.1.20 doesn't have any impacts. Please read the apropriate UPGRADE-1.x.x files for updates from older versions to 1.1.19.
2 changes: 1 addition & 1 deletion build.default.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
;--------------------------------------------------------------------------------

; ---- Module Release Settings --------------------------------------------------
release.version = 1.1.19
release.version = 1.1.20
release.name = Iron Knight

; ---- PHPCPD Settings ----------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ echo '<?php';
namespace <?php echo $reflectionClass->getNamespaceName() ?>;

class <?php echo $this->generateRemoteProxyClassName($reflectionClass); ?> extends \AppserverIo\RemoteMethodInvocation\RemoteProxy<?php if ($reflectionClass->getInterfaceNames()) { ?> implements <?php echo $this->generateImplements($reflectionClass); } ?> {
<?php foreach ($reflectionClass->getMethods(\ReflectionMethod::IS_PUBLIC) as $reflectionMethod) { ?>public function <?php echo $reflectionMethod->getName() ?>(<?php echo $this->generateMethodSignature($reflectionMethod) ?>) {
<?php foreach ($reflectionClass->getMethods(\ReflectionMethod::IS_PUBLIC) as $reflectionMethod) { ?><?php if ($reflectionMethod->isConstructor()) { continue; } ?>public function <?php echo $reflectionMethod->getName() ?>(<?php echo $this->generateMethodSignature($reflectionMethod) ?>) {
return $this->__call('<?php echo $reflectionMethod->getName() ?>', array(<?php echo $this->generateMethodParams($reflectionMethod) ?>));
}<?php } ?>
}

0 comments on commit 80b46bf

Please sign in to comment.