I merged the existing Validations/InputFilters with the ones from the old backend and added the once i thought would be helpful.
(Maybe some parts are not up to date, i finished it at commit 05edfbf).
If you have time, grab an entity, copy the validations to a separate issue, add the validations and the tests for it and we are happy to see your PR.
ColumnLayout.php
MaterialNode.php
Done (Zusätzliche Property von Contentnode kann nicht gepatched werden)
MultiSelect.php
Done (Zusätzliche Property von Contentnode kann nicht gepatched werden)
MultiSelectOption.php
SingleText.php
Storyboard.php
Done (Zusätzliche Property von Contentnode kann nicht gepatched werden)
StoryboardSection.php
AbstractContentNodeOwner.php
Done
Activity.php
Entity
ActivityResponsible.php
Done
BaseEntity.php
#2903
Camp.php
Entity
Properties
CampCollaboration.php
Entity
Category.php
Entity
ContentNode.php
Properties
ContentType.php
Day.php
DayResponsible.php
** Done **
MaterialItem.php
MaterialList.php
Period.php
Profile.php
ScheduleEntry.php
SortableEntityInterface.php
Validations können hoffentlich in SortableEntityTrait implementiert werden
SortableEntityTrait.php
User.php
I merged the existing Validations/InputFilters with the ones from the old backend and added the once i thought would be helpful.
(Maybe some parts are not up to date, i finished it at commit 05edfbf).
If you have time, grab an entity, copy the validations to a separate issue, add the validations and the tests for it and we are happy to see your PR.
ColumnLayout.php
MaterialNode.php
Done (Zusätzliche Property von Contentnode kann nicht gepatched werden)
MultiSelect.php
Done (Zusätzliche Property von Contentnode kann nicht gepatched werden)
MultiSelectOption.php
SingleText.php
Storyboard.php
Done (Zusätzliche Property von Contentnode kann nicht gepatched werden)
StoryboardSection.php
AbstractContentNodeOwner.php
Done
Activity.php
Entity
Properties
Length >0(Default is empty string) and length <= 64ActivityResponsible.php
Done
BaseEntity.php
#2903
Camp.php
Entity
Properties
CampCollaboration.php
Entity
Properties
Category.php
Entity
Properties
ContentNode.php
Properties
ContentType.php
Day.php
DayResponsible.php
** Done **
MaterialItem.php
MaterialList.php
Period.php
Profile.php
ScheduleEntry.php
SortableEntityInterface.php
Validations können hoffentlich in SortableEntityTrait implementiert werden
SortableEntityTrait.php
User.php