Skip to content
This repository

Group ACL update breaks if the group ACL hasn't been set correctly (Trac #2412) #2412

Closed
elgg-gitbot opened this Issue February 16, 2013 · 2 comments

1 participant

elgg-gitbot
elgg-gitbot
Owner

Original ticket http://trac.elgg.org/ticket/2412 on 40639976-01-16 by brettp, assigned to unknown.

Elgg version: 1.7

If the group ACL hasn't been set, code upgrade 2010062301 throws a DB exception. I ran into this when testing 1.7.2 with community's database. The easiest solution is to check that the group ACL is valid before assigning the owner. If it doesn't exist, create it and then let 2010062302 handle assigning group owners.

elgg-gitbot
Owner

cash wrote on 40646011-08-09

[svn:6857] should fix this. I going ahead and running the query and catching the exception if it doesn't work. In the catch code, I create the acl and reset the group_acl metadata. I'll leave it for Brett to test and close on the community site clone.

elgg-gitbot
Owner

brettp wrote on 40649502-01-10

Cash - Thanks for taking care of this. Confirmed that it's working on the community DB.

elgg-gitbot elgg-gitbot closed this February 16, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.