# HG changeset patch # User Sebastien Jodogne # Date 1449242326 -3600 # Node ID c8877965d67d3c316a346c48341117701affa727 # Parent 769178f0ab2c195a82df416f6655eee5c8634cea More tolerant "/series/.../ordered-slices" with broken series diff -r 769178f0ab2c -r c8877965d67d NEWS --- a/NEWS Fri Dec 04 12:45:07 2015 +0100 +++ b/NEWS Fri Dec 04 16:18:46 2015 +0100 @@ -2,6 +2,7 @@ =============================== * Fix modality worklists server if some fields are null +* More tolerant "/series/.../ordered-slices" with broken series Version 0.9.5 (2015/12/02) diff -r 769178f0ab2c -r c8877965d67d OrthancServer/SliceOrdering.cpp --- a/OrthancServer/SliceOrdering.cpp Fri Dec 04 12:45:07 2015 +0100 +++ b/OrthancServer/SliceOrdering.cpp Fri Dec 04 16:18:46 2015 +0100 @@ -320,7 +320,8 @@ if (instances_[i - 1]->GetIndexInSeries() == instances_[i]->GetIndexInSeries()) { // The current "IndexInSeries" occurs 2 times: Not a proper ordering - return false; + LOG(WARNING) << "This series contains 2 slices with the same index, trying to display it anyway"; + break; } }