Fixed Issuing a warning does not validate public warning banner length

Xon

Well-known member
Affected version
2.1.3
The xf_post.warning_message (and others) have a max length of 255 characters. However 'warning_message' => ['type' => self::STR, 'default' => '', 'api' => true], in XF\Entity\Post, XF\Entity\ProfilePost, XF\Entity\ProfilePostComment, XFRM\Entity\ResourceUpdate do not have a max length set in the entity.
 
Thank you for reporting this issue. It has now been resolved and we are aiming to include it in a future XF release (2.1.4).

Change log:
Apply missing maxEntity field for warning_message column in various entity classes
Any changes made as a result of this issue being resolved may not be rolled out here until later.
 
Top Bottom