Skip to content

Conversation

@maskaravivek
Copy link
Contributor

Description (required)

Fixes #2045

What changes did you make and why?

Have basically added checks to ensure that the fragment UI is active.

Tests performed (required)

Unable to test as the issue is intermittent.

@maskaravivek maskaravivek deleted the nearbyCrashFix branch December 2, 2018 15:16
@misaochan
Copy link
Member

Sorry, I'm a bit confused, why was this closed?

@maskaravivek maskaravivek restored the nearbyCrashFix branch December 4, 2018 09:57
@maskaravivek maskaravivek reopened this Dec 4, 2018
@maskaravivek
Copy link
Contributor Author

@misaochan It happened by mistake. Reopened. :)

@codecov-io
Copy link

Codecov Report

Merging #2046 into 2.9-release will decrease coverage by 0.01%.
The diff coverage is 0%.

Impacted file tree graph

@@              Coverage Diff               @@
##           2.9-release   #2046      +/-   ##
==============================================
- Coverage         4.06%   4.04%   -0.02%     
==============================================
  Files              224     224              
  Lines            11309   11509     +200     
  Branches          1045    1069      +24     
==============================================
+ Hits               460     466       +6     
- Misses           10815   11009     +194     
  Partials            34      34
Impacted Files Coverage Δ
.../main/java/fr/free/nrw/commons/utils/ViewUtil.java 0% <ø> (ø) ⬆️
.../java/fr/free/nrw/commons/utils/FragmentUtils.java 0% <0%> (ø) ⬆️
...ava/fr/free/nrw/commons/nearby/NearbyFragment.java 0% <0%> (ø) ⬆️
...ons/explore/categories/SearchCategoryFragment.java 0% <0%> (ø) ⬆️
...r/free/nrw/commons/auth/AuthenticatedActivity.java 0% <0%> (ø) ⬆️
...rw/commons/explore/images/SearchImageFragment.java 0% <0%> (ø) ⬆️
...nrw/commons/notification/NotificationActivity.java 0% <0%> (ø) ⬆️
...w/commons/category/CategoryImagesListFragment.java 0% <0%> (ø) ⬆️
.../nrw/commons/category/SubCategoryListFragment.java 0% <0%> (ø) ⬆️
...n/java/fr/free/nrw/commons/utils/NetworkUtils.java 0% <0%> (ø) ⬆️
... and 5 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6391307...4b23cf6. Read the comment docs.

@misaochan misaochan merged commit 36e077f into commons-app:2.9-release Dec 5, 2018
neslihanturan pushed a commit that referenced this pull request Dec 19, 2018
* Fix memory leak due to wikidata edit listener (#2048)

* Fix bookmark crash fix (#2047)

* Fix bookmark crash fix

* Fix check for bookmark creator

* Bug fix #2042 (#2056)

* Bug fix #2042
* Added a snack with retry when api in AA fails
* Increased connection timeouts in okhttpclient builder

* added missing string resource

* Bugfix/duplicate categories (#2080)

* Increased timeout to 60 seconds

* Bug fix #1550
* filter duplicate categories

* Fix crash because of inactive fragment UI (#2046)

* Fix crash because of inactive fragment UI

* Add java docs

* Add information icon action Fiixes #2055 2.9.0: the 'i' icon in nearby doesn't do anything (#2057)

* Localisation updates from https://translatewiki.net.

* Remove unused mediawiki api dependency (#1991)

* Categories with pipe suffix (#1873)

* Bug fix issue #1826
Changes made :
-Certain category names used to show suffixed with strings prefixed with pipe '|'. Removed everything after the pipe. As per the discussion on the thread, its safe to remove everything after the pipe, including the pipe

* review suggested changes
*Code formatting
*Extracted out the index of pipe in a variable
*Added issue link in comments

* Remove libraries section from README (#1988)

* Remove libraries section from README

* Add wiki link to "libraries used" to README

* Localisation updates from https://translatewiki.net.

* Localisation updates from https://translatewiki.net.

* Use alert dialog instead of popup window, for nearby information

* Revert irrelevant changes, sorry
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.

4 participants