workflow default success/error messaging bug

Bug #1331258 reported by Cindy Lu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Invalid
Low
Unassigned

Bug Description

Default workflow success and failure messages are:

success_message = _("%s completed successfully.")
failure_message = _("%s did not complete.")
https://github.com/openstack/horizon/blob/master/horizon/workflows/base.py#L595

According to the class definition, failure message is supposed to be: "{{ workflow.name }} did not complete."

However, it ends up using the row.name and appearing as "demo did not complete."

When it should be "Edit project did not complete".

Please see attachment.

You can try this out for yourself by going to /admin/projects/workflows.py (https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/admin/projects/workflows.py#L346)
and commenting out the two success and failure messages.

Revision history for this message
Cindy Lu (clu-m) wrote :
Changed in horizon:
assignee: nobody → Ashish Chandra (ashish-chandra)
tags: added: error-reporting
Revision history for this message
Lin Hua Cheng (lin-hua-cheng) wrote :

removing assignee, no activity for a year

Changed in horizon:
importance: Undecided → Low
assignee: Ashish Chandra (ashish-chandra) → nobody
David Cusatis (dcusati)
Changed in horizon:
assignee: nobody → David Cusatis (dcusati)
Revision history for this message
David Cusatis (dcusati) wrote :

I'm not sure this bug is valid anymore because this file no longer exists - https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/admin/projects/workflows.py#L346

and the UI has changed such that the Admin panel no longer has a project tab, so I am unable to reproduce this bug.

Akihiro Motoki (amotoki)
Changed in horizon:
status: New → Invalid
assignee: David Cusatis (dcusati) → nobody
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.