-
Notifications
You must be signed in to change notification settings - Fork 4
Conversation
175de17
to
0456cc2
Compare
efec51b
to
92df987
Compare
7ed3651
to
1eb8e5a
Compare
e010cf3
to
a72b47c
Compare
1cc50a7
to
870816a
Compare
On failed MMS download, mNotificationInd is saved. On MMS deletion request, if the mNotificationInd exists, it is handled again. The nuntium-inject-push command gets a new flag --denial-count N (short -dN), which denies the test MMS servings for N times. This is a very dirty code, with additional comments. Non essential changes will be trimmed in the future.
…ad, store whole MNotificationInd
About squashing. There are about 80 commits. I tried to squash them to be less, but It's still about 40 commits. Or I should squash to 1 commit, with the description of this PR inside? |
@jezek IMO, we should have 1 commit per new feature or bug fix. But if a feature can be split in several stand-alone parts, we can keep them for easier reading |
@lduboeuf The issue is, I did a little bit of changes here and there, sometimes reverted some changes and then tried another approach, while fixing one thing, I fixed some other thing in the same commit. I've tried to squash similar commits together, but it resulted in 40+ commits, as mentioned in previous post. To make 4-5 commits would be as painful as rewriting it again from the start. So the squash to one commit would be the easiest & fastest way. But I will do, as the maintainers say. Who is in charge here? Do I need to ping someone, or are they aware of this? Note: I know, I made a lot changes, some are unrelated to this issue. To review this must be hell. I apologize and I will try to do anything to ensure smooth review & merging. I've tried to test nearly any error state that could happen during MMS handling and I'm using these PRs as daily-driver without any issues and I think @lduboeuf does too (correct me if I'm wrong). |
Maybe @dobey can tell. Confirmed no issues so far and it works well for me as well. |
Hello. |
@gbdomubpkm
and reboot |
@lduboeuf |
@jezek I think having 40+ commits is still better for review than 84. If possible, squash changes that cancel each other if any. I see you added a bunch of new logging messages with "jezek" tag - those probably should be either prettified to look same with rest of debug output or removed. On unrelated note, I came here trying to debug push parsing issue with Tele2 SE: https://paste.ubuntu.com/p/QhCd57JGsB/. It seems to fail with Download issues: org.freedesktop.DBus.Error.InvalidArgs: Invalid URL: '' on both original and your rewrite, so not directly related, but maybe you have an idea what could be wrong given the scope of changes. |
That's what I tried to do and ended up with 40+ commits.
All the logging messages with "jezek" tag, are removed in the last commit.
The error comes from *MNotificationInd.DownloadContent function called in Note: the log on pastebin shows the "jezek" tag logs, which are all removed in las commit of this PR. Do you use the latest PR version? |
583ecf0
to
a4fcb8c
Compare
Something is wrong with the build version, that explain the issue @NotKit has with "jezek" logs. |
awesome, that was only that ^ ^. I'm surprised thought that debian don't check for Changelog formatting |
@lduboeuf you mean it's working now? Thank you for spotting my mistake. |
Yes, back to a working state :) |
@jezek i have a use case where the message is staying in the "pending state" ( so we can't click redownload button anymore ) even after reboot. It is with bad signal and by putting wrong info in MMS settings nunitum logs: |
related issue: ubports/ubuntu-touch#1761 |
This one is on me. In I will fix it, when i have my issues sorted (and someone didn't fix it before me 😉 ). |
I'm having this issue too (org.freedesktop.DBus.Error.InvalidArgs: Invalid URL: '' ). Dev / Pixel3a running PR_ofono_28 (testing some APN issue fixes). Outbound mms are working, my inbound fails with oops. If I grab the url from nuntium log, I can successfully wget the file. Any luck finding the source? Thanks! PS: sorry for putting this here ... I know it doesn't have anything to do with this PR as I don't have re-download option.... but not sure where else to go? |
Since we have no one available doing an actual Go code review, but it is piece of a puzzle, I'd readily take the heat in case things go wrong. When the things in other places are taken care of I'd gladly merge it. |
Note: This PR is accompanied by ubports/telepathy-ofono#20, gitlab/ubports/core/history-service#8, ubports/telephony-service#20 and ubports/messaging-app#260
Note: Some more reading on forum: https://forums.ubports.com/topic/5100/the-mms-lost-story/39
Note: The MMS deletion request mentioned above comes automatically after mark read request from
messaging-app
and not after message delete action in the app.