[ROO-3921] trying to create field set on exisiting field. Roo console tells me duplicate can't change Created: 16/Jun/17  Updated: 03/Apr/18  Resolved: 03/Apr/18

Status: Closed
Project: Spring Roo
Component/s: @ ROO SHELL
Affects Version/s: 2.0.0.RC1
Fix Version/s: None

Type: Improvement Priority: Critical
Reporter: Andrew Yonce Assignee: Juan Carlos GarcĂ­a del Canto
Resolution: Works as Designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

ubuntu 16.04
eclipse neon 3

Reference URL: http://docs.spring.io/spring-roo/docs/2.0.0.RC1/reference/html/


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.

Generated at Tue Feb 25 19:28:48 UTC 2020 using Jira 7.13.8#713008-sha1:1606a5c1e7006e1ab135aac81f7a9566b2dbc3a6.