Ticket #16 (closed defect: invalid)

Opened 3 years ago

Last modified 3 years ago

getFeature on "date" data has an extra "Z" at the end

Reported by: adube Owned by:
Priority: minor Version: SVN
Keywords: Cc:
Triage Stage: Unreviewed State of Approval: Unnecessary
Attached Patches: None Complexity: Unknown
Compatibility: Unknown Specification: Unnecessary

Description

getFeature on "date" data has an extra "Z" at the end.

The data is postGIS, the type of data is date. A SELECT FROM query returns a correct value :

2008-11-20

but a getFeature POST request returns an extra Z at the end of the value :

<bdr:rol_da_mod>2008-12-01Z</bdr:rol_da_mod>

I've tested a getFeature with the same data with mapserver and didn't get the extra Z.

Change History

Changed 3 years ago by adube

Looking at ISO-8601, time in UTC should get the extra Z at the end, but I didn't find anything about date. It seems to me that it's not really useful.

Changed 3 years ago by ol

Alexandre,

Could you try with the latest SVN version (r43), and say if it's all right for you ?

Thanks in advance ! :)

Olivier

Changed 3 years ago by adube

I just tried with the modifications and the problem is solved.

Thanks Olivier

Alexandre

Changed 3 years ago by ol

  • status changed from new to closed
  • resolution set to fixed

Perfect ! I close the ticket

Changed 3 years ago by ol

  • status changed from closed to reopened
  • resolution fixed deleted

Alexandre,

I had to revert this feature to introduce back the Z ending (ISO 8601 representation) for date type. It's a need for WFS 1.1 unit test 35.5

Commited as r47

Changed 3 years ago by ol

  • status changed from reopened to closed
  • resolution set to invalid
Note: See TracTickets for help on using tickets.