I have a quota set to the default at 1 site per user, but when I try to edit the site node I get the following error:

has reached their site quota of 1. No new sites can be added unless an existing site is deleted or the site quota is increased.

I think this is because hosting_site_validate() checks the quota whether the node is being edited or not. This patch changes that to execute the quota check only on new nodes.

CommentFileSizeAuthor
#1 hosting_1003666.patch694 byteshadsie
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hadsie’s picture

FileSize
694 bytes
hadsie’s picture

p.s. I realize that this patch isn't against git, I'm just not totally sure how to change my workflow to use the hosting git repo in my dev environment

Anonymous’s picture

Status: Needs review » Fixed

Makes sense and patch works!

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit 7527804 on 6.x-2.x, 7.x-3.x, dev-ssl-ip-allocation-refactor, dev-sni, dev-helmo-3.x by mig5:
    #1003666 by hadsie - fix to allow editing existing site nodes even if...

  • Commit 7527804 on 6.x-2.x, 7.x-3.x, dev-ssl-ip-allocation-refactor, dev-sni, dev-helmo-3.x by mig5:
    #1003666 by hadsie - fix to allow editing existing site nodes even if...