This repository has been archived by the owner on Apr 24, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix validation in PlantingAttributeEditForm for multi-selected plants…
… and areas (#1280) This PR fixes the connetected issue #1211. The zod validator for the plant attribute form is adapted and a typo in calculating the common area/plant sizes is fixed which lead to additional trouble. <!-- Check relevant points but **please do not remove entries**. --> ## Basics <!-- These points need to be fulfilled for every PR. --> - [x] The PR is rebased with current master - [x] I added a line to [changelog.md](/doc/changelog.md) - [x] Details of what I changed are in the commit messages - [x] References to issues, e.g. `close #X`, are in the commit messages and changelog - [x] The buildserver is happy <!-- If you have any troubles fulfilling these criteria, please write about the trouble as comment in the PR. We will help you, but we cannot accept PRs that do not fulfill the basics. --> ## Checklist <!-- For documentation fixes, spell checking, and similar none of these points below need to be checked. Otherwise please check these points when getting a PR done: --> - [x] I fully described what my PR does in the documentation - [ ] I fixed all affected documentation - [ ] I fixed the introduction tour - [ ] I wrote migrations in a way that they are compatible with already present data - [ ] I fixed all affected decisions - [ ] I added automated tests or a [manual test protocol](../doc/tests/manual/protocol.md) - [ ] I added code comments, logging, and assertions as appropriate - [ ] I translated all strings visible to the user - [ ] I mentioned [every code or binary](https://github.com/ElektraInitiative/PermaplanT/blob/master/.reuse/dep5) not directly written or done by me in [reuse syntax](https://reuse.software/) - [x] I created left-over issues for things that are still to be done - [x] Code is conforming to [our Architecture](/doc/architecture) - [x] Code is conforming to [our Guidelines](/doc/guidelines) - [x] Code is consistent to [our Design Decisions](/doc/decisions) - [ ] Exceptions to any guidelines are documented ## Review <!-- Reviewers can copy&check the following to their review. Also the checklist above can be used. But also the PR creator should check these points when getting a PR done: --> - [ ] I've tested the code - [ ] I've read through the whole code - [ ] I've read through the whole documentation - [ ] I've checked conformity to guidelines - [ ] I've checked conformity to requirements - [ ] I've checked that the requirements are tested
- Loading branch information