Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the ga-google-analytics domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/posttrau/public_html/mdtWordpress/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the themeisle-companion domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/posttrau/public_html/mdtWordpress/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the foxiz-core domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/posttrau/public_html/mdtWordpress/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the hestia domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/posttrau/public_html/mdtWordpress/wp-includes/functions.php on line 6121
Jasper reports and new field recognizing issue - My Day To-Do

I have been working with Jasper reports and honestly there are times when i really want to pull my hair out. This feelings of anger reached new heights recently when was i trying to create a new report, now part of this could also be due to the age old J2EE system that i am using it  with.

Jasper reports

So on to business now!!Recently i was creating a new report, for which i was using another report as template and i must have spent hours trying to figure out why the report would not recognize a new field that i added. The problem happend during the mapping stage i.e. when the java code was sending the data to the reporting engine, all the data was being copied correctly except this one field. After much experimentation and mucking around I finally found the solution to my problem. When i created the new field the name of the field was say “abc” and the fieldDescription attribute was “xyz” and that is where the problem was. To fix it i simply changed the fieldDescription value to “abc” i.e. the same as the field name and that make the report work.

So the moral of the story(in the context of my issue) unless it is absouletly necessary ensure that both the field name as well as the fieldDescription are the same value while creating reports in Jasper reports .

Categories: Java

0 Comments

Leave a Reply

Avatar placeholder
Verified by MonsterInsights