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

Cache type display incorrect #2130

Open
TermiteHunter opened this issue Oct 26, 2019 · 3 comments
Open

Cache type display incorrect #2130

TermiteHunter opened this issue Oct 26, 2019 · 3 comments

Comments

@TermiteHunter
Copy link

Noted by a user on OCUS / OCNA

Moving caches are showing "PODCACHE" in the cache type section below coordinates.

The icon appears next to name appears as moving or podcache
https://www.opencaching.us/viewcache.php?cacheid=2331 -shows podcache
https://www.opencaching.us/viewcache.php?cacheid=2760 -shows moving

Podcache was demoted to attribute during upgrade to OCNA

@kojoty
Copy link
Member

kojoty commented Mar 3, 2021

@TermiteHunter
I assume this is still an issue - right?
This is probably some mismatch between OCNA DB and OC code - do we have the same cache type numbers?

We have types here:
https://github.com/opencaching/opencaching-pl/blob/master/src/Models/GeoCache/GeoCacheCommons.php#L14

const TYPE_OTHERTYPE = 1;
const TYPE_TRADITIONAL = 2;
const TYPE_MULTICACHE = 3;
const TYPE_VIRTUAL = 4;
const TYPE_WEBCAM = 5;
const TYPE_EVENT = 6;
const TYPE_QUIZ = 7;
const TYPE_MOVING = 8;
const TYPE_GEOPATHFINAL = 9;    //TODO: old -podcast- type?
const TYPE_OWNCACHE = 10;

I assume OCNA DB have moving cache as type "9" not "8"
@andrixnet can you help here?

@andrixnet
Copy link
Contributor

This is an outstanding problem, still hanging since my proposal for cache types rework.
Please see here my documentation: https://wiki.opencaching.eu/index.php?title=Cache_types

Please review my work here: #2087

@andrixnet
Copy link
Contributor

Please contact me directly about anything specific I can help with at this stage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants