Hi,
I have been working with Tommy from Shotgun about an issue we uncovered. Here is the email record of it below.
Please read from bottom to top to understand it and let me know if you need any information from me?
I also did a search and replace of @ with at just in case…
Thank you.
-------- Forwarded Message --------
Subject: [Shotgun Support] [#33748] Re: Help, create failed (reason_code 6): Invalid field value, update failed [ 5 - Update failed for [Task.sg_s…
Date: Wed, 17 Dec 2014 17:54:06 -0500
From: Tommy (Shotgun Support) <support_at_shotgunsoftware.zendesk.com>
Reply-To: Shotgun Support <support+id33748_at_shotgunsoftware.zendesk.com>
To: Rob Aitchison <rob_at_awesometownent.ca>
-Reply above this line-
Tommy
Tommy (Shotgun Support)
Dec 17 05:54 PM
Hey Rob, thanks very much for the screencast! It looks like the New Task command in the Deadline integration is setting the Task status to RDY via the URL they use to launch the new Task page. I can’t quite see the full URL of the browser window that opens, but I suspect there’s a token in there setting the status to RDY.
This code is actually maintained by the folks that make Deadline - would you mind submitting a support ticket to them to highlight the issue? Feel free to copy me on it and I can advise further as to the fix - tommy_at_shotgunsoftware.com.
In the mean time, here are a couple of possible workarounds:
- Can set the status to a valid entry before submitting the New Task form, as you mentioned.
- Can add RDY (Ready to Start) as an option in your Task Status field. If no one uses this status, it will clutter up the options here, so I wouldn’t recommend that if it’s not useful to you. But if it’s worth saving the hassle of switching that status every time, might be worth it.
Cheers,
-Tommy
Tommy Kiser
Shotgun Software
tommy_at_shotgunsoftware.com
blog.shotgunsoftware.com/
Twitter: _at_shotgunsoftware and _at_shotgunsupport
Join the Developer List: goo.gl/fuJNt
Ticket #33748: Help, create failed (reason_code 6): Invalid field value, update failed [ 5 - Update failed for [Task.sg_s…
Requester: Rob Aitchison
CCs:
Organization: Awesometown Entertainment
Assignee: Tommy
Status: sgs:awaiting_client_response
View the complete details of your request at: support.shotgunsoftware.com/requests/33748
To update this ticket with a reply, or attachments
- Reply to this email (make sure your comment is above the email body)
- Add screenshots or file attachments if necessary (they’ll be included as links in these email notifications)
- You can add people in the CC list (they’ll be included in future ticket updates)
Tommy
Tommy (Shotgun Support)
Dec 17 05:54 PM
Hey Rob, thanks very much for the screencast! It looks like the New Task command in the Deadline integration is setting the Task status to RDY via the URL they use to launch the new Task page. I can’t quite see the full URL of the browser window that opens, but I suspect there’s a token in there setting the status to RDY.
This code is actually maintained by the folks that make Deadline - would you mind submitting a support ticket to them to highlight the issue? Feel free to copy me on it and I can advise further as to the fix - tommy_at_shotgunsoftware.com.
In the mean time, here are a couple of possible workarounds:
- Can set the status to a valid entry before submitting the New Task form, as you mentioned.
- Can add RDY (Ready to Start) as an option in your Task Status field. If no one uses this status, it will clutter up the options here, so I wouldn’t recommend that if it’s not useful to you. But if it’s worth saving the hassle of switching that status every time, might be worth it.
Cheers,
-Tommy
Tommy Kiser
Shotgun Software
tommy_at_shotgunsoftware.com
blog.shotgunsoftware.com/
Twitter: _at_shotgunsoftware and _at_shotgunsupport
Join the Developer List: goo.gl/fuJNt
Rob Aitchi
Rob Aitchison
Dec 17 08:16 AM
Hey Tommy,
I captured a muted screencast for you - it seems the form has a pre-populated value of ‘rdy’ in the Status field when I initially launch it. As you see, if I do not touch it, it errors.
If I go and change that value, it submits properly - tested that after the screencast.
It is even in the URL called when I click the “New Task” button in Deadline :
awesometown.shotgunstudio.com/n … &defaults={%22sg_status_list%22:%22rdy%22}
Hope this helps, let me know if you would like anything else?
Thanks!
Screencast 1
Tommy
Tommy (Shotgun Support)
Dec 16 06:58 PM
Are you getting this error when the Task creation form is launched, or when you click submit? If it’s at submission time, can you give me an example (screenshot would be awesome) of the values you are filling out on the form?
Thanks,
-Tommy
Tommy Kiser
Shotgun Software
tommy_at_shotgunsoftware.com
blog.shotgunsoftware.com/
Twitter: _at_shotgunsoftware and _at_shotgunsupport
Join the Developer List: goo.gl/fuJNt
Rob Aitchi
Rob Aitchison
Dec 16 01:36 PM
Hi Tommy,
No, I do not know where, sorry.
Let me know if you need more help or info from me?
Thanks.
Tommy
Tommy (Shotgun Support)
Dec 16 12:10 PM
Hey Rob. From looking at the production log, it looks as though the Task was created with a status of ‘rdy’ (Ready to Start), but that’s not in the list of valid status options for Tasks. Though I’m not sure how that status would have been accepted by the form if it’s not in the list.
Any idea where that status setting would have come from?
Cheers,
-Tommy
Tommy Kiser
Shotgun Software
tommy_at_shotgunsoftware.com
blog.shotgunsoftware.com/
Twitter: _at_shotgunsoftware and _at_shotgunsupport
Join the Developer List: goo.gl/fuJNt
Rob Aitchi
Rob Aitchison
Dec 16 10:59 AM
Please tell us a little about what happened prior to the error:
I am trying to configure my Deadline connection to Shotgun and got this
error after trying to use a Create New Task browser page spawned from
the Deadline + -> Create New Task button
Here’s the info from the bug error message:
Person: Rob Aitchison (rob)
Page: awesometown.shotgunstudio.com/n … how_nav=no
This email is a service from Shotgun Support.
Message-Id:6P0MH425_5492098e43ec2_66043f92c4ecd3f8810487_sprut