Skip to content

Commit

Permalink
SAK-44420 NPE when poll_option.deleted is null (sakaiproject#8657)
Browse files Browse the repository at this point in the history
  • Loading branch information
bjones86 committed Oct 6, 2020
1 parent 68d0ff8 commit fd4025f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions polls/api/src/java/org/sakaiproject/poll/hbm/Option.hbm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
<property name="Uuid" type="string" length="255" not-null="true">
<column name="OPTION_UUID" />
</property>
<property name="deleted" type="java.lang.Boolean">
<column name="DELETED" />
<property name="deleted" type="java.lang.Boolean" not-null="true">
<column name="DELETED" default="0" />
</property>
<property name="optionOrder" type="int" not-null="true">
<column name="OPTION_ORDER" />
Expand Down

0 comments on commit fd4025f

Please sign in to comment.