Hmm, seems there is widespread confusion about that then, as Israel seemed to believe they were at war:
“Oron Shaul was killed during the 2014 Gaza war, known in Israel as Operation Protective Edge. Seven soldiers were killed in a deadly incident in Gaza City’s Shejaiya neighborhood, including Shaul, whose body was dragged away from the scene by Hamas operatives.” (Times of Israel)