Repository navigation
Conversation
There was a problem hiding this comment.
Any other app will go in that array in line 320
|
The code looks good. Curious to find out whether the LDAP upgrade you tested yesterday would work with this fix ? Also, how critical is it to get this on OC 8 too ? There is some risk of regression so I guess 8.0.1 is ok to give more time for testing. |
|
If it works, can you also add a unit test ? |
Will do a test today. But it should, sharing is filesystem-type, so LDAP should be up to date and running when sharing's turn comes.
We should check whether there are any other update routines that require user or file access. If so, they need to be changed (like we did with encryption) or we need this. I prefer to have it for 8.0.1 earliest in order to have some time for testing. |
|
@blizzz doesn't seem to work. I setup an OC 6 and enabled many apps (LDAP, calendar, contacts, antivirus, impress, text editor, etc) The upgrade page would show "upgrading" with a few steps (but no apps) and then suddenly it goes back to the update page and I have to click again. It never finishes. When I switched back to "stable7" the update went through and I saw calendar, contact apps being upgraded too. Maybe something wrong with the foreach: |
|
I debugged a bit and it seems that the "documents" app isn't upgrading. |
|
With the commit I just pushed the update to stable7 worked properly (I applied it there too). Shares and reshares are also still there, no suspicious storage entry.
|
|
after that I updated to this branch and it also worked. Note that the orginal issue might not be reproducible on the OC 7 -> OC 8 upgrade path because the files_sharing code that bugged isn't triggered (that was the code to convert the "Shared" folder to a regular folder for all users) |
|
@schiesbn ^ |
|
Fixes encryption key migration: #13950 |
|
So as discussed with @blizzz unit testing this is close to impossible due to the static classes. |
|
So how do we proceed ? I'd say merge for now, as unit tests are not possible. 👍 |
|
Maybe @jnfrmarks can also help testing |
|
Yes, I by accident posted to comments into the related issue instead of here: #12801 (comment) #12801 (comment) but basically @PVince81 summed it up. And one more tester is needed. |
|
@jnfrmarks is not available the next few days. |
|
@icewind1991 @MorrisJobke can you help testing ? Thanks. |
|
Can we please spend a few minutes on how to unit test this class? It's critical class and has to be unit tested - THX |
|
As discussed with @DeepDiver1975 this PR will be postponed, because the refactoring also conflicts with #14282. Instead we will for now port the OC 8.0 fix (#14041) to master, and eventually i will continue to work on it based on what's left from here. |
|
#14282 was merged so it might be possible to continue this, if needed |
|
It's WIP, i needed to let go of it for 8.1. |
|
@blizzz Do we want to split stuff out of this? To get some of your work into core? Maybe in smaller pieces? Would be nice to not lose this. |
|
That was the problem – i only intended to change a little piece, but this is knit together, I am afraid this needs such a big and complete deed. |
|
@blizzz do we want to revive this one? 🙊 |
|
@DeepDiver1975 actually, with the overhaul of the updater, I don't know whether this is all still applicable. |
|
meanwhile we have the app manager in core - no idea if interfaces match up .... rebase is a pain. Let's extract 1a6d61e and see where we are going ... |
|
this is already in master -> close |
|
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 for #12801 as suggested in #12801 (comment)
Did not test yet, open for discussion. We should make updating right this time and don't run into regressions. We were almost stumbling about a similar issue for OC 8, and at least one is still existing in OC 7.
What do you think @PVince81 @DeepDiver1975 @icewind1991 @LukasReschke