Guest Paul Alexander Posted August 21, 2018 Share Posted August 21, 2018 Hello Not sure if this is a Project Manager or a Service Manager issue, but we're trying to create a Project from a SR using the iBridge (which has worked before a lot of times...) however on this one particular item, we're getting this error: The thing is, the ProjectID can't be changed or set to anything different so I'm not sure what's happened: Not sure if it'll help anyone take a look but the SR in question is SR00046107 Any ideas please? thanks Link to comment Share on other sites More sharing options...
AlexTumber Posted August 21, 2018 Share Posted August 21, 2018 @Paul Alexander is there an error in your server service log that gives any more information? My initial guess is that it's failing to create the project and then trying to set 'undefined' into the output param (integer) as the project is not created and therefore does not return a project id. Alex Link to comment Share on other sites More sharing options...
Victor Posted August 21, 2018 Share Posted August 21, 2018 @alextumber that's the full error message: "failureMessage": "iBridge Method: \/Hornbill\/Project Manager\/Projects\/Create Project from Hornbill Service Manager.m Error: XmlWriter2::add: unsupported value for \"projectId\"" This looks to me like an iBridge issue though.... Link to comment Share on other sites More sharing options...
Victor Posted August 21, 2018 Share Posted August 21, 2018 Actually no, I'm lying... give me two min I think I know what happened... Link to comment Share on other sites More sharing options...
Victor Posted August 21, 2018 Share Posted August 21, 2018 6 minutes ago, alextumber said: My initial guess is that it's failing to create the project Your guess is correct! The project failed to create (strangely the create project API was successful!?) Here is why: 2018-08-18 19:49:42Z [INFO]:[PROFILE]:[10136] Method Call: data:entityAddRecord (20945572025) 2018-08-18 19:49:42Z [INFO]:[SYSTEM]:[10136] Using application context: com.hornbill.projectmanager 2018-08-18 19:49:42Z [ERROR]:[SYSTEM]:[10136] XMLMC Request Failed: The text size provided (262 characters) is greater than the maximum allowable size of 255 characters for column h_quality_statement 2018-08-18 19:49:42Z [ERROR]:[PROFILE]:[10136] data:entityAddRecord() Method call results: failure (414629888 B, 2 ms, -24 kB, 0 ms, 0 kB) 2018-08-18 19:49:42Z [ERROR]:[COMMS]:[6956] Operation[data:entityAddRecord] The text size provided (262 characters) is greater than the maximum allowable size of 255 characters for column h_quality_statement 2018-08-18 19:49:42Z [ERROR]:[SCRIPT]:[6956] nodeName: Add Entity: Projects; nodeId: 9560a672-a432-416b-9a81-f89f2ee02542; "EspMethodCall:invoke: Operation[data:entityAddRecord] The text size provided (262 characters) is greater than the maximum allowable size of 255 characters for column h_quality_statement" Link to comment Share on other sites More sharing options...
AlexTumber Posted August 21, 2018 Share Posted August 21, 2018 @Paul Alexander at a guess I'd say too many characters in a field like 'quality statement'. although the iBridge operation should handle this if the value is larger than 254@Victor the error is for the iBridge method output param not being an integer. Link to comment Share on other sites More sharing options...
Guest Paul Alexander Posted August 21, 2018 Share Posted August 21, 2018 Thanks @alextumber and @Victor Is there anything I can do to push this through? Or will it need to be relogged? thanks Link to comment Share on other sites More sharing options...
Victor Posted August 21, 2018 Share Posted August 21, 2018 @Paul Alexander you can edit the process instance and replace the value for quality statement variable with something else... an empty string maybe? Then restart the process... should work... Link to comment Share on other sites More sharing options...
AlexTumber Posted August 21, 2018 Share Posted August 21, 2018 @Paul Alexander Our dev team is currently investigating as the code indicates that it will only take the first 254 characters if the input param is provided - in other words, this error should never happen. Alex Link to comment Share on other sites More sharing options...
Guest Paul Alexander Posted August 21, 2018 Share Posted August 21, 2018 I've set the 'Quality Statement' to be ignored in the iBridge, and restarted the process...but it's still coming back with the same error....... Link to comment Share on other sites More sharing options...
AlexTumber Posted August 21, 2018 Share Posted August 21, 2018 @Paul Alexander what about the name, description and scope params? The reason I ask is that the code is set to truncate all 4 fields in exactly the same way. If there is a problem with quality statement then presumably the other input params will have the same issue. It should say in the server service log in the Admin Tool what is happening. Alex Link to comment Share on other sites More sharing options...
Guest Paul Alexander Posted August 21, 2018 Share Posted August 21, 2018 I have no idea what I'm looking for in the logs I'm afraid (any help would be appreciated!) However, the Project Scope is a large amount of text.......do you want me to try 'ignoring' that as well to see if it will work? thanks Link to comment Share on other sites More sharing options...
Victor Posted August 21, 2018 Share Posted August 21, 2018 Just now, Paul Alexander said: I have no idea what I'm looking for in the logs I'm afraid (any help would be appreciated!) No worries, I'll have a look.... Link to comment Share on other sites More sharing options...
Guest Paul Alexander Posted August 21, 2018 Share Posted August 21, 2018 Just now, Victor said: No worries, I'll have a look.... Thanks @Victor - I wouldn't mind some guidance on this sometime though please.....you know, for next time Link to comment Share on other sites More sharing options...
Victor Posted August 21, 2018 Share Posted August 21, 2018 @Paul Alexander - ok. I have restarted the process now (successfully) The variable for project scope was also causing issues. So Project Scope and Quality Statement with the newly created project are empty so you might want to update those... Really, don't worry about the logs, that's why you have Hornbill Premier Success Link to comment Share on other sites More sharing options...
AlexTumber Posted August 21, 2018 Share Posted August 21, 2018 @Paul Alexander If possible, can you provide us with the content that you were trying to pass to the quality statement and scope params? Feel free to DM either myself or Victor if you don't want to post it on this thread. Thanks. Alex Link to comment Share on other sites More sharing options...
Victor Posted August 21, 2018 Share Posted August 21, 2018 @alextumber you might find you already have this information 1 Link to comment Share on other sites More sharing options...
Guest Paul Alexander Posted August 22, 2018 Share Posted August 22, 2018 Hi @alextumber I'm an early finished (or so I've been told...) so had already gone before I got this message yesterday...do you still need the info you asked for? thanks Link to comment Share on other sites More sharing options...
Victor Posted August 22, 2018 Share Posted August 22, 2018 @Paul Alexander - no worries, I have given @alextumber the information he needs Link to comment Share on other sites More sharing options...
AlexTumber Posted August 23, 2018 Share Posted August 23, 2018 @Paul Alexander after some investigation, we've found that this is actually an issue with the way the platform is counting UTF-8 characters. A fix is currently being worked on and will be released in a future platform update. As and when there are any more updates, I will reply here. Alex Link to comment Share on other sites More sharing options...
Guest Paul Alexander Posted August 23, 2018 Share Posted August 23, 2018 Hi @alextumber Thanks for the update...is there anything we need to be aware of until the fix is done? Is the only way around it to ensure that there is only text in the field (up to 254 characters or whatever)? thanks Link to comment Share on other sites More sharing options...
AlexTumber Posted August 23, 2018 Share Posted August 23, 2018 @Paul Alexander there is nothing else to be aware of but unfortunately, yes, ensuring that only text is in the field is the only around this until the fix is applied. Alex Link to comment Share on other sites More sharing options...
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