gerrit/gerrit-server/src/main/java/com/google/gerrit/server/mail
Dave Borowitz 7f2991dc13 Skip migrating inline comments on missing patch set parents
In NoteDb, inline comments are stored on notes referring to the commit
containing that file. For a comment on the PARENT side of a patch set,
the migration process needs to look up the parent SHA-1; this lookup
will fail if the patch set SHA-1 is missing. The changes can be
otherwise migrated, although of course they may fail to render or
present other problems down the line.

This fix is slightly invasive because it changes the signature of
CommentsUtil#setCommentRevId to throw PatchListNotAvailableException,
allowing the downstream migration code to distinguish this case.

Bug: Issue 8552
Change-Id: I9bcd4f533f02fa20617d5c0b2b3264a8899e9f2c
2018-03-16 13:44:25 -04:00
..
receive Skip migrating inline comments on missing patch set parents 2018-03-16 13:44:25 -04:00
send Don't log a stacktrace when reading a LargeObjectTombstone 2018-02-24 09:53:12 +01:00
Address.java Remove 'final' from method signatures across gerrit. 2017-06-14 09:18:42 +02:00
EmailModule.java Move code to send emails into 'mail.send' package 2016-10-23 23:44:31 +00:00
EmailSettings.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
EmailTokenVerifier.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
Encryption.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
ListMailFilter.java ListMailFilter: Static import from Collectors 2017-12-15 16:20:52 +09:00
MailFilter.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00
MailUtil.java Remove unused ReviewDb from AccountResolver 2017-10-01 13:27:49 +01:00
MetadataName.java Use change number instead of change id for inbound email 2017-06-08 09:57:34 +02:00
SignedTokenEmailTokenVerifier.java Format all Java files with google-java-format 2017-02-07 10:04:39 +09:00