Comments (2)
OK, alors il y avait eu des premières discussions sur le sujet ici : #2339
Dans la 1.12.0 de TaxHub d'aout 2023, on a basculé la gestion de la version de Taxref au niveau du schéma taxonomie
où cela a bien plus de sens et est mis à jour automatiquement quand on met à jour Taxref : PnX-SI/TaxHub#394
Suite à cela il était souhaité de supprimer le paramètre gn_commons.t_parameters.taxref_version
, qui n'est plus utile, redondante et était rarement à jour.
Faut-il aussi supprimer les champs meta_v_taxref
dans la foulée ? A priori oui, en suivant les indications de la dernière version du référentiel SINP Occurrences de taxons.
from geonature.
En attendant qu'une décision soit prise sur ce champ meta_v_taxref
, j'ai temporairement corrigé mon instance ainsi
-- correction version taxref dans gn_commons.t_parameters
UPDATE gn_commons.t_parameters
SET parameter_value='Taxref V17.0'
WHERE parameter_name= 'taxref_version';
-- correction de la valeur par défaut pour un taxon saisi dans occtax
ALTER TABLE pr_occtax.t_occurrences_occtax ALTER COLUMN meta_v_taxref
SET DEFAULT gn_commons.get_default_parameter('taxref_version', NULL);
-- mise à jour des saisies occtax (à exécuter de temps à autres, ou alors écrire un trigger sur insertion).
update pr_occtax.t_occurrences_occtax
set meta_v_taxref = DEFAULT
where meta_v_taxref is null;
-- la synthèse est mise à jour automatiquement.
from geonature.
Related Issues (20)
- FESP_FRONTEND_4 - Ajout d'un picto illustrant le groupe taxonomique HOT 9
- FESP_FRONTEND_1 - Passage sur le frontend de la fiche espèce HOT 17
- A_DISC_1 - [HOME][DISCUSSIONS] Ajout d'une section "Dernières discussion" HOT 7
- [OCCTAX] - dénombrement qui switch d'occurrence
- Tooltip des ng-select qui ne disparaissent pas HOT 2
- modifier l'ordre des actions de migration
- [OCCTAX] - Recherche par observateur dans la liste d'accueil HOT 1
- Associations nomenclatures / groupes INPN non prises en compte dans les champs additionnels HOT 2
- [SYNTHESE][FRONTEND] Evolution / amélioration du routing frontend pour l'information d'une observation HOT 6
- [OCCTAX - ERROR 500] api gn_profiles/check_observation HOT 1
- [Validation] sélection des champs à afficher HOT 3
- Usage de cor_dataset_protocol? HOT 1
- [profils taxons] prise en compte statut bio HOT 1
- Lint Backend
- [Validation] erreur mineure dans un commentaire de default_config.toml.example pour le choix des champs à afficher HOT 2
- [HOME] Statistiques générales sur la HOME et permissions HOT 1
- [Profils d'espèces] - Les paramètres en type integer ne sont pas adaptés aux projections non métriques HOT 8
- [map] Erreur affichage ref_geo.l_areas sur cartes leaflet / params = {limit = xxxx} HOT 10
- [Manuel Administrateur] 1 nom de table et 1 no erronés HOT 1
- Erreur 500 quand on accède à l'admin sans être connecté
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from geonature.