Customer Portal

Get Involved. Join the Conversation.

Topic

    Raghavendra Karanth
    Unable to update Incident custom object after upgrade to 3.7
    Topic posted June 6, 2019 by Raghavendra Karanth 
    29 Views
    Title:
    Unable to update Incident custom object after upgrade to 3.7
    Summary:
    Unable to update Incident custom object after upgrade to 3.7
    Content:

    We have a menu type custom object inside form of ask.php. <rn:widget path="input/SelectionInput" name="Incident.CustomFields.<package>.<objectName>" />. When we submit this form using the standard method "input/FormSubmit", we receive an error

    " Uncaught exception 'RightNow\Connect\v1_2\ConnectAPIError' with message 'Invalid key: Invalid key 'Incident.CustomFields.<package>.<objectName>' found in list of key value item list' in scripts/cp/core/framework/3.7.3/Models/Incident.php:315"

    1. I have verified that the name of custom object is correct by checking under Framework --> Business Objects -> Incident. I was able to save the form with same code in ver: 3.2

    2. If I create a custom field and try to save the form using "Incident.CustomFields.c.<customFieldName>" the form saves without any error.

    Can someone please guide me as to what could have changed between framework versions and what I would be required to save this custom business object.

     

    Version:
    3.7.3