Clone warning box on new Group + Site Creation
See attached screencast, going through the new Group + Site workflow today I noticed that at the end of the Site creation screen was the yellow warning box about cloned content, even though I wasn't cloning anything (indeed, I was helping a brand-new user, who had never been an admin or creator of a group or site previously).
Also, why on the Site step didn't I have the Site Layout section to apply a Teaching or other template?
#2 Updated by Boone Gorges 9 months ago
- Category name set to Group cloning
- Target version set to 1.18.5
Both of these issues sound like they might have a root cause: something in the group creation process is being fooled into thinking that there's a clone taking place, when in fact there is none. (The Layout section doesn't appear if you're cloning.) Jeremy, could you please try to reproduce this and let us know what you think?
#4 Updated by Jeremy Felt 8 months ago
I was helping a brand-new user, who had never been an admin or creator of a group or site previously
This was the key. I had written some buggy logic that showed a specific interface to users who were already administrators of existing sites, but failed to better account for users who were brand-new.
The fix in https://github.com/cuny-academic-commons/cac/pull/9 ensures the cloning related UI bits don't show up when a clone isn't possible.
#6 Updated by Colin McDonald 8 months ago
Thanks all! I think it would take some doing for me to test on cdev, as I'd need a fresh cdev account allowing for the new logic for new users that Jeremy mentions. Right? I can trust that we've got it, unless it isn't a big deal to get me a burner fresh cdev account.