Skip to content

Commit b8d6005

Browse files
do not include encoded ids in invocation report email
1 parent 6fe07ab commit b8d6005

1 file changed

Lines changed: 7 additions & 11 deletions

File tree

lib/galaxy/workflow/errors.py

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
This error report was sent from the Galaxy instance hosted on the server
2121
"${host}"
2222
-----------------------------------------------------------------------------
23-
This is in reference to workflow invocation id ${invocation_id} (${invocation_id_encoded}) from history id ${history_id} (${history_id_encoded})
23+
This is in reference to workflow invocation id ${invocation_id_encoded} from history id ${history_id_encoded}
2424
-----------------------------------------------------------------------------
2525
You should be able to view the history associated with the workflow invocation (${invocation_id_encoded}) for workflow
2626
@@ -47,9 +47,9 @@
4747
<h3>Error Localization</h3>
4848
<table style="margin:1em">
4949
<tbody>
50-
<tr><td>Workflow</td><td><a href="${workflow_view_link}">${workflow_name} (${workflow_id}) (${workflow_id_encoded})</a></td></tr>
51-
<tr style="background-color: #f2f2f2"><td>History</td><td><a href="${history_view_link}">${history_id} (${history_id_encoded})</a></td></tr>
52-
<tr><td>Workflow Invocation</td><td><a href="${invocation_view_link}">${invocation_id} (${invocation_id_encoded})</a></td></tr>
50+
<tr><td>Workflow</td><td><a href="${workflow_view_link}">${workflow_name} (${workflow_id_encoded})</a></td></tr>
51+
<tr style="background-color: #f2f2f2"><td>History</td><td><a href="${history_view_link}">${history_id_encoded}</a></td></tr>
52+
<tr><td>Workflow Invocation</td><td><a href="${invocation_view_link}">${invocation_id_encoded}</a></td></tr>
5353
</tbody>
5454
</table>
5555
@@ -67,12 +67,12 @@
6767
6868
<table style="margin:1em">
6969
<tbody>
70-
<tr><td>Invocation ID</td><td>${invocation_id} (${invocation_id_encoded})</td></tr>
70+
<tr><td>Invocation ID</td><td>${invocation_id_encoded}</td></tr>
7171
<tr style="background-color: #f2f2f2"><td>Last Update</td><td>${invocation_update_time}</td></tr>
7272
<tr><td>Scheduling State</td><td>${invocation_scheduling_state}</td></tr>
73-
<tr style="background-color: #f2f2f2"><td>Workflow ID</td><td>${workflow_id} (${workflow_id_encoded})</td></tr>
73+
<tr style="background-color: #f2f2f2"><td>Workflow ID</td><td>${workflow_id_encoded}</td></tr>
7474
<tr><td>Workflow Version</td><td>${workflow_version}</td></tr>
75-
<tr style="background-color: #f2f2f2"><td>Stored Workflow ID</td><td>${stored_workflow_id} (${stored_workflow_id_encoded})</td></tr>
75+
<tr style="background-color: #f2f2f2"><td>Stored Workflow ID</td><td>${stored_workflow_id_encoded}</td></tr>
7676
</tbody>
7777
</table>
7878
@@ -137,17 +137,13 @@ def create_report(self, user, email="", message="", redact_user_details_in_bugre
137137

138138
report_variables = dict(
139139
host=host,
140-
invocation_id=self.invocation.id,
141140
invocation_id_encoded=invocation_id_encoded,
142141
invocation_view_link=invocation_view_link,
143142
invocation_update_time=invocation_update_time,
144143
invocation_scheduling_state=invocation_scheduling_state,
145144
history_id_encoded=history_id_encoded,
146-
history_id=self.history.id,
147145
history_view_link=history_view_link,
148-
stored_workflow_id=self.workflow.stored_workflow.id,
149146
stored_workflow_id_encoded=stored_workflow_id_encoded,
150-
workflow_id=self.workflow.id,
151147
workflow_id_encoded=workflow_id_encoded,
152148
workflow_version=workflow_version,
153149
workflow_view_link=workflow_view_link,

0 commit comments

Comments
 (0)