-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mail Composer: Save draft #407
Comments
See EMail.ts line 610. What happens is that JPC |
@NeilRashbrook Could you help me out here, please? I'm stuck on this. |
You shouldn't be sending an
When sending an object across JPC, in order to accurately represent the object, all of its own properties also get sent, unless they begin with |
(I don't know what happened to that link, it looked fine in preview.)
|
We haven't run into this before because none of our front end calls pass classes as parameters and most of them also return primitive values or plain objects. One obvious exception is our |
Oh dear, circular reference time again... |
@NeilRashbrook Thanks, Neil, for the good patch. I've landed something very similar on master. We still have one problem: If I drag a file (e.g. a PDF file) into the mail composer as attachment, then save as draft, it saves apparently correctly. I can open the file while viewing the draft as message in the viewer (click on the attachment icon to open it in a local app). I can even re-open the draft, using the [Edit Draft] button, and the attachment shows up correctly in the mail composer again. However, I can then neither send nor save as draft again. I get error: |
I get |
Ah, I didn't see that error message. Thanks. Then the cause and fix is clear: I need to run |
I've pushed the changes. TODO: Draft does not get deleted on send, even though I try. There's something wrong with the message IDs, they don't match. |
Filed #413 about that |
No description provided.
The text was updated successfully, but these errors were encountered: