Clear invalid file references loaded from database.
GitOrigin-RevId: 12d060ea93146f62190d9fa97421a7931cf29b8d
This commit is contained in:
parent
9a40e695bb
commit
cf019bb59c
@ -151,7 +151,9 @@ void FullRemoteFileLocation::parse(ParserT &parser) {
|
||||
|
||||
if (has_file_reference) {
|
||||
parse(file_reference_, parser);
|
||||
// file_reference_.clear();
|
||||
if (file_reference_ == FileReferenceView::invalid_file_reference()) {
|
||||
file_reference_.clear();
|
||||
}
|
||||
}
|
||||
if (is_web) {
|
||||
variant_ = WebRemoteFileLocation();
|
||||
|
Loading…
Reference in New Issue
Block a user