Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: 0.4.1
-
Fix Version/s: 0.5-RC1
-
Component/s: Persistence
-
Labels:None
-
Environment:OSX mysql or postgres
Description
steps to reproduce the error:
1. install testapp attached with this report grails version is 0.4.1 but also occures on 0.4
2. configure database (i used mysql at localhost databasename tester user root no password)
3. run application
4. create two categories (important to see the error)
5. create 1 product
6. edit product and add two categories
7. check table product_category should look like
--------------------------+
| categories_id | products_id |
--------------------------+
| 1 | 1 |
| 1 | 2 |
--------------------------+
-
Hide
- test.zip
- 22/Feb/07 3:16 PM
- 740 kB
- Burkard Endres
-
- test/.classpath 5 kB
- test/.project 0.5 kB
- test/build.xml 1 kB
- test/grails-app/.DS_Store 6 kB
- test/.../ApplicationBootStrap.groovy 0.1 kB
- test/grails-app/conf/CVS/Entries 0.4 kB
- test/grails-app/conf/CVS/Repository 0.0 kB
- test/grails-app/conf/CVS/Root 0.0 kB
- test/grails-app/conf/CVS/Template 0.0 kB
- test/.../DevelopmentDataSource.groovy 0.3 kB
- test/.../log4j.development.properties 2 kB
- test/.../log4j.production.properties 2 kB
- test/grails-app/.../log4j.test.properties 2 kB
- test/grails-app/controllers/.DS_Store 6 kB
- test/.../CategoryController.groovy 2 kB
- test/grails-app/controllers/CVS/Entries 0.6 kB
- test/grails-app/.../CVS/Repository 0.0 kB
- test/grails-app/controllers/CVS/Root 0.0 kB
- test/grails-app/controllers/CVS/Template 0.0 kB
- test/grails-app/.../ProductController.groovy 2 kB
- test/grails-app/CVS/Entries 0.2 kB
- test/grails-app/CVS/Repository 0.0 kB
- test/grails-app/CVS/Root 0.0 kB
- test/grails-app/CVS/Template 0.0 kB
- test/grails-app/.../AbstractEntity.groovy 0.2 kB
- test/grails-app/domain/Category.groovy 0.2 kB
- test/grails-app/domain/CVS/Entries 0.4 kB
- test/grails-app/domain/CVS/Repository 0.0 kB
- test/grails-app/domain/CVS/Root 0.0 kB
- test/grails-app/domain/CVS/Template 0.0 kB
Issue Links
- is duplicated by
-
GRAILS-2922
Many-to-Many Mapping generated wrong column names for association
-