Hi all,
Hoping you can help.
Background:
- We have portal contacts which may be associated with an account (re-labelled organisation).
- When the contact logs into the customer self service portal, they should be able to view their organisation's profile (some can edit)
- We have a link from the contact's profile to the org profile, implemented as an entity form.
- If the contact is associated with an org, this works fine
- If not, we get an ugly, unhelpful, error message back ("An unknown failure has occurred. Error ID # [c9c4983f-61ff-414d-bb39-fa8e78c793cd]")
It's a legitimate case that the contact may not be associated with an org. How can we display a friendly error message to the user instead?
Note:
- I have, under the Entity Form, defined a friendly message in the "Record Not Found Message" field
- We have enabled portal logging, I get two errors in the logs which both recognise that the account requested does not exist - it doesn't appear like there's something else totally unexpected going on
- From the doco I've read, I expect that when a record is not found (which error logs seem to indicate), the "Record Not Found Message" value should be served up. This doesn't appear to be how portals should normally handle this exception.
- Have tried in multiple browsers
- Portal version 9.0.12.12
What's going on?
- Am I missing something simple?
- Is the Record Not Found Message for something else entirely, and Entity Forms simply can't handle trying to retrieve records if they don't exist?
- Is this a legit bug?
- Is there a workaround?
Error log entries: