Why does Categories for Bitbucket force tags to be lower Case?
The add-on does allow for lowercase or uppercase tags or a mix of both.
Tags are displayed using CSS
text-transform: capitalize;
which capitalizes the first letter of every word. This is merely visual.
When I try to add some categories and click "save" error http 500 is shown
Problem
When I go to project setings and try to add some categories and click "save", error http 500 is shown. ("Oops, an error occurred Please see your system administrator.")
Logs from Bitbucket:
2018-08-08 21:59:57,849 ERROR [http-nio-7990-exec-5] @5NIDT3x1319x295x0 abcdef 10.10.132.189,10.13.8.107 "POST /mvc/error500 HTTP/1.1" c.a.s.i.web.ErrorPageController There was an unhandled exception loading [/projects/TEST/settings]
java.lang.NullPointerException: null
at net.java.ao.EntityManager.create(EntityManager.java:375)
at com.atlassian.activeobjects.internal.EntityManagedActiveObjects.create(EntityManagedActiveObjects.java:92)
at com.atlassian.activeobjects.osgi.TenantAwareActiveObjects.create(TenantAwareActiveObjects.java:266)
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.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.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)
at de.communardo.plugin.stash.projectcategories.CategoryPersistenceServiceImpl.setProjectCategories(CategoryPersistenceServiceImpl.java:281)
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.stash.internal.sal.spi.HostContextAccessorImpl.doInTransaction(HostContextAccessorImpl.java:54)
at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26)
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.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.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)
...
Solution
Please check your database version. If you're using MySQL 5.7+ or MySQL 5.6.15 and earlier with Bitbucket 4.14, that's not supported. You can find further information on supported databases here.
Atlassian generally does not recommend MySQL for Bitbucket Server right now. We recommend PostgreSQL instead.
Why is my Categories License for 2000+ User not accepted?
If the Bitbucket Server is licensed for more than 2000 users (Datacenter license of Bitbucket), you will need to contact Atlassian, if you're a Partner or reseller, or your Atlassian Partner/reseller for a license. You have to fill in the form in order to receive a Datacenter license. Only Atlassian can create Data Center licenses. The licenses you can purchase via the Marketplace are only designed for a single server.
If you are not sure who's your next Atlassian Expert, you can consult the Atlassian Partner Site.
Why are commits and branches suddenly not visible (v.1.4.0 and lower)?
Problem
-
When loading a repositories- 'commits' or 'branches' screen, no data is returned
-
With Categories for Bitbucket enabled, the 'View public repositories' page also loses all of the project information, and the hyperlinks fail as the project slug becomes 'undefined' in the URI
Solution
This is due to a bug in our add-on that was fixed in version 1.4.3.
Have security vulnerabilities been identified and how were they fixed?
-
A DoS vulnerability was identified Categories for Bitbucket on 27 May 2021 affecting versions until 1.5.1.
-
The vulnerability allows actors (including anonymous users) to create high CPU load on a Bitbucket Data Center node, making the affected system slow and eventually unusable.
-
The vulnerability has been rated as P2 (High) according to the scale published under the Bugcrowd’s Vulnerability Rating Taxonomy (VRT).
-
-
Cross-site scripting vulnerabilities were identified Categories for Bitbucket on 12 November 2020 affecting versions until 1.5.0.
-
These security vulnerabilities could be exploited by users to inject JavaScript into project categories and repository categories definition. The malicious code would then be executed when viewing projects and repositories list.
-
The vulnerabilities have been rated as P2 (High) according to the scale published under the Bugcrowd’s Vulnerability Rating Taxonomy (VRT).
-
If you are using Categories for Bitbucket in one of the affected versions until 1.5.1 please upgrade the app to version 1.6.0.