[BO - signalement] Création d'un désordre par erreur si superficie non définie #2208
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ticket
#2207
Description
Sur un signalement fait pas un tiers, la superficie n'est pas obligatoire. Si c'est une pièce unique, on a le désordre suivant par erreur
![image](https://private-user-images.githubusercontent.com/33071753/301877970-1432b7e2-e9da-4901-9fec-0352445954dc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA2MjEzOTMsIm5iZiI6MTcyMDYyMTA5MywicGF0aCI6Ii8zMzA3MTc1My8zMDE4Nzc5NzAtMTQzMmI3ZTItZTlkYS00OTAxLTlmZWMtMDM1MjQ0NTk1NGRjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzEwVDE0MTgxM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFhNzY2ZTgyZDZjYzRmNDNhMzk5NmU2NTRhMmE1M2QwODAzMDM4YzE2NWUzZjVmOWViMGQ5ZjI3YzcwYTg3YjImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.SDlfavEm-AkrsABuyjyB09kO2Mi_WqI82MEXZM0EDV8)
"La superficie du logement < 9m"
et du coup, les scores et qualifs qui vont avec.
Dans le calcul des désordres liés à la composition du logement, vérifier que la superficie est bien définie.
DesordreCompositionLogementLoader->load() ligne 51
Changements apportés
Pré-requis
Tests
La superficie du logement < 9m
n'existe pas