Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Using hosting_quota, the quota appears to total number of site nodes, rather than the sites provisioned, for a client.
To replicate this bug, create a client with a quota, then create a site. Disable and then delete the site using the hosting interface (not via content management). On the client view, the quota will still show one site used, even though the client doesn't have any sites. Now, delete the site node, and the quota will calculate properly.
Comment | File | Size | Author |
---|---|---|---|
#2 | hosting-site-usage-query-898732-2.patch | 1.01 KB | sfyn |
Comments
Comment #1
sfyn CreditAttribution: sfyn commentedThis just requires an adjustment to the hosting_site quota implementation. I will hop right to it.
Comment #2
sfyn CreditAttribution: sfyn commentedHere's a patch for this issue. It counts disabled sites against the quota but not deleted sites.
Comment #3
sfyn CreditAttribution: sfyn commentedWe just pushed this to HEAD on git.aegirproject.org. Yay!