Cannot update repository, when no default branch is given

Issue #940 new
created an issue


I experience the problem, that one cannot update a repository, when no default branch is given for a git repo. That can happen in case the repository is empty. Maybe not the strongest use case, but surprising when you start a repo.

here a line form the log file ....

2017-07-18 23:25:26.012:WARN:oejs.ServletHandler: javax.servlet.ServletException: Unrecognized field "defaultBranch" (Class sonia.scm.repository.Repository), not marked as ignorable| at [Source: org.eclipse.jetty.server.HttpInput@6a4a63bf; line: 1, column: 317] (through reference chain: sonia.scm.repository.Repository["defaultBranch"])

Cheers, Dietrich

Comments (0)

  1. Log in to comment