-
Notifications
You must be signed in to change notification settings - Fork 39
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
Users with view_others_spent_time permission gets Error 500 #78
Comments
Hi Did changing the order of the lines help? |
I didn't try it. I took the easy way out and gave the users the higher order of permission "View every project spent time". |
The same problem as aszollosi . |
Quick fix: |
Changed the line in spent_time_controller.rb that was giving the error: undefined method `order' for #Array:0x007f4694c18950 when a user with permission to "view others spent time" tries to access the Spent Time from menu.
Fix for bug #78 undefined method `order' for #Array:0x007f4694c18950
Using Redmine 3.0.4, and Spent time plugin version 3.1.2, I get the following error:
undefined method `order' for #Array:0x007f4694c18950
when a user with permission to "view others spent time" tries to access the Spent Time from menu.
The trace log:
The closest I get from searching an answer to this is: http://stackoverflow.com/questions/15730432/order-array-undefined-method-order-for-array-convert-array-into-hash
Would it help to change the order on line 25 into the suggested solution in that thread?
The text was updated successfully, but these errors were encountered: