Steve Giller Posted March 23, 2017 Posted March 23, 2017 I created a service to build some test workflows in, and failed to set a Service Category, which, as you can imagine, created an error. However, when I set the Service Category I could not create the Service due to an existing Primary Key. When I refreshed, it appears that the Service has been created, but I can neither update nor delete it - an attempt to delete bring up the following in the error log: 938161 2017-03-23 16:45:13 error perf 2788 apps:translateDelete() Operation Invocation results: failure (244412416 B, 103 ms, -108 kB, 1 ms, 0 kB) 938158 2017-03-23 16:45:13 error scripts 2788 nodeName: Delete Entities; nodeId: df397e32-24a3-47c7-ab66-20b20bd3eeb4; At 155/1: "Uncaught TypeError: global.getAllRelatedEntities.rowData.row.forEach is not a function" throw(e); _fc_node_exec_df397e32_24a3_47c7_ab66_20b20bd3eeb4
Hornbill Staff DR Posted March 24, 2017 Posted March 24, 2017 Hi Steve,  thanks for your post. I'd be interested to know how you managed to create a Service without a Service Category. This field is mandatory when creating a new Service. Please can you tell us what the service called and when you created it? Thanks, Dan
Steve Giller Posted March 24, 2017 Author Posted March 24, 2017 It's called 'Facilities Testing' and was created shortly before the posted error - probably about 16:35. I'm pretty confused how it created myself - it did come back with the expected error and the Service Category field highlighted in red!
Hornbill Staff DR Posted March 24, 2017 Posted March 24, 2017 Hi Steve,  when viewing the Service, the error that is generated appears to be in relation to the translation capability. Also, if you notice, the Language field is not populated. Looking in the database, I would expect to see at least 2 records associated to a Service (one dealing with the "default" values and then a record for each language you have translated that service into). I only see one record (the default record) where I would also expect to see a record handling the en-GB translations as well. It looks like that it failed to create for some reason. Let me speak to dev and understand the best way forward.  Dan
Steve Giller Posted March 24, 2017 Author Posted March 24, 2017 I'm perfectly happy to have it deleted, if that makes it easier.
Hornbill Staff DR Posted March 24, 2017 Posted March 24, 2017 Hi Steve,  As I understand it, this error prevents it from being deleted via the UI, is that still the case? I can't advocate for the use of direct database queries and don't want to get into posting specifics (there are a number of tables that need to be examined and dealt with) just in case someone less experienced that yourself has an attempt at fixing such an issue. I'll request that our cloud team execute the action on your instance. Thanks, Dan
Steve Giller Posted March 24, 2017 Author Posted March 24, 2017 Yes, I can't delete from the UI. I certainly wouldn't try deleting it from the database, I know how many issues that could cause!
Hornbill Staff DR Posted March 24, 2017 Posted March 24, 2017 Hi Steve,  the Service has now been deleted. Dev will review your log files to try and understand how it happened and take any necessary steps to prevent this situation in the future. Let us know if you have any more problems in creating Services. Dan
Steve Giller Posted March 24, 2017 Author Posted March 24, 2017 It looks like part of the issue may be caused when you try and create a new service where the Service Description is the same as another Service, even if the Service Name is different.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now