Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.0.11 #11742

Merged
merged 76 commits into from
May 4, 2016
Merged

2.0.11 #11742

merged 76 commits into from
May 4, 2016

Conversation

andresgutierrez
Copy link
Contributor

No description provided.

rianorie and others added 30 commits November 28, 2015 13:27
Using ```is_callable``` we can overload ```__call``` on Controllers, and catch generic action methods on controllers.

Use case:
Errors controllers where we want to define generic error actions
CMS where we want to use __call to check for the content instead using a beforeException as a plugin
etc...
Adds a prepareSave event to model saving.
Update documentation in phalcon/mvc/model/metadata/redis.zep
Retrieving ondelete and onupdate key constraints in the MySQL adapter
Dispatcher does not set last handler
…dd unit tests to verify the default log level is applied across multiple logs.
[2.0.x] setLogLevel method to Multiple Logger
[2.0.x] Issue #11286 - Model property visibility and setter functionality
Fexed Gettext::prepareOptions visiblity

If currentColumn is missing use column parametr.

prevent:

ERROR: RuntimeException Object
(
    [message:protected] => Trying to call method getname on a non-object
...
)
sergeyklay and others added 29 commits March 7, 2016 23:48
Removed _processed property from Annotations Router
Removed unnecessary gc from Mongo cache.
Use is_callable instead of method_exists on Dispatcher
Fixed Mvc\Model\Transaction::isManaged()
Fixed incorrect detection of column type with enums (fixes #11505)
The fetchOne method used in the model.zep in the model's exists method
returns an object if the pdo connection has a default return type set
to object.

The model exists method expects the return to be an associative array.
If the model get an object in the altered method it will throw a notice
and assume the row does not yet exit.  It will later on atempt an
instert when a update is actually needed.

This fix insures that the model always gets an associative array in the
exists method.
ModelsManager::getHasOneAndHasMany() always returns an array.
Fix Phalcon\Mvc\View\Engine\Volt::callMacro
[2.0.x] Fix undefined method call ::getConnectionService
params and matches are bind to each route, they should not suvive a loop, which may interfere in next loop
Reset variables(params and matches) between loops in Router::handle()
@andresgutierrez andresgutierrez merged commit 1d8b41e into master May 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.