Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-102429

UserServiceWhenAddingUserWithSpecialCharactersScreenNameTest Failed at testShouldNormalizeTheFriendlyURL

    Details

      Description

      https://testray.liferay.com/home/-/testray/subtasks/802169056/view?cur=1&delta=20&testraySubtaskId=802169056 

      [exec] com.liferay.user.service.test.UserServiceWhenAddingUserWithSpecialCharactersScreenNameTest > testShouldNormalizeTheFriendlyURL STARTED [exec] [exec] com.liferay.user.service.test.UserServiceWhenAddingUserWithSpecialCharactersScreenNameTest > testShouldNormalizeTheFriendlyURL FAILED [exec] com.liferay.portal.kernel.exception.UserScreenNameException$MustValidate: Screen name contains'apostrophes for user 39274 must validate with com.liferay.portal.kernel.security.auth.DefaultScreenNameValidator: The screen name cannot be an email address or a reserved word, such as postfix. It must contain only alphanumeric or the following special characters: -._\'#. [exec] at com.liferay.portal.service.impl.UserLocalServiceImpl.validateScreenName(UserLocalServiceImpl.java:6873) [exec] at com.liferay.portal.service.impl.UserLocalServiceImpl.validate(UserLocalServiceImpl.java:6601) [exec] at com.liferay.portal.service.impl.UserLocalServiceImpl.addUserWithWorkflow(UserLocalServiceImpl.java:971) [exec] at com.liferay.portal.service.impl.UserLocalServiceImpl.addUser(UserLocalServiceImpl.java:785) [exec] at sun.reflect.GeneratedMethodAccessor402.invoke(Unknown Source) [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [exec] at java.lang.reflect.Method.invoke(Method.java:498) [exec] at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66) [exec] at com.sun.proxy.$Proxy606.addUser(Unknown Source) [exec] at com.liferay.portal.kernel.service.UserLocalServiceWrapper.addUser(UserLocalServiceWrapper.java:310) [exec] at sun.reflect.GeneratedMethodAccessor402.invoke(Unknown Source) [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [exec] at java.lang.reflect.Method.invoke(Method.java:498) [exec] at com.liferay.portal.kernel.bean.ClassLoaderBeanHandler.invoke(ClassLoaderBeanHandler.java:66) [exec] at com.sun.proxy.$Proxy607.addUser(Unknown Source) [exec] at sun.reflect.GeneratedMethodAccessor402.invoke(Unknown Source) [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [exec] at java.lang.reflect.Method.invoke(Method.java:498) [exec] at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:50) [exec] at com.liferay.portal.spring.transaction.TransactionInterceptor.invoke(TransactionInterceptor.java:69) [exec] at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) [exec] at com.liferay.portal.service.ServiceContextAdvice.invoke(ServiceContextAdvice.java:60) [exec] at com.liferay.portal.spring.aop.AopMethodInvocationImpl.proceed(AopMethodInvocationImpl.java:57) [exec] at com.liferay.portal.spring.aop.AopInvocationHandler.invoke(AopInvocationHandler.java:49) [exec] at com.sun.proxy.$Proxy39.addUser(Unknown Source) [exec] at com.liferay.portal.kernel.service.UserLocalServiceUtil.addUser(UserLocalServiceUtil.java:295) [exec] at com.liferay.portal.kernel.test.util.UserTestUtil.addUser(UserTestUtil.java:265) [exec] at com.liferay.portal.kernel.test.util.UserTestUtil.addUser(UserTestUtil.java:229) [exec] at com.liferay.portal.kernel.test.util.UserTestUtil.addUser(UserTestUtil.java:287) [exec] at com.liferay.user.service.test.UserServiceWhenAddingUserWithSpecialCharactersScreenNameTest.testShouldNormalizeTheFriendlyURL(UserServiceWhenAddingUserWithSpecialCharactersScreenNameTest.java:94) [exec] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [exec] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [exec] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [exec] at java.lang.reflect.Method.invoke(Method.java:498) [exec] at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$2.evaluate(TestExecutorRunnable.java:234) [exec] at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26) [exec] at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) [exec] at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99) [exec] at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99) [exec] at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99) [exec] at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99) [exec] at com.liferay.portal.kernel.test.rule.AbstractTestRule$2.evaluate(AbstractTestRule.java:99) [exec] at com.liferay.portal.kernel.test.rule.TimeoutTestRule$1.evaluate(TimeoutTestRule.java:89)      [exec] at org.junit.rules.RunRules.evaluate(RunRules.java:20) [exec] at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable$1.evaluate(TestExecutorRunnable.java:143) [exec] at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59) [exec] at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59) [exec] at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59) [exec] at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59) [exec] at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59) [exec] at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59) [exec] at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59) [exec] at com.liferay.portal.kernel.test.rule.AbstractTestRule$1.evaluate(AbstractTestRule.java:59) [exec] at org.junit.rules.RunRules.evaluate(RunRules.java:20) [exec] at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable._execute(TestExecutorRunnable.java:181) [exec] at com.liferay.arquillian.extension.junit.bridge.server.TestExecutorRunnable.run(TestExecutorRunnable.java:95) [exec] at java.lang.Thread.run(Thread.java:745) [exec]
      

      Full log: https://testray.liferay.com/reports/production/logs/test-1-1/1569546234508/test-portal-acceptance-upstream(7.2.x-private)/376/modules-integration-postgresql10-jdk8/39/jenkins-console.txt.gz

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                patricia.perez Patricia Perez
                Reporter:
                tai.nguyen Tai Nguyen
                Participants of an Issue:
                Recent user:
                Csaba Turcsan
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  35 weeks ago

                  Packages

                  Version Package
                  7.1.X
                  7.2.X
                  7.2.1 CE GA2
                  Master