-
Notifications
You must be signed in to change notification settings - Fork 109
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
failed to parse message body #103
Comments
Hi @c0mputerking , looks like some kind of bug in our code. I'll have a look. |
looking at the code, I can't identify an easy culprit at the moment. Looks like it will be hard to track down. Maybe updating the dependency on our side will fix the bug. |
WOW that was quick, thank you so much for looking into this :) for me. As a side Note i had email support tickets working pretty good on 1.1 M8 ... however i rolled out a completely new Debian 9 system for the 1.1 upgrade, and just imported my database to the new version of Lavangna, which worked pretty nicely ... seemed to have missed mail ticket config setting however but not a biggy all my boards and an cards seemed import into the new system. |
the exception is launched when calling if (bodyPart.isMimeType("text/plain")) {
result = result + "\n" + bodyPart.getContent();
break;
} The exception said that the Folder is already closed, but currently I can't see how it's possible. |
looks like it's this issue: https://jira.spring.io/browse/INT-4299 |
Yes i saw that while googling before i posted :) however it was a bit over my head ... Hmmm also was there some kind of change in versions that would have caused this moving from 1.1.M8 or is just my luck with new install/import? |
@c0mputerking , we did update some dependencies, but currently I can't see how they are related to this issue. |
As a first test, could you try this snapshot version with the updated dependencies? |
as an alternative, we will need to extend edit: Or look at what could be possible with |
I can try the snapshot but is it stable or can/will it mess up my database? or should it just be as simple as putting my lavagna.sh file in the new snapshot dir |
it's stable, I've only updated the dependencies (see commit 0f6faa1 ). There are no others changes in the code. |
Sorry to be an amateur but i am guessing the dependencies are baked into Java somehow? ie my OS does not need any further packages to be installed? |
you are right, all the dependencies are in the ".war" archive. |
Ok testing snapshot just waiting for it to pickup the new email not sure how often that happens? |
should be each 5 minutes |
Ok just for testing i sent 2 emails one html and one plain text, i got the plain text one.
|
thanks for testing, I'm implementing the alternative solution (ugly, but I think it will work). |
Ok will we be alerted here? please not a huge rush, do not make it to ugly :) also does this correlate with the other bug i submitted some time ago? |
well, the uglyness is only due to the fact that I'll unfortunately need to import some code and modify it, as they don't provide any point to "inject" my custom code. It's unfortunate, but I hope it's temporary :). I'm pushing the code and a new snapshot in a few minutes. If you want to try :). (About the #100, I don't think so). |
…are able to handle the messages directly in the accept() method
New snapshot up: https://oss.sonatype.org/content/repositories/snapshots/io/lavagna/lavagna/1.2-SNAPSHOT/lavagna-1.2-20180616.204753-2-distribution.zip :) It should work now, I hope :) |
Ok seems to be working now :) bit different output now but i got an html message
|
If it work, then I'll make a stable release tomorrow :). Thank you for opening this issue (and testing, obviously) :D |
Looks like it is working ... however dis some testing |
Thank you for providing more information :).
|
would be cool if it added attachments to the cards as attachments may be a feature request ? |
sure, I'll create a new issue for that feature request :) |
done. I'll close this issue, thank you. :) |
Hello again all :) it has been awhile since posting here, I upgraded my system to version 1.1 anyways now having issues with mail tickets, apparently they are not being parsed correctly see error below. Please forgive me if i am (hopefully) overlooking something simple like a missing dependency on my system which is Debian 9
The text was updated successfully, but these errors were encountered: