Reports not working?
-
Hello
Is this normal behaviour for reports or am I missing something?
-
This is not normal. Are you able to add any data points to the report? In the first screen shot it is telling you no points have been added.
You could look at your ma.log file and it might have more information on the error in the second screen shot.
-
Nothing in the ma.log. Do I need to enable debug or some logging for it to show?
-
You probably could turn on a higher level of logging and see if anything is captured. You do that in the classes/log4j.xml file. Also, you can make sure everything is up-to-date and the core is 2.5.2.
-
Changing it to DEBUG does not help. There has to be some kind of bug.
How can I add points if there are no points to choose from?
-
Do you have data points defined in your system? If you go to the watch list or point details page do you see a list of data points in your drop down list? You can also try clearing your browsers cache and refreshing.
-
I have seen this issue when a data point that was used in a report is deleted from the system. The next time I attempted to go into the report module I had exactly the same issue. To resolve it I ended up deleting the report module and re-installing it from the zip file.
-
Thanks for pointing this out. I have replicated this bug using Integrul's comment. This will be fixed in the next release of the Reports module.
If you are proficient in SQL you could use the SQL Console to remove the offending report(s) that are referencing data points that no longer exist instead of re-installing the module (which effectively removes all reports from the database).
-
Thank you! Solved by removing report usin SQL