[Export from InfoWindow] - info columns returns java.sql.Date

Description

When we have a info window with info columns returning a java.sql.Date, a cast exception occurs:

Steps to reproduce:

1 - https://test.idempiere.org/webui/index.zul
2 - log as System
3 - InfoWindow -> Invoice Info
4 - InfoColumn -> DateInvoice
5 - Edit Sql Select to : i.DateInvoiced + 30. (Just for tests)
6 - log as gardenadmin
7 - Open Invoice Info
8 - Export.

Patch attached, suggestions are welcome.

Environment

None

Status

Assignee

Matheus Marcelino

Reporter

Matheus Marcelino

Labels

Tested By

None

Affects versions

6.2z

Priority

Major