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)
- [IMPORT][BACKEND][OCCHAB_V1] Étendre le nombre de format de date acceptée
- [GN 2.12.3] Duplication Occtax, plantage du geonature_worker si modification du config.toml avec additional_fields (et tout autre modif) HOT 4
- SAWarning et DeprecationWarning HOT 4
- Dynamic Form : button radio non séléctionné en édition HOT 1
- [FRONTEND] Transformer le graphique Synthèse en piechart
- [PDF] Default Banner
- Question : Où sont stockées les images upload avec la saisie d'une observation Occtax HOT 5
- [VALIDATION] Internal servor error pour l'accès au module validation HOT 4
- Community Rules / Gouvernance
- OCCTAX impossible de charger un lieu enregistré (à partir d'un fichier chargé en geojson contenant un multipolygone) HOT 5
- Doit-on supprimer le stockage de la version de TaxRef dans les données dans Synthèse et dans les occurrences OccTax HOT 5
- [IMPORT][FRONTEND] Afficher le nom du champ du standard SINP pour une colonne importée HOT 1
- [INSCRIPTION] L'inscription renvoie une erreur 500 HOT 6
- [OCCHAB] Missing forms
- [OCCHAB] Ajout champs pour matcher avec le standard V1 sur la saisie de données d'habitat
- OccHab en retard par rapport à OccTax, des développements prévus ? HOT 3
- Celery - SQLAlchemy : problème de fermeture de session HOT 1
- Question Validation - Statut Certain - très probable HOT 2
- Paramêtrage champs additionnels html HOT 4
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.