-
Type:
Bug
-
Status: Closed
-
Resolution: Won't Fix
-
Affects Version/s: Master
-
Fix Version/s: None
-
Component/s: Objects
-
Labels:
-
Fix Priority:4
Summary:
Relationship Many to Many is not working with a Native Object
Steps to Reproduce:
- Go to Object Admin
- Create an Object with a field
- Create a Relationship Many to Many with the User Native Object
- Create a Layout to include the Relationship tab and set it as default
- Publish the Object
- Go to the created object and add an entry
- Click to view the entry
- Click on the Relationship tab
- Click to add an entry
Expected Result:
There is no error message on Step 8 and entries are displayed on Step 9
Actual Result:
Error message is displayed on Step 8 and entries are not displayed on Step 9
2021-10-19 20:10:28.313 ERROR [http-nio-8080-exec-8][FrontendClayApplication:116] java.lang.IllegalArgumentException: No object related models provider found with key com.liferay.portal.kernel.model.User#manyToMany java.lang.IllegalArgumentException: No object related models provider found with key com.liferay.portal.kernel.model.User#manyToMany at com.liferay.object.internal.related.models.ObjectRelatedModelsProviderRegistryImpl.getObjectRelatedModelsProvider(ObjectRelatedModelsProviderRegistryImpl.java:50) ~[?:?] at com.liferay.object.web.internal.object.entries.frontend.taglib.clay.data.set.data.provider.RelatedModelsDataSetDataProvider.getItems(RelatedModelsDataSetDataProvider.java:70) ~[?:?] at com.liferay.frontend.taglib.clay.internal.jaxrs.application.FrontendClayApplication.getClayDataSetData(FrontendClayApplication.java:104) [bundleFile:?] ...
Verified on master: 5651d7d71bbff210e87d1c638ddc260b8aacc1a3
- mentioned in
-
Page Loading...