-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exporting Opportunities "All opportunities" when campaign is filtered #6626
Comments
Hi @Referro, |
Mon Jan 7 10:40:05 2019 [1467][1][FATAL] Mysqli_query failed. Hi Jack, I tested it in two SuiteCRM 7.10.11 instances and both appear with the same error and the same logs. You need to filter on a Campaign and export the complete list (not all records independently or complete page), that's crucial to replicate. If it helps, I made a small video of what happens, but because of law and regulations I will only share this with you through email and not in public, hope you understand. So if you want to see the video, could you please share your email address with me so I can send the video to you? I've uploaded it to a disclosed website, so it will only be a link and not a large attachment. Many thanks! |
@Referro, if you could send the video to the email provided that would be great, |
@jack7anderson7 Hi Jack, thanks! I've send you an email. Hope that helps! Let me know. Thanks. |
@Referro I am able to replicate it so you're now able to delete what you wanted to and thank you for letting us know about it we'll get on to it as soon as we can. A possible work around would be to export them page by page. |
@jack7anderson7 Thank you very much Jack! Hope you manage to find a solution soon :). Good luck resolving it, and I'd like to know it when you manage to find a fix and it is available in an upgrade. Thanks!! |
Issue
The issue described here: (#4958) is still present for exporting All Opportunities when filtering on a related field.
Expected Behavior
Filter on Campaign in Opportunities module.
Select all opportunities (not all on page, but complete list)
Export selected opportunities
A csv file with all opportunities will be downloaded.
Actual Behavior
Filter on Campaign in Opportunities module.
Select all opportunities (not all on page, but complete list)
Export selected opportunities
A database error occurs.
In suitecrm.log the error is that "campaign_name = '{filtered campaign}'" is included in the query to lookup all opportunities. However, the field "campaign_name" does not exist in the "opportunities" table.
Possible Fix
Filter on ID field when filtered on a related module instead of filtering on the name.
Steps to Reproduce
See expected behavior and actual behavior.
Context
This issue was previously fixed for Accounts, but it still occurs for Opportunities. It needs fixing because now the Opportunities cannot be exported all at once when filtering on a campaign or something (related module).
Your Environment
SuiteCRM version 7.10.11
CentOS 7 server
Thanks in advance.
The text was updated successfully, but these errors were encountered: