I have same issue.
Your assumption that it happen in repetier server is correct.
I have gcode created by cura, then I open g-code detail, edit line, close the editor and clicked on save g-code.
When I return to print view, I can only delete edited file and row has icon of loading file.