-
Notifications
You must be signed in to change notification settings - Fork 451
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
Add the Request object to the constructor for Components #2444
Comments
…l PKPRequest object, then use this request object for other methods rather than passing it as a parameter
…n initial PKPRequest object, then use this request object for other methods rather than passing it as a parameter. ##ulsdevteam/refactor-gridcell-constructor##
Visiting
|
Looks like |
Good catch. That will be a missing change in the calling function. |
Ah-hah… you rewrote |
|
You're welcome to fix and PR into ulsdevteam's refactor-gridcell-constructor branch, if you've already got them. Otherwise, I'm almost done resetting my dev environment to be ready to start into fixes myself. |
Let me finish tracking this further upstream and see where you stand… |
…:_renderCellInternally() with GridCellProvider::render() syntax
Ugh… it’s a little more global than just the calls to |
Progress, though; with the latest commit, at
|
Where is |
It’s |
…in children with GridCellProvider::getCellActions() syntax
I think the next step (for next week) is to identify whether
|
Yeah, I think the refactoring needs to be more thorough. It’s yak-shaving time! I may work on this this afternoon, if you’re done for the week. |
Found a few lacunae to check in. Also dependencies in other repos:
|
…ation::getRequest(), for later cleanup
…KPApplication::getRequest(), for later cleanup
@crism, with your commits, I'm no longer seeing failures in the error log. Do you see any additional? @asmecher, I'm particularly curious about cases like: |
Looked through a few grids, including plugins and their settings, submissions in various states, and saw nothing in the error logs. Looks clean to me. |
I’ve also attempted to audit all the uses of |
@ctgraham, I'm not particularly concerned about where the |
… $request parameter
@ctgraham, this is going to need a dust-off and port to OMP. Are you willing & able to tackle either/both of those? I can commit to getting it merged ASAP. (I don't think it interferes with the other big merges in a major way.) |
@asmecher, rebasing shouldn't be a problem; porting to OMP will take some extra time. I presume you prefer I wait to rebase until the OMP work is done? |
I'd like to merge for OJS and OMP at the same time, in order to avoid breaking the master branch of either app. I don't really have a preference for the order. |
…t parameter Conflicts: controllers/grid/settings/user/UserGridHandler.inc.php
…n initial PKPRequest object, then use this request object for other methods rather than passing it as a parameter. ##ulsdevteam/refactor-gridcell-provider-constructor##
…n initial PKPRequest object, then use this request object for other methods rather than passing it as a parameter. ##ulsdevteam/refactor-gridcell-provider-constructor##
…n initial PKPRequest object, then use this request object for other methods rather than passing it as a parameter. ##ulsdevteam/refactor-gridcell-provider-constructor##
@ctgraham, I'm sorry if I lost sight of this! Was it ready for review/merge when you last worked with it? |
@ctgraham is this work still in progress or abandoned? I'm happy to keep this open if you think it's still going to see work. On the other hand, we will eventually move away from grids and similar components, so the cost v benefit may be waning. |
This was mired in some strange Travis testing behavior and is now to stale for me to readily pick it back up. It should be considered abandoned. |
From #1923 (comment):
This is a blocker for #1923.
The text was updated successfully, but these errors were encountered: