{"push_id":1025278875,"size":1,"distinct_size":1,"ref":"refs/heads/od6.0","head":"cc16bc863ebd029a5b985866d12d52fce7e2f1d5","before":"84bc406c75c3dc2146222963e282285d0a45045c","commits":[{"sha":"cc16bc863ebd029a5b985866d12d52fce7e2f1d5","author":{"email":"9c8de26b97ee71b02d9feec977d617878a7b1b6b@users.noreply.github.com","name":"dingzheng-dgb"},"message":"[OD6.0]OD-251 Cannot find stored data when restoring a session with a horizon displayed\n\nSummary:\nActually it is not a bug. after appearing multi times of this message, the horizon session is restored.\n\nAfter investigation, the problem is caused by a new horizon without attributes which are called ValNames in the code. \nwhen doing restore session it will call calcRandomPosAttrib function in which it will appear the message\" Cannot find stored data\" if there \nare no attributes in the horizon. for a old horizon made by od4 or early od version, it will not call the function calcRandomPosAttrib. I think it is related \nto the new design of attributes item in horizon tree item.\n\nThe solution is simple. just remove the message box. The reason are:\n\nThe message box is existed in the code since 2003. I am not sure if it still suit for current design.\nCurrently the message box doesn't influence the result of horizon loading.\nThe message meaning doesn't match \"no attributes in horizon\"\nThe message will appear a several times. it bothers and confuses user.\nSo my opinion is removing the message box.\n\nTest Plan: Tests with restore horizon session without this problem any more.\n\nReviewers: nanne\n\nReviewed By: nanne\n\nDifferential Revision: https://phabricator.dgbes.com:8443/D9907","distinct":true,"url":"https://api.github.com/repos/OpendTect/OpendTect/commits/cc16bc863ebd029a5b985866d12d52fce7e2f1d5"}]}