| Bug #32619 | unable expand mail queue items | ||
|---|---|---|---|
| Submitted: | 22 Nov 2007 11:56 | Modified: | 26 Nov 2007 19:42 |
| Reporter: | Andrejs Dubovskis | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | Eventum | Severity: | S3 (Non-critical) |
| Version: | 2.1 | OS: | Linux (Debian etch) |
| Assigned to: | Bryan Alsdorf | CPU Architecture: | Any |
[26 Nov 2007 19:42]
Bryan Alsdorf
Thanks for the report, this is now fixed in SVN.
[27 Nov 2007 16:29]
Jorey Bump
The new patch continues to fail with "unterminated regular expression literal" in expandable_cell.js. If I remove {literal} & {/literal} from the start and end of the file, it works as expected.
[28 Nov 2007 3:45]
Bryan Alsdorf
I should have been more clear, the solution for this was slightly more complex then the contributed patch. You can see the complete change here: http://svn.mysql.com/fisheye/changelog/eventum-gpl/?cs=3494

Description: While accessing the mail_queue.php and trying to expand any item got an error in the JavaScript console (function expand is not available) How to repeat: Open browser, choose any event having outgoing emails, choose 'mail queue log' and try to expand any email. Suggested fix: --- templates/mail_queue.tpl.html.071122 2006-06-22 07:57:58.000000000 +0300 +++ templates/mail_queue.tpl.html 2007-11-22 13:43:02.000000000 +0200 @@ -5,8 +5,8 @@ <div class="default" align="center">{t}Sorry, you do not have permission to view this page{/t}</div> {else} <script language="javascript"> -{include file="js/httpclient.js"} -{include file="js/expandable_cell.js"} +{include file="$app_path/js/httpclient.js"} +{include file="$app_path/js/expandable_cell.js"} </script> <form> <table bgcolor="#FFFFFF" width="100%" cellspacing="1" cellpadding="2" border="0">