Forum Discussion
Hi PMateo
Can you confirm when you are getting this error ?. Is it happening on initial save of a part or opening a part or editing a part ?
Not a single item is a generic error where the method apply result is expecting one item instead it is a collection of items.
Based on some condition from part form, are you trying to populate some relationship tab or something when part is saved initially. If that condition is satisfied you might not get any error else you will get an error.
Thank You
Gopikrishnan R
Hi,
It's happening when I edit a part, and regardless of what I edit I am getting the error (I have tried editing the description, adding/deleting documents and CAD documents, part name, etc).
The issue may be due to the product codes we use for some of the parts, and from the explanation you provided I am feeling more confident about the source of the issue. I will do further testing and let you know; let me know if you have other suggestions.
Thanks a lot!
PMateo
- Gopikrishnan7 years agoIdeator I
No Problem. If you are able to identify the right method causing this issue, you can debug and analyze. If still facing issue, please send the serverMethod causing this issue.
Thank You
Gopikrishnan R
- Former_Member7 years agoIdeator I
How can I debug this method on PLM? I added the following line
<operating_parameter key="DebugServerMethod" value="true"/>
to the InnovatorServerConfig.xml file but I can't really get the debugger to start.
- Gopikrishnan7 years agoIdeator I
Hi Pmateo
Is it a server method (C# or VB) or client method (Javascript)?.
If Server method, include below line in your method
if(System.Diagnostics.Debugger.Launch()) System.Diagnostics.Debugger.Break();If Client Method, include below line in your method and hit F12 before performing the action (In this case before saving the part)debugger;For more information on debugging, check this blogThank YouGopikrishnan R