Difference between revisions of "Empty Reconciliation Tab"

From IMSMA Wiki
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
This could happen both during Data Entry and when looking at already approved Data Entry Forms.
 
This could happen both during Data Entry and when looking at already approved Data Entry Forms.
  
 +
==Case 1 The tab is not highlighted==__NOEDITSECTION__
 
[[Image:Recon tab Add from non-Location.png|500px|center]]
 
[[Image:Recon tab Add from non-Location.png|500px|center]]
 
<div align="center">
 
<div align="center">
Line 8: Line 9:
 
[[Image:Recon tab template error.png|500px|center]]
 
[[Image:Recon tab template error.png|500px|center]]
 
<div align="center">
 
<div align="center">
'' The Reconciliation tab is empty and the tab is not highlighted ''
+
'' The Reconciliation tab is empty and the tab is '''not''' highlighted ''
 
</div>
 
</div>
  
This is an indication that something is wrong in the template.  
+
This is an indication that something is wrong with the '''template'''.
 +
The issues could be caused by:
 +
* fields that are not in use anymore in the database
 +
* fields that has changed which widget to use
 +
* widgets are incomplete (missing part(s)).
  
 
[[Image:Old new Vic widgets.png|500px|center]]
 
[[Image:Old new Vic widgets.png|500px|center]]
 
<div align="center">
 
<div align="center">
'' Example from Victim ''
+
'' Example from Victim - changed widget''
 
</div>
 
</div>
Output in the Console log will look like this during Data Entry:<br/>
+
Output in the Console:<br/>
 
Uncaught Exception: java.lang.RuntimeException: Exception 'argument type mismatch' calling setter: 'setTimeToHospital()' on pojo: class com.fgm.imsma.pojo.Victiminfoversion (note: provided argument type= 'String', expected arg type= 'Date')
 
Uncaught Exception: java.lang.RuntimeException: Exception 'argument type mismatch' calling setter: 'setTimeToHospital()' on pojo: class com.fgm.imsma.pojo.Victiminfoversion (note: provided argument type= 'String', expected arg type= 'Date')
  
Output in the Console log will look like this when the Data Entry Form is approved:<br/>
 
 
Uncaught Exception: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Date
 
Uncaught Exception: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Date
  
 
[[Image:Old new Acc widgets.png|350px|center]]
 
[[Image:Old new Acc widgets.png|350px|center]]
 
<div align="center">
 
<div align="center">
'' Example fr Accident''
+
'' Example from Accident - changed widget''
 
</div>
 
</div>
Output in the Console log will look like this for during data entry and when the Data Entry Form is approved:<br/>
+
Output in the Console:<br/>
 
Uncaught Exception: java.lang.NullPointerException at com.fgm.imsma.client.fieldreport.entry.PojoMap.set(PojoMap.java:417)<br/>
 
Uncaught Exception: java.lang.NullPointerException at com.fgm.imsma.client.fieldreport.entry.PojoMap.set(PojoMap.java:417)<br/>
 
at com.fgm.freeform.DraggableComponent.updateTo(DraggableComponent.java:252)
 
at com.fgm.freeform.DraggableComponent.updateTo(DraggableComponent.java:252)
 +
 +
[[Image:not_used_fields.png|450px|center]]
 +
<div align="center">
 +
'' Example from Accident and Impact survey - fields not used anymore''
 +
</div>
 +
Output in the Console log:<br/>
 +
Uncaught Exception: java.lang.RuntimeException: Exception 'argument type mismatch' calling setter: 'setPriorityActiveValue()' on pojo: class com.fgm.imsma.pojo.ImpactSurveyVersion (note: provided argument type= 'String', expected arg type= 'Float')
 +
at com.fgm.imsma.util.PojoReflectionUtilities.invokeSetter(PojoReflectionUtilities.java:419)
 +
at com.fgm.imsma.util.PojoReflectionUtilities.setFieldValue(PojoReflectionUtilities.java:382)
 +
 +
Uncaught Exception: java.lang.NullPointerException at com.fgm.imsma.client.fieldreport.entry.PojoMap.set(PojoMap.java:417)<br/>
 +
at com.fgm.freeform.DraggableComponent.updateTo(DraggableComponent.java:252)
 +
 +
==Case 2 The tab is highlighted and no error message in the log==__NOEDITSECTION__
 +
[[Image:Recon tab template error2.png|500px|center]]
 +
<div align="center">
 +
'' The Reconciliation tab is empty and the tab '''is''' highlighted ''
 +
</div>
 +
This case has been encountered when the Data Entry Form does not have an Form ID. Form ID is one of the fields that are required for {{IMSMANG}} function and therefore should be set to '''[[Standardising Data Entry Forms#Include the Minimum Recommended Data Elements on all Templates | required in Data Entry Form templates]]'''.
 +
 +
[[Image:Missing Form ID.png|500px|center]]
 +
<div align="center">
 +
'' The Form ID is empty''
 +
</div>
 +
 +
Contact your [[Information Management Team | GICHD IM advisor]] for assistance on updating Form ID.
 +
 
[[Category:NAA]]
 
[[Category:NAA]]
 
{{NavBox Technical Notes}}
 
{{NavBox Technical Notes}}

Latest revision as of 23:05, 25 October 2016

This could happen both during Data Entry and when looking at already approved Data Entry Forms.

Case 1 The tab is not highlighted

Recon tab Add from non-Location.png

How it normally looks like

Recon tab template error.png

The Reconciliation tab is empty and the tab is not highlighted

This is an indication that something is wrong with the template. The issues could be caused by:

  • fields that are not in use anymore in the database
  • fields that has changed which widget to use
  • widgets are incomplete (missing part(s)).
Old new Vic widgets.png

Example from Victim - changed widget

Output in the Console:
Uncaught Exception: java.lang.RuntimeException: Exception 'argument type mismatch' calling setter: 'setTimeToHospital()' on pojo: class com.fgm.imsma.pojo.Victiminfoversion (note: provided argument type= 'String', expected arg type= 'Date')

Uncaught Exception: java.lang.ClassCastException: java.lang.String cannot be cast to java.util.Date

Old new Acc widgets.png

Example from Accident - changed widget

Output in the Console:
Uncaught Exception: java.lang.NullPointerException at com.fgm.imsma.client.fieldreport.entry.PojoMap.set(PojoMap.java:417)
at com.fgm.freeform.DraggableComponent.updateTo(DraggableComponent.java:252)

Not used fields.png

Example from Accident and Impact survey - fields not used anymore

Output in the Console log:
Uncaught Exception: java.lang.RuntimeException: Exception 'argument type mismatch' calling setter: 'setPriorityActiveValue()' on pojo: class com.fgm.imsma.pojo.ImpactSurveyVersion (note: provided argument type= 'String', expected arg type= 'Float') at com.fgm.imsma.util.PojoReflectionUtilities.invokeSetter(PojoReflectionUtilities.java:419) at com.fgm.imsma.util.PojoReflectionUtilities.setFieldValue(PojoReflectionUtilities.java:382)

Uncaught Exception: java.lang.NullPointerException at com.fgm.imsma.client.fieldreport.entry.PojoMap.set(PojoMap.java:417)
at com.fgm.freeform.DraggableComponent.updateTo(DraggableComponent.java:252)

Case 2 The tab is highlighted and no error message in the log

Recon tab template error2.png

The Reconciliation tab is empty and the tab is highlighted

This case has been encountered when the Data Entry Form does not have an Form ID. Form ID is one of the fields that are required for IMSMANG function and therefore should be set to required in Data Entry Form templates.

Missing Form ID.png

The Form ID is empty

Contact your GICHD IM advisor for assistance on updating Form ID.