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

List count not correct #8621

Open
geocachermgo opened this issue Jul 12, 2020 · 9 comments
Open

List count not correct #8621

geocachermgo opened this issue Jul 12, 2020 · 9 comments
Labels
Bug Issues classified as a bug Unverified Issue not yet confirmed/reproduced or feature requests not yet checked for plausibility

Comments

@geocachermgo
Copy link

geocachermgo commented Jul 12, 2020

Screenshot_2020-07-12-22-49-20-587_cgeo geocaching
Screenshot_2020-07-12-22-49-31-679_cgeo geocaching

Describe the bug:
A cache is incorrectly shown a member of an empty list.

I had a cache stored in the list "ReiseLog" and removed it from that list.

Afterwards it was still shown as in this list, despite the list being empty. (Screenshot 1)
After click on the pencil button it showed Screenshot 2, confirming "ReiseLog" having 0 caches.

Actual behavior/state after performing these steps:
Describe the actual issue/problem/behavior in detail.

Version of c:geo used:

Is the problem reproducible:
After opening the empty list and going back to the cache, the problem was not there any more.

Screenshots:
You may attach screenshots if applicable and helpful to explain your problem

System information:

--- System information ---
Device: MI 8 (dipper, Xiaomi)
Android version: 10
Android build: QKQ1.190828.002 test-keys
c:geo version: 2020.07.12-NB-95a79ba
Google Play services: disabled - 20.24.14 (120400-319035315)
Low power mode: active
Compass capabilities: yes
Rotation vector sensor: present
Orientation sensor: present
Magnetometer & Accelerometer sensor: present
Direction sensor used: rotation vector
Hide caches: own/found 
Hide waypoints: -
HW acceleration: enabled (default state)
System language: de_DE
System date format: dd.MM.yy
Debug mode active: no
System internal c:geo dir: /data/user/0/cgeo.geocaching (91,0 GB free) internal
User storage c:geo dir: /storage/emulated/0/cgeo (91,0 GB free) external non-removable
Geocache data: /storage/emulated/0/Android/data/cgeo.geocaching/files/GeocacheData (91,0 GB free) external non-removable
Database: /data/user/0/cgeo.geocaching/databases/data (10,0 MB) on system internal storage
Fine location permission: granted
Write external storage permission: granted
Geocaching sites enabled:
   geocaching.com: Logged in (Anmeldung OK) / PREMIUM
Geocaching.com date format: MM/dd/yyyy
Installed c:geo plugins:  none
--- End of system information ---

Additional context:
e.g. Reference to other issues, projects, sources, etc.

@geocachermgo geocachermgo added Bug Issues classified as a bug Unverified Issue not yet confirmed/reproduced or feature requests not yet checked for plausibility labels Jul 12, 2020
@Lineflyer
Copy link
Member

You forgot the screenshots.
I assume this could be a refresh problem after modifying the list.

@geocachermgo
Copy link
Author

I added screenshots yesterday but it seems that it did not work.

@Lineflyer
Copy link
Member

Thanks.
Can you provide a step-by-step instruction how to reproduce this (e.g. which function did you use to remove the cache from the list)?

@geocachermgo
Copy link
Author

geocachermgo commented Jul 13, 2020

  1. Create an list with one cache (in my example: "ReiseLog") and a list with some caches including (in my example "Germersheim") the one cache
  2. Open Cache (Screenshot 1)
  3. Click at one cache list "ReiseLog"
  4. Menu, Caches verwalten, Alle verschieben, "Germersheim"
  5. Report appears "List is empty, delete" ==> Abort
  6. top left corner: back arrow
    Cache is shown again.
    Both lists are still mentioned. This is a bug
  7. Tap on pencil (Screenshot 2)
    Empty list is marked with 0 elements but hook at empty list is set

@Lineflyer
Copy link
Member

Thanks.
I guess the "trigger point" is, that you accessed the lists from their link inside of a cache, where we miss to update the list information when coming back to cache details page.

@geocachermgo
Copy link
Author

So is this a known bug?

@Lineflyer
Copy link
Member

No, just my guess which need to be investigated by someone who is not just guessing. ;)

@Lineflyer
Copy link
Member

Assigning myself for a retest using the given scenario above.

@Lineflyer Lineflyer self-assigned this Dec 26, 2021
@geocachermgo
Copy link
Author

Checked it with 2021.12.21-NB-944fcba. Bug is still present.

@Lineflyer Lineflyer removed their assignment Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Issues classified as a bug Unverified Issue not yet confirmed/reproduced or feature requests not yet checked for plausibility
Projects
None yet
Development

No branches or pull requests

2 participants