Jump to content


riwern

Member Since 22 Dec 2013
Offline Last Active Jul 03 2016 10:07 PM
-----

Topics I've Started

[Workflow] Editing Project workflow throws exception

06 March 2015 - 02:06 PM

 
When editing an existing workflow based on Project module the application throws and exception for the following condition:
- Workflow is set to email related Account owner
- Template is Account based (haven't tried anything else)
 
 
The following exception (NotSupportedException) is thrown:

<..>/zurmo/app/protected/modules/workflows/forms/recipients/DynamicTriggeredModelRelationUserWorkflowEmailMessageRecipientForm.php(234)

            elseif ($modelClassName::getInferredRelationModelClassNamesForRelation(
                   ModelRelationsAndAttributesToWorkflowAdapter::resolveRealAttributeName($this->relation)) !=  null)
            {
                return ModelRelationsAndAttributesToWorkflowAdapter::getInferredRelationModelClassName($this->relation);
            }
            elseif ($modelClassName::isRelationTypeAHasManyVariant($this->relation) ||
                   $modelClassName::isRelationTypeAHasOneVariant($this->relation))
            {
                return $modelClassName::getRelationModelClassName($this->relation);
            }
            else
            {
                throw new NotSupportedException();
            }
        }
    }
?> 

Does this have anything today with not being able to select Project based email templates?

Not sure on where to go from here...

 

Any ideas?

 


Handling multiple contacts with same name (Product module)

09 February 2015 - 09:18 AM

I often run into the issue of the wrong contact being selected in the (ajax?) dropdown under Products.

Is it possible to also make it show the e-mail (or any other field) other than just the full name?

 

When typing under Projects the contact is also shown with the e-mail (different selector as it is a multi-contact?) however this is not the case with Products.

 

1. Is it possible to also show the e-mail for contacts under Products when typing?

2. If not how is this handled among your users?

 

Richard


Ajax broken with HTTPS (self-signed certificates)

17 December 2014 - 10:38 AM

I'm not really sure why this happens but when using self-signed certificates the Ajax used in filtering (and others) seem to be broken in most browsers but Chrome.

 

Safari Error console shows:
"Failed to load resource: The network connection was lost."

IE console shows:
"XMLHttpRequest: Network Error 0x2ef3, Could not complete the operation due to error 00002ef3"

 

Workarounds:

A) Turn off HTTPS (not really an option)

B) Use a real certificate from a trusted CA ?

 

Haven't really gotten around to workaround B yet but will test and report back accordingly.

This was not an issue on the 2.6 branch...

 

 


Safari issues (?)

04 December 2014 - 12:57 PM

I've recently been troubleshooting some issues with Safari clients not being able to apply filters and searches (just shown the spinner) and the error console shows error with loading applyRuntimeFilters.php.

 

First I thought it might be adblock extensions or similiar but this doesn't seem to be the case.

 

Any thoughts on how to troubleshoot this issue?

I'm leaning towards some JS-issues and I'm lost when it comes to JS...

 

I'm using 2.8.5

 

Cheers


Minor bug - Timezone with report export (notification)

02 April 2014 - 08:43 PM

Our current timezone is set to Europe/Stockholm for Zurmo app, php, server, etc. It's all the same.

When exporting to CSV you get a notification like:

"Export process is completed. Export of reports requested on 2 April 2014 07:45 is completed. Click here to download file!".

 

This isn't much of an issue unless you tend to request a lot of exports and you realize that the time for us is off by 7 hours. If I request at 14:45 it get's logged as requested at 07:45.

 

Only a minor bug, but still a bug.