Przeglądaj źródła

Fix failure of RedisTicketService to determine hasTicket

tags/v1.5.0
James Moger 10 lat temu
rodzic
commit
4d537b9d7d

+ 1
- 0
releases.moxie Wyświetl plik

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

+ 1
- 1
src/main/java/com/gitblit/tickets/RedisTicketService.java Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz