← Back to team overview

dhis2-devs team mailing list archive

[Bug 1266443] Re: Lontitude and Latitude as Default in Tabular Report

 

I am working on a Tracker use case and have just tried to create a
tabular report for a single event without registration.  The longitude
and latitude columns show even though GPS coordinates not selected in
the program stages. Note that the program stages also use sections.

Does anyone have a solution to this problem?

Thanks


Version:
2.15-SNAPSHOT
Build revision:
14140



The log is copied below:

* INFO  2014-03-09 23:20:41,875 Query failed, likely because the requested analytics table does not exist (JdbcEventAnalyticsManager.java [http-apr-80
80-exec-10])
org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [select psi,ps,executiondate,longitude,latitude,ouname,oucode,"uid
level1","FFIkxRTddT2" from analytics_event_2014_LJv1hZ8IGKV where executiondate >= '2014-01-01' and executiondate <= '2014-03-09' and (uidlevel1 = 'FF
5gYRcwnKB' ) and ps = 'k9UGHDzof5a' order by "executiondate" asc limit 50 offset 0]; nested exception is org.postgresql.util.PSQLException: 
ERROR: column "longitude" does not exist
 

** Attachment added: "Case-base Tabular Report Error.tiff"
   https://bugs.launchpad.net/dhis2/+bug/1266443/+attachment/4015553/+files/Case-base%20Tabular%20Report%20Error.tiff

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1266443

Title:
  Lontitude and Latitude as Default in Tabular Report

Status in DHIS 2:
  New

Bug description:
  Hi,

  Tabular report shows a Longitude and Latitude Column by default even
  though the user does not select these in options.

  Replicated this on the Snapshot Demo site: http://apps.dhis2.org/dev
  /dhis-web-caseentry/app/index.html. It is saved in the favourite as
  Long and Lat Defaults.

  This looks like an oversight of some sort.

  Cheers,

  Busoye

  Version:
      2.14-SNAPSHOT
  Build revision:
      13578
  Build date:
      2014-01-06 10:34

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1266443/+subscriptions


References