Commit a910ca1
committed
Prevent
Currently, `Move()` is called during `Save()` if the `ParentId` has changed prior to the last `Save()` or `Load()`. This is a reasonable assumption for existing topics. For new topics, however, it leads to a `Topic` being moved in the database even though that `Topic` doesn't yet exist. To mitigate this, put in an exception to check the status of the topic.Move() on new Topic
1 parent 2ab0e8b commit a910ca1
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
| 181 | + | |
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| |||
0 commit comments