lksudha / gravl

Automatically exported from code.google.com/p/gravl
0 stars 0 forks source link

After upgrade to 1.0.2+ Save blog entry fails #5

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Upgrade gravl to use grails 1.0.2 or 1.0.3
2. Create a new blog entry

What is the expected output? What do you see instead?
New entry should be shown. Instead a 404 error appears saying:
... /gravl/sample%2Fadmin%2Fblog/save cannot be found

What version of the product are you using? On what operating system?
Gravl 0.4 Windows XP

Please provide any additional information below.

Original issue reported on code.google.com by rich.law...@gmail.com on 14 Jun 2008 at 8:55

GoogleCodeExporter commented 9 years ago
See issue 6. I found a fix.

Original comment by pocke...@gmail.com on 8 Jul 2008 at 8:29

GoogleCodeExporter commented 9 years ago
I just tried with Grails 1.0.3 and it worked perfectly.

However, I changed the Datasource file to use HSQL instead of the configured 
Postgres

Here is my patch
Datasource.groovy

dataSource {
    pooled = false
    driverClassName = "org.hsqldb.jdbcDriver"
    username = "sa"
    password = ""
}
hibernate {
    cache.use_second_level_cache=true
    cache.use_query_cache=true
    cache.provider_class='org.hibernate.cache.EhCacheProvider'
}
// environment specific settings
environments {
    development {
        dataSource {
            dbCreate = "update"
             url = "jdbc:hsqldb:file:prodDb;shutdown=true"
            //driverClassName = "org.postgresql.Driver"
            //url = "jdbc:postgresql://localhost/gravl"
            //username = "glen"
            //password = "password"
        }
    }
.
.
.
.

My 5 cents

Thierry

Original comment by tbarn...@gmail.com on 28 Aug 2008 at 8:36