Error: Report has related reports linked by filters and the referenced filters could not be found
I exported a dashboard tab with many reports from our acc environment and try to import it in our prod environment.
Unfortunately, for one report (lets say Report A), I get a error during the import: 'Report has related reports linked by filters and the referenced filters could not be found.' I have several reports drilling through to the same child-report (Lets sat Report B and C). Report B and C do not have the error. After importing, they are working as expected.
But, and now it gets weird, when I remove the drill through functionality from Report A, make a new export, import it and I end up with the same error, but for Report B or C. Even though before they did not have an error and worked correctly.
What is causing this problem?
Attached you find two export xml-files. Import 6 gave an error for report Lead time to quote (working days) - one supplier, Import 7 for Lead time to quote - compare suppliers (new)
Hi Rutger,
it could be a bug, and there is only really one way we can investigate import/export bugs. Our developers will need to step through the code over here and see what's happening during the import.
So, could you please upload a full backup of your Yellowfin database to our FTP website (I have just made an account for you - you will receive an email containing your details, if you don't get it please also check your spam folder) and also we will need just the schema of your data source (no data, just the empty tables and columns).
Please let me know when you have uploaded them.
Also, I would say it is worth upgrading your 7.3 to the latest build because your current instance is 9 months old which means it is missing a lot of code-fixes, and you never know, if the upgrade fixes this problem then you won't have to go through the process of uploading the database dumps.
regards,
David
Hi Rutger,
it could be a bug, and there is only really one way we can investigate import/export bugs. Our developers will need to step through the code over here and see what's happening during the import.
So, could you please upload a full backup of your Yellowfin database to our FTP website (I have just made an account for you - you will receive an email containing your details, if you don't get it please also check your spam folder) and also we will need just the schema of your data source (no data, just the empty tables and columns).
Please let me know when you have uploaded them.
Also, I would say it is worth upgrading your 7.3 to the latest build because your current instance is 9 months old which means it is missing a lot of code-fixes, and you never know, if the upgrade fixes this problem then you won't have to go through the process of uploading the database dumps.
regards,
David
Hi Rutger,
just letting you know that I have successfully downloaded and restored your 2 Yellowfin MySQL databases and your PostgreSQL datamart DDL, so all that remains is for me to replicate your issue and then raise a defect, although I will have to do this tomorrow because I've just run out of time.
regards,
David
Hi Rutger,
just letting you know that I have successfully downloaded and restored your 2 Yellowfin MySQL databases and your PostgreSQL datamart DDL, so all that remains is for me to replicate your issue and then raise a defect, although I will have to do this tomorrow because I've just run out of time.
regards,
David
Hi Rutger,looks like there are 2 tables missing (sales_country_current, proc_seller_current) for the report "Price access products - one supplier
Are you able to send across a script so that I can add them to the datamart?
regards,
David
Hi Rutger,looks like there are 2 tables missing (sales_country_current, proc_seller_current) for the report "Price access products - one supplier
Are you able to send across a script so that I can add them to the datamart?
regards,
David
Hi Rutger,
thanks for the newscript. I ran it but it didn't resolve the issue with the report "Price access products - one supplier". Then I noticed that the schema in the script was called "ods" and didn't match with the schema of your other script, so I took the liberty of changing it to "datamart" but that still didn't resolve the issue. Then I noticed that the table names in the script were "proc_seller" and "sales_country" whereas that report is looking for "proc_seller_current" and "sales_country_current", so once again I took the liberty of changing the script by adding "_current" to those 2 table names.
But unfortunately that still didn't resolve the issue, the report still wouldn't run. Then I noticed in the console the following error:
Hi Rutger,
thanks for the newscript. I ran it but it didn't resolve the issue with the report "Price access products - one supplier". Then I noticed that the schema in the script was called "ods" and didn't match with the schema of your other script, so I took the liberty of changing it to "datamart" but that still didn't resolve the issue. Then I noticed that the table names in the script were "proc_seller" and "sales_country" whereas that report is looking for "proc_seller_current" and "sales_country_current", so once again I took the liberty of changing the script by adding "_current" to those 2 table names.
But unfortunately that still didn't resolve the issue, the report still wouldn't run. Then I noticed in the console the following error:
Hi Rutger,
thanks for the script, now all reports on the dashboard tab "Supplier Relations (New)" are executing without error.
But unfortunately during the process of trying to import the export file some more missing tables have come to light:
- So if you could send across a DDL script for those 2 tables (datamart.proc_api_portal_buyer & datamart.suppliers_portal_account_activated) then that would be great!
I feel we are getting very close now.
- Also, just to make sure I do the same steps as you, could you please confirm the following:
1) export the dashboard tab "Supplier Relations (New)" from the ACCP environment, making sure to include all dependencies excepting the data source.
2) import the export file created in step 1) into the PROD environment making sure to use the REPLACE option for all content items.
- And one final thing: please tell me which version and build of Yellowfin is in your PROD environment (I know ACCP is 7.3 20170103).
regards,
David
Hi Rutger,
thanks for the script, now all reports on the dashboard tab "Supplier Relations (New)" are executing without error.
But unfortunately during the process of trying to import the export file some more missing tables have come to light:
- So if you could send across a DDL script for those 2 tables (datamart.proc_api_portal_buyer & datamart.suppliers_portal_account_activated) then that would be great!
I feel we are getting very close now.
- Also, just to make sure I do the same steps as you, could you please confirm the following:
1) export the dashboard tab "Supplier Relations (New)" from the ACCP environment, making sure to include all dependencies excepting the data source.
2) import the export file created in step 1) into the PROD environment making sure to use the REPLACE option for all content items.
- And one final thing: please tell me which version and build of Yellowfin is in your PROD environment (I know ACCP is 7.3 20170103).
regards,
David
Hi David,
I forgot about those two (the related reports). Sorry for that. See attached file for the DDLs.
I can confirm that the export/import process is as you describe.
For PROD we have the same version and build:
System InformationApplication Version:7.3Build:20170103
Thanks again!
Hi David,
I forgot about those two (the related reports). Sorry for that. See attached file for the DDLs.
I can confirm that the export/import process is as you describe.
For PROD we have the same version and build:
System InformationApplication Version:7.3Build:20170103
Thanks again!
Hi Rutger,
thanks for the script, and this time everything is complete - my environment is correct!
But the thing is, firstly I exported the dashboard tab "Supplier Relations (New)" and all dependencies from ACCP and then imported it into PROD and there were no problems at all. Then I thought that was strange, so I'd better try the Yellowfin Export file ("Supplier Relations NEW 20171016_6.xml") that you originally attached here, then during the course of the import process I became aware that there were 5 extra reports that weren't in my ACCP environment, they were:
SQL details - In bundle
SQL details - In order
SQL details - Pending
SQL details - stage check
SQL details - stage negotiated
So I guessed that's why my first replication attempt was successful - somehow my ACCP env was different than yours and thus my own export file was different than yours. So anyway, I kept on going through the import process with your export file and then I came to the screen you were talking about:
and then I continued with the import process and it went successfully. Then I tried to run that report "Lead time to quote (working days) - one supplier" and it ran successfully.
So what I can tell you is that the message you saw during the import process, "Report has related reports linked by filters and the referenced filters could not be found." is not in fact an error, it is only a warning. And also, the warning itself is actually a bug because there was nothing wrong with the import process. And in fact, you won't be aware but in recent months the whole Yellowfin Export/Import functionality has been totally revamped and bugs like that have been ironed out.
In summary I would say to just ignore that warning message on the Import Summary screen, and whenever it is possible, you should upgrade to the latest 7.3 and you will see a whole new Import/Export functionality.
regards,
David
Hi Rutger,
thanks for the script, and this time everything is complete - my environment is correct!
But the thing is, firstly I exported the dashboard tab "Supplier Relations (New)" and all dependencies from ACCP and then imported it into PROD and there were no problems at all. Then I thought that was strange, so I'd better try the Yellowfin Export file ("Supplier Relations NEW 20171016_6.xml") that you originally attached here, then during the course of the import process I became aware that there were 5 extra reports that weren't in my ACCP environment, they were:
SQL details - In bundle
SQL details - In order
SQL details - Pending
SQL details - stage check
SQL details - stage negotiated
So I guessed that's why my first replication attempt was successful - somehow my ACCP env was different than yours and thus my own export file was different than yours. So anyway, I kept on going through the import process with your export file and then I came to the screen you were talking about:
and then I continued with the import process and it went successfully. Then I tried to run that report "Lead time to quote (working days) - one supplier" and it ran successfully.
So what I can tell you is that the message you saw during the import process, "Report has related reports linked by filters and the referenced filters could not be found." is not in fact an error, it is only a warning. And also, the warning itself is actually a bug because there was nothing wrong with the import process. And in fact, you won't be aware but in recent months the whole Yellowfin Export/Import functionality has been totally revamped and bugs like that have been ironed out.
In summary I would say to just ignore that warning message on the Import Summary screen, and whenever it is possible, you should upgrade to the latest 7.3 and you will see a whole new Import/Export functionality.
regards,
David
Hi Rutger,
that's great news, thanks for letting me know!
And in the future, should you stumble across any other bug, then we already have your environment set up over here so it should be quick and easy to replicate the issue.
thanks,
David
Hi Rutger,
that's great news, thanks for letting me know!
And in the future, should you stumble across any other bug, then we already have your environment set up over here so it should be quick and easy to replicate the issue.
thanks,
David
Replies have been locked on this page!