next up previous contents
Next: Bug3 Up: 除錯 Previous: Bug1   Contents

Bug2

  1. 編輯決定後,通知作者 email 範本,沒有出現編輯選擇的決定。查詢這些字串的檔案 emailTemplates.xml 並沒有加入決定字串。
    [root@csie5 ojs-isend]# grep 'Our decision is to:' -R locale/en_US/
    locale/en_US/emailTemplates.xml:Our decision is to:
    locale/en_US/emailTemplates.xml:Our decision is to:
    locale/en_US/emailTemplates.xml:Our decision is to:
    locale/en_US/emailTemplates.xml:Our decision is to:
    
  2. 加入四種決定
    [root@csie5 ojs-isend]# grep 'Our decision is to:' -R locale/en_US/emailTemplates.xml -B6
    	<email_text key="EDITOR_DECISION_ACCEPT">
    		<subject>Editor Decision</subject>
    		<body>{$authorName}:
    
    We have reached a decision regarding your submission to {$journalTitle}, "{$articleTitle}".
    
    Our decision is to: Accept Submission
    --
    	<email_text key="EDITOR_DECISION_REVISIONS">
    		<subject>Editor Decision</subject>
    		<body>{$authorName}:
    
    We have reached a decision regarding your submission to {$journalTitle}, "{$articleTitle}".
    
    Our decision is to: Revisions Required
    --
    	<email_text key="EDITOR_DECISION_RESUBMIT">
    		<subject>Editor Decision</subject>
    		<body>{$authorName}:
    
    We have reached a decision regarding your submission to {$journalTitle}, "{$articleTitle}".
    
    Our decision is to: Resubmit for Review
    --
    	<email_text key="EDITOR_DECISION_DECLINE">
    		<subject>Editor Decision</subject>
    		<body>{$authorName}:
    
    We have reached a decision regarding your submission to {$journalTitle}, "{$articleTitle}".
    
    Our decision is to: Decline Submission
    
  3. 加入後,通知作者 email 範本,仍然沒有出現編輯選擇的決定,原因應是期刊產生時,範本字串已存入 MySQL 資料庫中的資料表 email_templates_default_data,修改此表中以下四的 email_key 中的 body。
    EDITOR_DECISION_ACCEPT
    EDITOR_DECISION_REVISIONS
    EDITOR_DECISION_RESUBMIT
    EDITOR_DECISION_DECLINE
    



2016-10-25