Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

Upgrade hook infinite loop when no memberships #455

Closed
xurizaemon opened this issue Dec 24, 2018 · 1 comment
Closed

Upgrade hook infinite loop when no memberships #455

xurizaemon opened this issue Dec 24, 2018 · 1 comment

Comments

@xurizaemon
Copy link
Contributor

In the case where og_upgrade_8001() finds no memberships, it gets stuck in a loop outputting -

 [warning] Division by zero og.install:71
 [notice] Processed 0 of 0 memberships (nan% complete)
 [notice] Update started: og_update_8001
 [warning] Division by zero og.install:71
 [notice] Processed 0 of 0 memberships (nan% complete)
 [notice] Update started: og_update_8001
 [warning] Division by zero og.install:71
 [notice] Processed 0 of 0 memberships (nan% complete)
 [notice] Update started: og_update_8001
xurizaemon added a commit to xurizaemon/og that referenced this issue Dec 24, 2018
amitaibu added a commit that referenced this issue Dec 24, 2018
…mberships

Issue #455 - Early exit if no memberships to process
@xurizaemon
Copy link
Contributor Author

Resolved in above commit

DiDebru pushed a commit to ueberbit/og that referenced this issue Apr 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant