calculate and update the version of the encryption signature correctly#22267
calculate and update the version of the encryption signature correctly#22267DeepDiver1975 merged 2 commits intomasterfrom
Conversation
…e a proper version if we move the file over to the original location
|
By analyzing the blame information on this pull request, we identified @LukasReschke, @DeepDiver1975 and @nickvergessen to be potential reviewers |
|
will write/update unit test... but please test this already if it fixes all the issues. @PVince81 maybe you can run smashbox against it? Thanks! |
|
Smashing: ⏳ |
4cbb044 to
a07ecba
Compare
{
"reqId": "byzACVvfhAscHVi4RgP8",
"remoteAddr": "10.0.2.2",
"app": "PHP",
"message": "Call to a member function update() on null at \/home\/nickv\/ownCloud\/master\/core\/lib\/private\/files\/storage\/wrapper\/encryption.php#263",
"level": 3,
"time": "2016-02-10T10:34:24+00:00"
}Exception when trying to delete: |
|
Unit tests fail as well, so that should help finding the issue |
a07ecba to
ee7f564
Compare
…t other apps like files_versions still get the old signature version
ee7f564 to
9dc759b
Compare
|
OK, this version should hopefully work for all tests. I'm not completely happy with the solution but I have no better idea at the moment and it also clean up some stuff (e.g. no more |
|
Did some kinda extensive smoke testing locally. Worked fine 👍 |
|
Smashbox: ✅ |
|
That looks good, even with versions: Tested after upgrading with existing encrypted versions. |
|
I also checked that the version files can still be downloaded. 👍 |
calculate and update the version of the encryption signature correctly
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
fix #22260
steps to test:
cc @PVince81 @LukasReschke