<p></p>
<blockquote>
<p dir="auto">So how can <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="373253610" data-permission-text="Title is private" data-url="https://github.com/openstreetmap/openstreetmap-website/issues/2033" data-hovercard-type="issue" data-hovercard-url="/openstreetmap/openstreetmap-website/issues/2033/hovercard" href="https://github.com/openstreetmap/openstreetmap-website/issues/2033">#2033</a> happen then? How are the validations being bypassed?</p>
</blockquote>
<p dir="auto">Validations were added on November 6th 2018, while the issue was raised on October, I've checked and confirmed that even without the NOT NULL constraint we wont be able to create a redaction with empty title or description unless someone tries to create one through console, Since this is an very old issue (approx 5yrs) we can avoid adding the NOT NULL constraints (because Rails will handle that for us) and just update the test cases only.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/4566#issuecomment-1984255838">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLKVRDS3LSM774SIW2DYXC4PNAVCNFSM6AAAAABELQ2HHKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBUGI2TKOBTHA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLNT7D47M3B3XKQHDG3YXC4PNA5CNFSM6AAAAABELQ2HHKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTWIVLV4.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/4566/c1984255838</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/4566#issuecomment-1984255838",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/4566#issuecomment-1984255838",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>