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

trying to create field set on exisiting field. Roo console tells me duplicate can't change

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Critical
    • Resolution: Works as Designed
    • Affects Version/s: 2.0.0.RC1
    • Fix Version/s: None
    • Component/s: @ ROO SHELL
    • Labels:
      None
    • Environment:
      ubuntu 16.04
      eclipse neon 3

      Description

      executed this command:
      field set --fieldName event_id --type ~.model.Event_attendee --cardinality ONE_TO_MANY --mappedBy Event --force Received this message
      Undo manage ROOT/.roo/config/project.properties
      Field 'Event' already exists and cannot be created. Try to use a different field name on --mappedBy parameter or use --force parameter to overwrite it.
      I created my entities and fields using the old documentation, but I have noticed that you changed the current documentation to use the field set command for every foreign key, in place of a field command for those fields. Doesn't appear to be any way to fix entities and fields that were created prior to current doc.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: