All email submissions get imported correctly during the fetch processes, however they don't show up in the jobtrack/clientname screen. They DO show up under admin/content/node/overview where it shows that the ticket has the "Language Neutral" option. If I create a jobtrack ticket on the site, and apply a language that is not "Language Neutral", then they do show up in the lists.
It seems like "Language Neutral" is rearing its nasty head again, and I would propose two possible solutions:
1) an additional field gets added to the Jobtrack Add Client page where (if the jobtrack node has been setup to enable multilingual) you can define the language for the client. This language gets applied to all email-submitted tickets upon node creation.
AND/OR
2) rework the code so language neutral nodes shows up on the clients jobtrack listings pages.
Comments
Comment #1
jwilson3improved the title of this issue.
Comment #2
jwilson3I scratched my own itch here...
In file jobtrack.module at line 699, at the very end of jobtrack_save_message() function, just before node_save($node);
I inserted one line:
The resulting code looks like this:
And this in fact solved the problem for me. Now when I submit a new ticket via email, and run cron (or the fetch function) a new ticket will automatically get the user accounts' language assigned to its node, and thus DOES show up in the jobtrack client's ticket listings.
Would be awesome if you could add this into the next version!
Is a patch file necessary here? i hope not ;)
Comment #3
jeremy commentedExcellent, thanks for following up to your bug report with a fix! Fix committed.