- Issue created by @xjm
- πΊπΈUnited States xjm
I tried adding a field to the user contact form (it shows up as having none; I guess the others are base fields rather than configurable?) but that did not have any effect on the bug.
- πΊπΈUnited States xjm
The contact form administration page also has a "Manage permissions" operation, which gives "No permissions found" for any form I create. Not sure if this is an extension point or what.
- πΊπΈUnited States xjm
I tried granting the user 2 admin permissions, and it could still see admin's contact form.
Except then I created a third user, and user 2 got a 404 for user 3's contact form.
I cleared browser cache, tried a different browser, etc.
- πΊπΈUnited States xjm
Oh, and just for completeness' sake: I granted anonymous access to these also remember, as per IS. Anonymous can see user 1's contact form, but gets a 404 for user 2's and user 3's.
- πΊπΈUnited States xjm
So this was caused by the fact that the user was created by admin without an email address. So of course the user's contact form wouldn't work, and I suppose a 404 is a logical choice in that circumstance. But it says on their profile that their contact form is enabled, which is confusing. It would make more sense to tell them that their contact form won't work because they don't have an email address set (and to tell the admin this when creating them without an email address).
The contact tab being displayed to the admin on the user edit form when the email address is not set, only to show a 404, is also a buggy behavior. For an admin, it should just tell them the user doesn't have an email.
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
Pretty sure this was added recently and is by design, will try and find the issue tomorrow.
- π¦πΊAustralia larowlan π¦πΊπ.au GMT+10
10 years ago
This is works as designed for me