Invite Contact functionality is not working as expected in vendor portal

Jay143
Tera Contributor

Hello, 

We noticed during some testing that vendor contacts are not able to invite others from the vendor portal. When attempting to invite a new contact, the form will show a green "Updated" banner (see screenshot below) rather than the banners saying the contact was created and an invitation email was sent . We saw KB0727270 describing similar issues, but the resolution provided was already in place in the instance. 

We checked that contacts can be created outside the portal, the portal page is unedited, the widget is unedited and the UI action for the submit button is also unedited.

Any ideas on how to resolve this would be greatly appreciated!

 

find_real_file.png

1 ACCEPTED SOLUTION

Phil Swann
Tera Guru
Tera Guru

The green message "Updated" looks like it is coming from the action being clicked on the form widget in portal , calls the message: updated_uppercase 

(Try changing this message record and see if it changes on the portal)

This does not mean it is really updated; it just means the client script has been executed... 

 

So something on the server is blocking it, presumably, as you say.. ACLs... 

Fire up a PDI to compare to (on same version, if L is still available) 

View solution in original post

8 REPLIES 8

Phil Swann
Tera Guru
Tera Guru

I am curious what it is doing. I was going to suggest debugging but you might have an issue accessing this portal page as a non-vendor.. 

 

I will try and recreate. You are on London? what patch etc ? 

Hi Phil, 

We are on London Patch 10. In continuing to debug the issue, we noticed this error. showing in the transaction logs when a vendor contact is attempting to save the new contact record:

TimestampLevelThread nameSession IdMessage
15:20:32.117WarningDefault-thread-141A8DA91C1B0F4810ABF164207E4BCB56txid=f85883941b47 WARNING *** WARNING *** Service Portal - Unauthorized attempt to execute UI Action: 42da42d00a0a0b340066377beb6dd099 against vm_vdr_contact|79e483101b478810abf164207e4bcb87
This suggests an ACL issue, so we confirmed the vendor_contact role is also unedited. 
 
Any ideas would be greatly appreciated!
 
 

Phil Swann
Tera Guru
Tera Guru

Alex Newson at workday, primary contact:

find_real_file.png

Save:

find_real_file.png

 

Version:

glide-london-06-27-2018__patch10-08-28-2019

Phil Swann
Tera Guru
Tera Guru

The UI Action you have in the logs: 42da42d00a0a0b340066377beb6dd099 is the global Submit , condition is current.canCreate() 

 

You should have an ACL which allows create on table level: vm_vdr_contact

for role vendor_contact

and with a script that checks the current user is a primary contact:

/nav_to.do?uri=sys_security_acl.do?sys_id=b6dcac6653822200c62e8e56a11c08bb

and another for all fields .* 

there is also one for the company field on the contact table, but based on the error you need to check these first