-
Notifications
You must be signed in to change notification settings - Fork 0
LPD-31852 Site Navigation Menu REST API - Name & Link #562
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
postNavigationMenu does not contain navigationMenuItems since they are added calling local service instead of through the POST call.
…ring tearDownClass
… so it uses _equals helper method instead of Objects.deepEquals to compare arrays of Navigation Menu Items. This is needed because Navigation Menu Items returned contain fields that are not present in the post request.
…Menu Items including custom fields
… or without Navigation menu Items
…ion Menu Item is added without Navigation Menu Items, since these are later added via service calls
… is generated including Navigation Menu Items
… and verify they are returned when getting a Navigation Menus page
…L since a StackOverflowError is happening in the generated testing code. Without this commit the following tests fail: - NavigationMenuResourceTest. testGraphQLDeleteNavigationMenu - NavigationMenuResourceTest. testGraphQLGetNavigationMenu - NavigationMenuResourceTest. testGraphQLGetNavigationMenuNotFound - NavigationMenuResourceTest. testGraphQLGetSiteNavigationMenusPage - NavigationMenuResourceTest. testGraphQLPostSiteNavigationMenu testGraphQLDeleteNavigationMenu java.lang.StackOverflowError at java.lang.Class.getDeclaredFields(Class.java:1915) at com.liferay.petra.reflect.ReflectionUtil.getDeclaredFields(ReflectionUtil.java:33) at com.liferay.headless.delivery.resource.v1_0.test.BaseNavigationMenuResourceTestCase.getDeclaredFields(BaseNavigationMenuResourceTestCase.java:1371) at com.liferay.headless.delivery.resource.v1_0.test.BaseNavigationMenuResourceTestCase.getGraphQLFields(BaseNavigationMenuResourceTestCase.java:1211) at com.liferay.headless.delivery.resource.v1_0.test.BaseNavigationMenuResourceTestCase.getGraphQLFields(BaseNavigationMenuResourceTestCase.java:1210) at com.liferay.headless.delivery.resource.v1_0.test.BaseNavigationMenuResourceTestCase.getGraphQLFields(BaseNavigationMenuResourceTestCase.java:1210) testGraphQLGetNavigationMenu java.lang.StackOverflowError at java.lang.reflect.Field.getAnnotation(Field.java:1120) at com.liferay.headless.delivery.resource.v1_0.test.BaseNavigationMenuResourceTestCase.getGraphQLFields(BaseNavigationMenuResourceTestCase.java:1199) at com.liferay.headless.delivery.resource.v1_0.test.BaseNavigationMenuResourceTestCase.getGraphQLFields(BaseNavigationMenuResourceTestCase.java:1210) at com.liferay.headless.delivery.resource.v1_0.test.BaseNavigationMenuResourceTestCase.getGraphQLFields(BaseNavigationMenuResourceTestCase.java:1210) testGraphQLGetNavigationMenuNotFound java.lang.StackOverflowError at java.lang.reflect.Field.getAnnotation(Field.java:1120) at com.liferay.headless.delivery.resource.v1_0.test.BaseNavigationMenuResourceTestCase.getGraphQLFields(BaseNavigationMenuResourceTestCase.java:1199) at com.liferay.headless.delivery.resource.v1_0.test.BaseNavigationMenuResourceTestCase.getGraphQLFields(BaseNavigationMenuResourceTestCase.java:1210) at com.liferay.headless.delivery.resource.v1_0.test.BaseNavigationMenuResourceTestCase.getGraphQLFields(BaseNavigationMenuResourceTestCase.java:1210) testGraphQLGetSiteNavigationMenusPage java.lang.StackOverflowError at java.lang.RuntimeException.<init>(RuntimeException.java:96) at com.liferay.petra.function.transform.TransformUtil.transform(TransformUtil.java:64) at com.liferay.headless.delivery.resource.v1_0.test.BaseNavigationMenuResourceTestCase.getDeclaredFields(BaseNavigationMenuResourceTestCase.java:1370) at com.liferay.headless.delivery.resource.v1_0.test.BaseNavigationMenuResourceTestCase.getGraphQLFields(BaseNavigationMenuResourceTestCase.java:1211) at com.liferay.headless.delivery.resource.v1_0.test.BaseNavigationMenuResourceTestCase.getGraphQLFields(BaseNavigationMenuResourceTestCase.java:1210) at com.liferay.headless.delivery.resource.v1_0.test.BaseNavigationMenuResourceTestCase.getGraphQLFields(BaseNavigationMenuResourceTestCase.java:1210) testGraphQLPostSiteNavigationMenu java.lang.StackOverflowError at java.lang.RuntimeException.<init>(RuntimeException.java:96) at com.liferay.petra.function.transform.TransformUtil.transform(TransformUtil.java:64) at com.liferay.headless.delivery.resource.v1_0.test.BaseNavigationMenuResourceTestCase.getDeclaredFields(BaseNavigationMenuResourceTestCase.java:1370) at com.liferay.headless.delivery.resource.v1_0.test.BaseNavigationMenuResourceTestCase.getGraphQLFields(BaseNavigationMenuResourceTestCase.java:1211) at com.liferay.headless.delivery.resource.v1_0.test.BaseNavigationMenuResourceTestCase.getGraphQLFields(BaseNavigationMenuResourceTestCase.java:1210) at com.liferay.headless.delivery.resource.v1_0.test.BaseNavigationMenuResourceTestCase.getGraphQLFields(BaseNavigationMenuResourceTestCase.java:1210)
… ensure backward compatibility
…e the third element, we don't need to iterate for all the stack traces
Please resolve conflicts so we can continue reviewing and processing. Created by |
29 similar comments
Please resolve conflicts so we can continue reviewing and processing. Created by |
Please resolve conflicts so we can continue reviewing and processing. Created by |
Please resolve conflicts so we can continue reviewing and processing. Created by |
Please resolve conflicts so we can continue reviewing and processing. Created by |
Please resolve conflicts so we can continue reviewing and processing. Created by |
Please resolve conflicts so we can continue reviewing and processing. Created by |
Please resolve conflicts so we can continue reviewing and processing. Created by |
Please resolve conflicts so we can continue reviewing and processing. Created by |
Please resolve conflicts so we can continue reviewing and processing. Created by |
Please resolve conflicts so we can continue reviewing and processing. Created by |
Please resolve conflicts so we can continue reviewing and processing. Created by |
Please resolve conflicts so we can continue reviewing and processing. Created by |
Please resolve conflicts so we can continue reviewing and processing. Created by |
Please resolve conflicts so we can continue reviewing and processing. Created by |
Please resolve conflicts so we can continue reviewing and processing. Created by |
Please resolve conflicts so we can continue reviewing and processing. Created by |
Please resolve conflicts so we can continue reviewing and processing. Created by |
Please resolve conflicts so we can continue reviewing and processing. Created by |
Please resolve conflicts so we can continue reviewing and processing. Created by |
Please resolve conflicts so we can continue reviewing and processing. Created by |
Please resolve conflicts so we can continue reviewing and processing. Created by |
Please resolve conflicts so we can continue reviewing and processing. Created by |
Please resolve conflicts so we can continue reviewing and processing. Created by |
Please resolve conflicts so we can continue reviewing and processing. Created by |
Please resolve conflicts so we can continue reviewing and processing. Created by |
Please resolve conflicts so we can continue reviewing and processing. Created by |
Please resolve conflicts so we can continue reviewing and processing. Created by |
Please resolve conflicts so we can continue reviewing and processing. Created by |
Please resolve conflicts so we can continue reviewing and processing. Created by |
master