Ticket #915 (closed task: fixed)

Opened 2 years ago

Last modified 15 months ago

regress test for legacy.sql

Reported by: robe Owned by: robe
Priority: medium Milestone: PostGIS 2.0.0
Component: build/upgrade/install Version: trunk
Keywords: Cc:

Description

Write up regression tests to install legacy.sql and test out old legacy functions -- such as the wmsservers_old.sql we removed from the test suite.

This regression test has to be run LAST on the list since we don't want our other tests muddled by it.

Change History

Changed 2 years ago by robe

  • type changed from defect to task

Changed 17 months ago by robe

  • component changed from postgis to build/upgrade/install

Changed 16 months ago by robe

  • priority changed from blocker to medium

not that critical

Changed 15 months ago by strk

I see two files being installed: legacy_compatibility_layer.sql and legacy.sql, what is what ?

Changed 15 months ago by strk

I get a failure when running the revived wmsserver_old:

 Running Geoserver 2.0 NG tests...
-Geoserver1|POLYGON
-Geoserver2|4326
+Geoserver1|GEOMETRY
+Geoserver2|0

Changed 15 months ago by strk

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

Alright, the wmsserver_old was doing explicit inserts in geometry_columns. I don't think we want to retain that level of backward compatibility so I converted the test to using AddGeometryColumn?.

Ready in r9318, includes a test for uninstall_legacy.sql (now generated)

Note: See TracTickets for help on using tickets.