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

Focus set on non existing class

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 1.2.5.RELEASE
    • Fix Version/s: 1.3.1.RC2, 2.0.0.M1
    • Component/s: @ CORE
    • Labels:
      None

      Description

      Try to execute the following commands on ROO Shell:

      project --topLevelPackage org.springroo.testproject
      persistence setup --provider HIBERNATE --database HYPERSONIC_PERSISTENT
      entity jpa --class ~.domain.TestEntity
      field string --fieldName testField --class ~.domain.TestEntity2
      

      Appears the following message:

      The type specified, 'org.springroo.testproject.domain.TestEntity2', doesn't exist
      

      But context changes to:

      ~.domain.TestEntity2 roo>
      

      Then if you try to add new field without specify class, appears an error as:

      The type specified, 'org.springroo.testproject.domain.TestEntity2', doesn't exist
      

        Attachments

          Activity

            People

            Assignee:
            jcgarcia Juan Carlos García del Canto
            Reporter:
            jcgarcia Juan Carlos García del Canto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: