Explorar el Código

Fix failure of RedisTicketService to determine hasTicket

tags/v1.5.0
James Moger hace 10 años
padre
commit
4d537b9d7d
Se han modificado 2 ficheros con 2 adiciones y 1 borrados
  1. 1
    0
      releases.moxie
  2. 1
    1
      src/main/java/com/gitblit/tickets/RedisTicketService.java

+ 1
- 0
releases.moxie Ver fichero

@@ -14,6 +14,7 @@ r22: {
- Fix intermittent NPE in determining commit date in RefModel (issue-401)
- Fix closing ticket on push by parsing commit messages for closes|fixes (issue-404)
- Ensure the Lucene ticket index is updated on repository deletion.
- Fixed failure to properly determine hasTicket in RedisTicketService
changes:
- Specify the --dailyLogFile option for the Ubuntu and CentOS service scripts (issue-348)
- Improve logging for missing LDAP uid attribute when synchronizing (issue-394)

+ 1
- 1
src/main/java/com/gitblit/tickets/RedisTicketService.java Ver fichero

@@ -168,7 +168,7 @@ public class RedisTicketService extends ITicketService {
}
try {
Boolean exists = jedis.exists(key(repository, KeyType.journal, ticketId));
return exists != null && !exists;
return exists != null && exists;
} catch (JedisException e) {
log.error("failed to check hasTicket from Redis @ " + getUrl(), e);
pool.returnBrokenResource(jedis);

Cargando…
Cancelar
Guardar