Skip to content

Fix 642#648

Merged
erdgeist merged 4 commits intofrab:masterfrom
elad-eyal:fix_642
Nov 16, 2019
Merged

Fix 642#648
erdgeist merged 4 commits intofrab:masterfrom
elad-eyal:fix_642

Conversation

@elad-eyal
Copy link
Collaborator

@elad-eyal elad-eyal commented Nov 15, 2019

Addresses #642

  1. Fix exception in the welcome page, if there's a conference with start_date or end_date = null.

  2. Fix silenced exception if conference start_date and end_date calculation

  3. Add an integration test which created a conference, exports it, imports it to a new name, and compares the new and old copies. This test fails without the other fixes in this PR.

  4. frab:conference_import worked by disabling many callbacks, but never enabled them back. This caused tests to fail (because necessary callbacks were disabled). Now the import will re-eanble the callbacks it disables.

pluck(:start_date).min raises an exception when any of its inputs are
null. maximum() do the comarison in the database which ignores nulls.
Exceptions in after_commit hook are ignored and this caused the
conference import to not update correctly.
@erdgeist erdgeist merged commit 38befb9 into frab:master Nov 16, 2019
@erdgeist
Copy link
Contributor

Thank you!

@elad-eyal elad-eyal deleted the fix_642 branch November 17, 2019 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants