Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-3277

Inconsistent propetries names for mongo database.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.2.2.RELEASE
    • Fix Version/s: 1.2.3.RELEASE
    • Component/s: PERSISTENCE
    • Labels:

      Description

      How to repeat:

      1) create a new empty directory and run roo inside.

      2) create a new project:

      roo> project --topLevelPackage foo.bar

      3) setup mongo with a database name:

      roo> mongo setup --databaseName abc

      In the applicationContext-mongo.xml, database name is referenced as "${mongo.database}", but in database.properties, the database name is in property named "mongo.name", which leads to deployment error, and which cannot work, of course.

      Please, change the name in property file from mongo.name to mongo.database to fix this issue and to not be confused with mongo.username there.

      Corresponding patch is attached as well.

        Attachments

          Activity

            People

            Assignee:
            stewarta Alan Stewart
            Reporter:
            cronin Jozef BABJAK
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified