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

Fix bulk move of issues and replace cakeError to Exceptions #280

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Fix bulk move of issues and replace cakeError to Exceptions #280

wants to merge 4 commits into from

Conversation

yaras
Copy link

@yaras yaras commented Mar 31, 2016

Request for bulk move contains "ids" query parameter, so code finding
issue ids should also scan this parameter.

This fixes #279


Replace cakeError method with throwing Exceptions.

Since version 2.0 of CakePHP using cakeError() should be replaced with
throwing Exceptions (http://book.cakephp.org/2.0/en/development/errors.html).

List of available exceptions:
http://book.cakephp.org/2.0/en/development/exceptions.html#built-in-exceptions-for-cakephp

This fixes #278

yaras added 2 commits March 31, 2016 19:19
Since version 2.0 of CakePHP using cakeError() should be replaced with
throwing Exceptions (http://book.cakephp.org/2.0/en/development/errors.html).

List of available exceptions:
http://book.cakephp.org/2.0/en/development/exceptions.html#built-in-exceptions-for-cakephp

This fixes: #278
Request for bulk move contains "ids" query parameter, so code finding
issue ids should also scan this parameter.

This fixes #279
@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) to 47.137% when pulling dd33072 on yaras:feature/issue-278-279 into 8814533 on yandod:master.

yaras added 2 commits April 1, 2016 16:53
Move.ctp should not provide issue_id param as it can handle multiple
issues at once. All issues are already included as hidden inputs in form.

(cherry picked from commit 3d056a6ba79f9e96e9d81e4bcc472902f5ebdc0f)
Tracker field should not be required as user can select "No change" which
is treated as none and blocks form submit

(cherry picked from commit 6dd815f1dc2d28587e70be34bd4fdffa6b48d72c)
@coveralls
Copy link

Coverage Status

Coverage increased (+0.03%) to 47.137% when pulling d6e0274 on yaras:feature/issue-278-279 into 8814533 on yandod:master.

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.

Bulk move is not working Invalid use of Object::cakeError() in a couple of places
2 participants