-
Notifications
You must be signed in to change notification settings - Fork 76
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
Synchro mobile : Problème de pictogramme sur les thèmes #3814
Labels
Comments
babastienne
changed the title
Problème de pictogramme sur les thèmes
Synchro mobile : Problème de pictogramme sur les thèmes
Oct 30, 2023
La première approche a été validé en réu. |
justinefricou
pushed a commit
that referenced
this issue
Apr 2, 2024
justinefricou
pushed a commit
that referenced
this issue
Apr 2, 2024
justinefricou
pushed a commit
that referenced
this issue
Apr 2, 2024
justinefricou
pushed a commit
that referenced
this issue
Apr 2, 2024
11 tasks
submarcos
added a commit
that referenced
this issue
Apr 3, 2024
…_on_themes Fix mobile sync when no picto on themes (fixes #3814)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Il arrive que la synchro-mobile soit en échec lors que des thèmes n'ont pas de pictogramme associés.
Après analyse, il s'avère que certains parsers semblent avoir créés automatiquement des thèmes sans pictogramme.
Deux approches possible :
Première approche
Dans cette méthode :
Geotrek-admin/geotrek/api/mobile/serializers/common.py
Lines 144 to 146 in 6cf5f1f
Rajouter un check pour savoir si un pictogramme est présent (évite à la synchro de casser)
Seconde approche
Empêcher avec les parseurs de créer un thème sans pictogramme (mais dans ce cas quel pictogramme utiliser par défaut ?)
A noter:
Geotrek-admin/geotrek/api/mobile/serializers/common.py
Lines 105 to 108 in 6cf5f1f
The text was updated successfully, but these errors were encountered: