You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To move a Category object from the parent to the new parent, the category should be discarded from the parent and added to the new parent. But when a category is deleted from the parent and added to the new parent, the created_at attribute is overwritten with the newer time than the deleted_at, and as a result, the category exists in both two parents. The converse situation is also true.
Here is a regression test.
To work around this, I have to save the SubscriptionList to the stage after deleting the category from the parent, reread the SubscriptionList, and add the category to the new parent.
The text was updated successfully, but these errors were encountered:
To move a
Category
object from the parent to the new parent, the category should be discarded from the parent and added to the new parent. But when a category is deleted from the parent and added to the new parent, thecreated_at
attribute is overwritten with the newer time than thedeleted_at
, and as a result, the category exists in both two parents. The converse situation is also true.Here is a regression test.
To work around this, I have to save the
SubscriptionList
to the stage after deleting the category from the parent, reread theSubscriptionList
, and add the category to the new parent.The text was updated successfully, but these errors were encountered: