How can i change dimension of insight object type name?

Hy everybody! 

I'm trying to import LDAP structure to my insight scheme by standart function "LDAP Structure Import".  I'm getting the error

Error

ConnectionInsightException: LDAP connection failed

In catalina logs i found the following:

 

2017-07-31 14:21:10,021 http-nio-8080-exec-10 ERROR A.Ivanov 861x14391x1 1vm8kos 194.186.195.46,127.0.0.1 /rest/insight/1.0/config/ldap/syncstru
cture/110 [c.r.j.p.i.s.imports.ldap.LDAPIntegrationServiceImpl] Error in ldap connection:
com.riadalabs.jira.plugins.insight.common.exception.ValidationInsightException: ValidationInsightException: Validation errors were found: Errors:
{name=Name must contain at least 2 and max 50 characters}
Error Messages: []
at com.riadalabs.jira.plugins.insight.services.core.AbstractService.validateTransferObject(AbstractService.java:1032)
at com.riadalabs.jira.plugins.insight.services.core.impl.ObjectTypeServiceImpl.storeObjectTypeBeanChild(ObjectTypeServiceImpl.java:134)
at sun.reflect.GeneratedMethodAccessor2159.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.atlassian.activeobjects.tx.TransactionalProxy.invoke(TransactionalProxy.java:60)
at com.atlassian.activeobjects.tx.TransactionalProxy.access$000(TransactionalProxy.java:18)
at com.atlassian.activeobjects.tx.TransactionalProxy$1.doInTransaction(TransactionalProxy.java:49)
at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:21)
at com.atlassian.jira.DefaultHostContextAccessor.doInTransaction(DefaultHostContextAccessor.java:34)
... 2 filtered
at java.lang.reflect.Method.invoke(Method.java:498)
at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26)
at com.sun.proxy.$Proxy89.doInTransaction(Unknown Source)
... 2 filtered
at java.lang.reflect.Method.invoke(Method.java:498)
at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java
:136)
at com.sun.proxy.$Proxy89.doInTransaction(Unknown Source)
at com.atlassian.sal.core.transaction.HostContextTransactionTemplate.execute(HostContextTransactionTemplate.java:18)
... 2 filtered
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)
at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70)
at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
at com.sun.proxy.$Proxy3262.executeInTransaction(Unknown Source)
at com.atlassian.activeobjects.tx.TransactionalProxy.executeInTransaction(TransactionalProxy.java:46)
at com.atlassian.activeobjects.tx.TransactionalProxy.invokeInTransaction(TransactionalProxy.java:39)
at com.atlassian.activeobjects.tx.TransactionalProxy.invoke(TransactionalProxy.java:31)
at com.sun.proxy.$Proxy3495.storeObjectTypeBeanChild(Unknown Source)
at com.riadalabs.jira.plugins.insight.services.imports.ldap.LDAPIntegrationServiceImpl.createObjectType(LDAPIntegrationServiceImpl.java:93
1)
at com.riadalabs.jira.plugins.insight.services.imports.ldap.LDAPIntegrationServiceImpl.createStructure(LDAPIntegrationServiceImpl.java:595
)
at com.riadalabs.jira.plugins.insight.services.imports.ldap.LDAPIntegrationServiceImpl.syncStructure(LDAPIntegrationServiceImpl.java:557)
at com.riadalabs.jira.plugins.insight.services.imports.ldap.LDAPIntegrationServiceImpl.doSyncRoutine(LDAPIntegrationServiceImpl.java:498)
at com.riadalabs.jira.plugins.insight.services.imports.ldap.LDAPIntegrationServiceImpl.synchronizeObjectType(LDAPIntegrationServiceImpl.ja
va:135)
... 2 filtered

..............

 Really, my structure have OUs with names longer than 50 characters.

How can i change dimension of insight object type name?

1 answer

Hi Pavel, 

This is not possible, the name has to be between 2 and 50 characters.

Best Regards
Alexander

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 31, 2018 in Marketplace Apps

Marketplace Spotlight: Zephyr

Hello Atlassian Community! Each month, we run a series of Spotlights to highlight Marketplace vendors and apps that our team thinks this Community would find valuable. In last month's Spotlig...

344 views 0 1
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you