-
Notifications
You must be signed in to change notification settings - Fork 510
Closed
Description
Depends on #1283
Current validation
Post fieldsare only validated the same other tasks.- Only
completestages are validated - Only enforces validation when post status = published
ie. validation is a combination of:
- Is this post published?
- Is this stage completed?
- Is this field valid?
Changes
- Required fields on "post" stage are always validated
- Required fields on tasks are only validated when it is complete?
- Update field validation logic in client: Always validate post fields, only validate task fields when completed. Post status has no impact on validation.
- API: Update post validator
- API: post status should have no impact on validation
Background:
https://github.com/ushahidi/platform-client/issues/147
#1188