Details
-
Bug
-
Status: Closed
-
Resolution: Fixed
-
Master
-
4
-
Regression Bug
Description
Steps:
- Add the following to your portal-ext.properties before starting portal:
- feature.flag.
LPS-135430=true - feature.flag.
LPS-162086=true
- feature.flag.
- Navigate to Global Menu > Control Panel > Configuration > System Settings > Platform > Third Party > Site Scope > Salesforce Integration
- Fill out the fields and click Save
- Contact the BPM team for credentials
- Navigate to Global Menu > Control Panel > Object > Objects
- Create an Object titled "My Object" with the storage type set to "Salesforce"
- Go to "My Object" and create a new custom text field
- Click on text field
- Change the External Reference Code to "asdf"
- Click Save
Expected result:
Expected the ERC to be updated to "asdf"
Actual result:
Error message seen on the screen: "This name is already in use. Try another one."
The following is thrown in the console:
WARN [http-nio-8080-exec-1][BaseExceptionMapper:81] Problem {detail=null, status=Bad Request, title=Duplicate name a, type=ObjectFieldNameException.MustNotBeDuplicate}
com.liferay.object.exception.ObjectFieldNameException$MustNotBeDuplicate: Duplicate name a
at com.liferay.object.service.impl.ObjectFieldLocalServiceImpl._validateName(ObjectFieldLocalServiceImpl.java:1093) ~[?:?]
at com.liferay.object.service.impl.ObjectFieldLocalServiceImpl._addObjectField(ObjectFieldLocalServiceImpl.java:679) ~[?:?]
at com.liferay.object.service.impl.ObjectFieldLocalServiceImpl.addCustomObjectField(ObjectFieldLocalServiceImpl.java:127) ~[?:?]
Attachments
Issue Links
- is caused by
-
LPS-166202 It's not possible to edit the object field name when updating a field
- Closed
- mentioned in
-
Page Loading...