Exporte la config manquante pour field_import_fitid / field_montant_releve

update_8011() avait créé ces deux champs (entity + table SQL), mais leur
config n'avait jamais été exportée (drush cex oublié après ce travail) --
jamais commitée, donc absente de config/sync/. Sur prod, deploy.sh lance
drush updb PUIS drush config-import dans la même passe : config-import
aligne la config active sur le répertoire de sync, donc supprimait ces
deux champs (storage + instance + table SQL sous-jacente) juste après
que updb venait de les créer. D'où l'erreur "The website encountered an
unexpected error" à l'upload -- confirmé par les logs prod :
SQLSTATE[42S02]: Base table or view not found: node__field_import_fitid.

Exporte aussi core.entity_form_display/entity_view_display (référencent
désormais field_montant_releve, ajouté par update_8013/8014). Drift
connu field.field.node.ligne_comptable.field_client (réapparu à cet
export) et gin.settings (réordonnancement YAML cosmétique) exclus, sans
rapport avec ce correctif.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-10-14 10:38:31 +02:00
co-authored by Claude Sonnet 5
parent 3b9eb587ab
commit ab6a901cb1
6 changed files with 102 additions and 6 deletions
@@ -10,7 +10,9 @@ dependencies:
- field.field.node.ligne_comptable.field_ecart - field.field.node.ligne_comptable.field_ecart
- field.field.node.ligne_comptable.field_entree_liee - field.field.node.ligne_comptable.field_entree_liee
- field.field.node.ligne_comptable.field_flag - field.field.node.ligne_comptable.field_flag
- field.field.node.ligne_comptable.field_import_fitid
- field.field.node.ligne_comptable.field_montant_ht - field.field.node.ligne_comptable.field_montant_ht
- field.field.node.ligne_comptable.field_montant_releve
- field.field.node.ligne_comptable.field_montant_ttc - field.field.node.ligne_comptable.field_montant_ttc
- field.field.node.ligne_comptable.field_notes - field.field.node.ligne_comptable.field_notes
- field.field.node.ligne_comptable.field_numero_facture - field.field.node.ligne_comptable.field_numero_facture
@@ -75,7 +77,7 @@ content:
third_party_settings: { } third_party_settings: { }
field_flag: field_flag:
type: entity_reference_autocomplete_tags type: entity_reference_autocomplete_tags
weight: 12 weight: 13
region: content region: content
settings: settings:
match_operator: CONTAINS match_operator: CONTAINS
@@ -90,6 +92,13 @@ content:
settings: settings:
placeholder: '' placeholder: ''
third_party_settings: { } third_party_settings: { }
field_montant_releve:
type: number
weight: 9
region: content
settings:
placeholder: ''
third_party_settings: { }
field_montant_ttc: field_montant_ttc:
type: number type: number
weight: 8 weight: 8
@@ -99,7 +108,7 @@ content:
third_party_settings: { } third_party_settings: { }
field_notes: field_notes:
type: string_textarea type: string_textarea
weight: 11 weight: 12
region: content region: content
settings: settings:
rows: 5 rows: 5
@@ -115,7 +124,7 @@ content:
third_party_settings: { } third_party_settings: { }
field_repartition: field_repartition:
type: paragraphs type: paragraphs
weight: 10 weight: 11
region: content region: content
settings: settings:
title: Répartition title: Répartition
@@ -129,11 +138,10 @@ content:
default_paragraph_type: '' default_paragraph_type: ''
features: features:
collapse_edit_all: collapse_edit_all collapse_edit_all: collapse_edit_all
duplicate: duplicate
third_party_settings: { } third_party_settings: { }
field_tva: field_tva:
type: number type: number
weight: 9 weight: 10
region: content region: content
settings: settings:
placeholder: '' placeholder: ''
@@ -177,5 +185,6 @@ content:
third_party_settings: { } third_party_settings: { }
hidden: hidden:
field_ecart: true field_ecart: true
field_import_fitid: true
promote: true promote: true
sticky: true sticky: true
@@ -10,7 +10,9 @@ dependencies:
- field.field.node.ligne_comptable.field_ecart - field.field.node.ligne_comptable.field_ecart
- field.field.node.ligne_comptable.field_entree_liee - field.field.node.ligne_comptable.field_entree_liee
- field.field.node.ligne_comptable.field_flag - field.field.node.ligne_comptable.field_flag
- field.field.node.ligne_comptable.field_import_fitid
- field.field.node.ligne_comptable.field_montant_ht - field.field.node.ligne_comptable.field_montant_ht
- field.field.node.ligne_comptable.field_montant_releve
- field.field.node.ligne_comptable.field_montant_ttc - field.field.node.ligne_comptable.field_montant_ttc
- field.field.node.ligne_comptable.field_notes - field.field.node.ligne_comptable.field_notes
- field.field.node.ligne_comptable.field_numero_facture - field.field.node.ligne_comptable.field_numero_facture
@@ -163,4 +165,6 @@ content:
third_party_settings: { } third_party_settings: { }
weight: 100 weight: 100
region: content region: content
hidden: { } hidden:
field_import_fitid: true
field_montant_releve: true
@@ -0,0 +1,19 @@
uuid: debfc1df-4053-4f74-ab93-4203160afadf
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_import_fitid
- node.type.ligne_comptable
id: node.ligne_comptable.field_import_fitid
field_name: field_import_fitid
entity_type: node
bundle: ligne_comptable
label: 'Empreinte import relevé'
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings: { }
field_type: string
@@ -0,0 +1,23 @@
uuid: 11b90cac-9fc0-44e1-a111-79bcd2dd6509
langcode: en
status: true
dependencies:
config:
- field.storage.node.field_montant_releve
- node.type.ligne_comptable
id: node.ligne_comptable.field_montant_releve
field_name: field_montant_releve
entity_type: node
bundle: ligne_comptable
label: 'Montant relevé bancaire (€)'
description: ''
required: false
translatable: true
default_value: { }
default_value_callback: ''
settings:
min: null
max: null
prefix: ''
suffix: ''
field_type: decimal
@@ -0,0 +1,21 @@
uuid: 19bbcb6e-444b-4712-a555-a5e5fd490d59
langcode: en
status: true
dependencies:
module:
- node
id: node.field_import_fitid
field_name: field_import_fitid
entity_type: node
type: string
settings:
max_length: 64
case_sensitive: false
is_ascii: false
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false
@@ -0,0 +1,20 @@
uuid: c0866756-4213-4954-9498-f3e636ded89e
langcode: en
status: true
dependencies:
module:
- node
id: node.field_montant_releve
field_name: field_montant_releve
entity_type: node
type: decimal
settings:
precision: 12
scale: 2
module: core
locked: false
cardinality: 1
translatable: true
indexes: { }
persist_with_no_fields: false
custom_storage: false