Subject: | Error display looks the same as success display |
Date: | Mon, 10 Mar 2014 17:04:19 -0400 |
To: | bug-RT-Extension-MandatoryOnTransition [...] rt.cpan.org |
From: | Jeff Blaine <jblaine [...] kickflop.net> |
This extension (perhaps historically also in others that I just have not
used yet) suffers from a message communication issue.
Setup:
'* -> resolved', ['CF.Whatever'],
Action:
I select "Comment"
I select 'Status: resolved', type in some comment text, and
submit the form without setting a value for the CF 'Whatever'
Displayed Behavior:
I am told that CF.Whatever must have a value before status can
change state to 'resolved'.
The message above is displayed in a *yellow box just like every
other general RT notice/message indicating success*
The form is redisplayed without *any* of my changes made.
Suggested Behavior:
I am told that CF.Whatever must have a value before status can
change state to 'resolved'.
The message above is displayed in a *pink or red box* and
some text is added indicating that the form has been redisplayed
with no changes saved yet and is awaiting re-submission.
Reasoning:
The 'errors' look just like normal historical RT 'info'
messages. Additionally, historically, all RT page displays
(to the best of my knowledge) reflect the data on disk.
This extension (others?) deviates from that behavior in that
is displaying the data again that HAS NOT been submitted yet.