we're develop react based webapp for this module serviceDeskPortalRequestCreatePropertyPanels
onSubmit: Connect addon timed out while serializing request information for request-type-id: 11
but with the react app, seems serialize object always has this time out error.
How can I fix this.
@Gary_Zhang Each addon that is rendered in the create request screen expects you to have added a validation listener that reacts when called after the 'send' button is clicked. When your your listener code is called the atlassian code waits for the addon to call requestProperties.validate(<true | false>). In fact, it waits for all addons that were rendered on that screen to call that validate() method. If any don't do it with in a second or so, the screen fires that timeout error you are getting.
If you have only one addon, make sure you've registered this listener and that it calls validate() after submit. If you have more than one addon, you'll have to make sure they all result in the validate() method being called.
Also, you can't do any heavyweight calculations or network calls in these listeners because the timeout value the set is very small.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events