Description of problem: Given a JBossEWS-1.0 app, it fails to restore its snapshot to an existing app. Version-Release number of selected component (if applicable): devenv_3927 How reproducible: always Steps to Reproduce: 1. create a JBossEWS-1.0 app 2. create a new page under src/main/webapp/ dir with the following code: <--------testpage.jsp--------> <html> <head><title>WebPage factory</title></head> <body> <% out.println("version #num#"); %> </body> </html> <----------------------------> 3. change the #num# string to "1" 4. push the change 5. check the testpage.jsp page to see if the change takes effect (print "version 1") 6. save a snapshot of this app 7. change the output string to "version 2" 8, push the change 9. check if the output string becomes "version 2" in testpage.jsp 10. restore this app with the tarball saved in Step 6 11. check the testpage to see if it prints "version 1". Actual results: In Step 5 and 9, the page was changed as expected. However, although the CLI showed the restoration was successful, it actually failed to restore the testpage.jsp (of "version 1") in Step 11. Expected results: It should be successful to restore the snapshot of a JBossEWS-1.0 app to the existing one. Additional info:
PR submitted
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/ddfdc079af35838b20df8d02000ef66215198510 Fix bug 1021917: update snapshot/restore for new build/deployment
The bug is still reproducible in INT(devenv_3965).
I was also able to reproduce this bug in devenv_3967.
Works for me in devenv_3968
Verified this bug in INT(devenv_3971)