-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Compiler Warnings as Errors - WordPress Module - FragmentManager #17253
Comments
Generated by 🚫 dangerJS |
Opened a pull request before assignment. Guilty as charged but can I get this one now? |
👋 @07jasjeet and thank you so much for your contribution, By the way, would you like me to assign this issue to you? 🤔 Mind the fact that there are lots of references to What I mean by that is that by adding |
Hello @ParaskP7, yes please do assign me this issue. As for the number of references, we can divide the work into multiple PRs for simplicity, in the current #19471 PR, only the deprecations mentioned here were considered and I wasn't sure if I should move forward with more changes. Since you have mentioned those as well, surely I will move forward to fix those. But in what manner (span of PRs and code sections), we can discuss. (on Slack maybe?). As for the last question, no it shouldn't. I think #19471 closes this ticket partially as well if we don't consider the scope to be limited by these analytics mentioned in the ticket. |
👋 @07jasjeet !
Done! 🌟
Awesome, and yea, I was thinking that's the case, thanks for confirming! 🙏
Great, that would help so much! 💯
Definitely, that would be ideal. I think it might be better if we discuss here, just to have everything in one place and help others refer to these discussions later on by just visiting this issue, wdty? 🤔 FYI: About the span of PRs and code sections, take a look at this #18906 issue and how I handle this kind of work to get some inspiration on how you could also use this issue to do something similar (all feedback welcome). Having said that, I would be very comfortable for you to split this work anyway you feel like, that is, after you doing some analysis on the full spectrum of what needs to be done. PS: I am also NOT against Slack if you prefer that instead.
Cool, we agree then, let's just update the PR to mention that too |
In the above mentioned example issue, the only thing I can do is link PRs to this ticket. Editing issue is an access right only available to the one who opened the issue in the first place. So, I think linking PRs is the way to go for now. I will label all the PRs as "Part-X" to maintain structure and add content to PR description on what changes did take place moving forward.
GitHub for formal discussions and slack (pinging is easy) for any dev-issue I get into. If required, I will document Slack chat here as well. Edit: Although I could mention occurrences in issue comments but that doesn't seem the best way. Let me know what you think. |
👋 @07jasjeet !
You are right, but also, actually, I was thinking of your creating a master comment instead of editing the PR description and then we use that as our go-to task list, wdyt? 🤔
👍
👍
💯 As I suggested above, I actually think that creating a master comment and updating it accordingly, just like you would have done if you had access to edit the PR discussion could work for us. Wdyt? 🤔 If you like that idea, we can try that as an experiment, see how it feels and then take it from there, continue or update the process. 😊 |
Master Task listPart-1 covers deprecations mentioned in this issue.1.
|
Reopening autoclosed issue since till we handle the pending parts #17253 (comment) |
Reopening autoclosed issue since till we handle the pending parts #17253 (comment) |
Parent #17173
This issue is about resolving the
getFragmentManager(...)
andrequireFragmentManager()
compile warnings for the WordPress module, and possibly, for the lib modules as well.PS: Some of those warnings are already deprecated (see here).
getFragmentManager(...)
method is deprecated. This has been removed in favor ofgetParentFragmentManager()
which throws anIllegalStateException
if theFragmentManager
is null. Check ifisAdded
returns false to determine if theFragmentManager
is null.requireFragmentManager(...)
method is deprecated. This has been renamed togetParentFragmentManager()
to make it clear that you are accessing theFragmentManager
that contains this Fragment and not theFragmentManager
associated with child Fragments.For more info see:
The text was updated successfully, but these errors were encountered: