derAndreas / Webdesktop

Webdesktop based on ExtJs4 and Zend Framework
32 stars 12 forks source link

ApiController missing param #4

Closed Lumbricus closed 13 years ago

Lumbricus commented 13 years ago

Today, I got your code, installed it and want to try.

When launching the Webdesktop, all works fine, but after starting any app, I got an strange error whyle loading the data. Please look at line 136 of your ApiController.php, there you don't use any variable to create a new Webdesktop_Model_Acl but the construnctor in the Acl.php needs one.

I don't know if it's right, but if I correct the line like that

    $this->acl    = new Webdesktop_Model_Acl($this->user);

all works fine for me.

Very good Work! Thanks for sharing!

derAndreas commented 13 years ago

Thanks for your feedback. I fixed this with commit 1fc6f01 Sorry, that I couldn't directly push it to GitHub, my dial-in router died. Today I pushed my last commits to github. This includes a lot of new code on the ZF part. I tested it and it seems to run without and error.