Project Template and Task creation gets a blank screen and relationship errors in the log

I am trying to use the Project, Project Templates and Tasks features in SuiteCRM. I have read the support site to understand how to use these features. When I create a Project Template with some associated Tasks it saves correctly. However, when I try to create a Project from the template using the button all I get is a blank screen or a 505 error in Chrome. When I look into the SuiteCRM logs I get the following errors;

Wed Aug 23 11:39:31 2017 [11][1][FATAL] error loading relationship quotes
Wed Aug 23 11:41:50 2017 [7][1][ERROR] SugarBean.load_relationships, Null relationship name passed.
Wed Aug 23 11:42:08 2017 [162][1][ERROR] SugarBean.load_relationships, Null relationship name passed.
Wed Aug 23 11:42:26 2017 [9188][1][ERROR] SugarBean.load_relationships, Null relationship name passed.
Wed Aug 23 11:42:50 2017 [162][1][ERROR] Unable to find relationship projects_quotes
Wed Aug 23 11:42:50 2017 [162][1][FATAL] quotes for projects_quotes failed to load

Wed Aug 23 11:42:50 2017 [162][1][FATAL] error loading relationship quotes
Wed Aug 23 11:42:58 2017 [119][1][ERROR] Unable to find relationship projects_quotes
Wed Aug 23 11:42:58 2017 [119][1][FATAL] quotes for projects_quotes failed to load

Wed Aug 23 11:42:58 2017 [119][1][FATAL] error loading relationship quotes

i searched the support site for anyone with similar issues and found a suggestion to reset Business Days - tried that and no such luck.
We are using version 7.8.1 but I also tried the same thing on the DEMO site and I also get a blank screen. There was no way to check the logs on DEMO to verify that the error is the same.

I really want to use this feature - has anyone have any suggestions on how to get it to work?

I just did some tests and yes, I get the same blank screen that you do.

However, it seems that it only happens when I leave the “Start date” blank. Can you try setting a start date to see if it makes a difference?

Note that I am creating the project from within the Project Template Detail view, using the Button “Create Project” which opens a pop-up with just a few fields.

1 Like

Bingo - that does the trick. For my purpose the StartDate is not required so perhaps I can just default the value to get past the error.

Greatly Appreciated.

:slight_smile:

I’m glad you can work around it.

Can you please open an Issue on Github with this? The bug won’t get fixed if nobody reports it.

https://github.com/salesagility/SuiteCRM/issues

Make sure you include an exact list of “steps to reproduce”, and maybe even a few screenshots would be helpful. Thanks!

Hi guys,

For anyone that’s looking for a fix I’ve created a PR here.

Thanks.