Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 2.3
-
Fix Version/s: None
-
Component/s: Tools
-
Labels:
-
Environment:OS X 10.7.5
PHP 5.4.4
Postgres SQL 9.1.6
also confirmed on:
Linux (Debian testing, Kernel 2.6.32)
PHP 5.4.4
PostgreSQL 9.1.9
Doctrine 2.3.2
Description
the app/console doctrine:schema:update command generates a seemingly random number of statements like these:
ALTER TABLE geodata ALTER humidity SET ;
ALTER TABLE geodata ALTER lake SET ;
ALTER TABLE message ALTER translate SET ;
which are obvious invalid SQL commands. The mappings are fine, validate and the application works just fine. Here's an example from the mapping files including two of the above statements:
<field name="coast" type="boolean"/>
<field name="lake" type="boolean"/>
<field name="river" type="boolean"/>
<field name="humidity" type="float"/>
<field name="biome" type="string"/>
I am using doctrine2-spatial as an extension for GIS information. This problem shows up both in entities using spatial data and entities not using spatial data.
I'll gladly help debug this, as right now I can't update my dev database with --force, I need to use --dump-sql and filter out the invalid lines.
Issue Links
- duplicates
-
DBAL-504
DBAL Enum fields migration issue / PostgreSQL
-
Activity
| Field | Original Value | New Value |
|---|---|---|
| Attachment | schemadiff.txt [ 11373 ] |
| Environment |
OS X 10.7.5
PHP 5.4.4 Postgres SQL 9.1.6 |
OS X 10.7.5
PHP 5.4.4 Postgres SQL 9.1.6 also confirmed on: Linux (Debian testing, Kernel 2.6.32) PHP 5.4.4 PostgreSQL 9.1.9 Doctrine 2.3.2 |
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Duplicate [ 3 ] |
- Request to http://www.doctrine-project.org/fisheye/ failed: Error in remote call to 'FishEye 0 (http://www.doctrine-project.org/fisheye/)' (http://www.doctrine-project.org/fisheye) [AbstractRestCommand{path='/rest-service-fe/search-v1/crossRepositoryQuery', params={query=DDC-2238, expand=changesets[-21:-1].revisions[0:29],reviews}, methodType=GET}] : Received status code 503 (Service Temporarily Unavailable)
Can you dump the SchemaDiff/ColumnDiff instances that are returned from lib/Doctrine/DBAL/Schema/Comparator.php?