Add DAV repair step to fix calendar data#2273
Conversation
|
@rullzer, thanks for your PR! By analyzing the history of the files in this pull request, we identified @DeepDiver1975, @nickvergessen and @LukasReschke to be potential reviewers. |
4a43f4b to
cf30b85
Compare
| STATUS:CONFIRMED | ||
| SEQUENCE:0 | ||
| SUMMARY:Ein Geburtstag | ||
| DTSTART:20151223T173000Z |
There was a problem hiding this comment.
break here and on CREATED as well?
There was a problem hiding this comment.
You mean replace with DTSTART;VALUE=:20151223T173000Z ?
There was a problem hiding this comment.
Yeah, if that is also something that should be fixed from broken iOS event
There was a problem hiding this comment.
Well basically the ;VALUE=: is just invalid. (Type hinting can go on almost any field). The regex is simple and just replaces that.
I can add it to DTSTART as well if you prefer
cf30b85 to
55f0197
Compare
| } | ||
|
|
||
| public function run(IOutput $output) { | ||
| $this->userManager->callForSeenUsers(function (IUser $user) { |
There was a problem hiding this comment.
Could you add a check, that this is only done once? Otherwise on every minor upgrade this is re-inserted.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
55f0197 to
6f5316e
Compare
Current coverage is 56.91% (diff: 94.44%)@@ master #2273 diff @@
==========================================
Files 1190 1192 +2
Lines 71729 72173 +444
Methods 7294 7320 +26
Messages 0 0
Branches 1213 1309 +96
==========================================
+ Hits 40913 41078 +165
- Misses 30816 31093 +277
- Partials 0 2 +2
|
|
I inserted following event into the calendar: Then did an @rullzer Any ideas? |
|
@MorrisJobke mmm maybe something else is still broken. I'll have a look soon. |
|
@MorrisJobke I can't reproduce that. What I did:
|
|
@rullzer Can we move that to 12? I'd prefer to consider 11 closed for any non-critical merges. |
|
Uhm. We'll sure as we mitigated the upgrade bug. But not having this means some people can still have invalid data in the db. But fine by me |
|
@MorrisJobke lets get this in. Then we can take a look at your issue separatly @nickvergessen @LukasReschke good to go from you? |
MorrisJobke
left a comment
There was a problem hiding this comment.
At least fixes some cases 👍
|
Stable11 in #2807 |
Should fix #2264
We add a live repair step to revalidate all calendar entries. Because some might have invalid vcard data in them.
@MorrisJobke @LukasReschke as discussed.