-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
failure to send if “Send As” > 15 characters #58
Comments
@ncolton, take a better look at the error. "From name" is the " Send As" field in the global plugin configuration. Maybe you can try shortening that value? |
I tested this on the last 4 versions of Jenkins... |
After I updated the " Send As" field in the global plugin configuration, although UI shows it's updated, from jenkins log hipchat plugin is still using old 'Send As' name. Even jenkins restart won't update the value. I have to remove hipchat plugin, delete jenkins.plugins.hipchat.HipChatNotifier.xml, re-install hipchat plugin again to make it take effect. |
Yes. I understand that. I failed to communicate that the issue for the plug-in is that it does not note any size restriction, does not limit the length of the Send As value that is settable, and does not make it obvious / clear that a Send As value beyond a certain character limit is a problem, and is the reason that messages aren't being sent through HipChat.
Does this mean that longer names are now useable? Not quite sure what you are saying here. Sorry my response took so long! |
This is the limit set on the Hipchat API -- https://www.hipchat.com/docs/api/method/rooms/message "Name the message will appear be sent from. Must be less than 15 characters long. May contain letters, numbers, -, _, and spaces." |
Having this same problem, and like @killuazhu mentioned, Send As refuses to change according to the log althouogh the config page and xml files are updated. I tried his method or deleting xml and re-installing plugin to no avail. Stuck w/o HC notifications at the moment, I hope someone can fix this bugish. |
Perhaps it may help to clarify that my issue is not with the behavior, but instead with the log message being less helpful than it could be. Without knowing that the “Send As” configuration field is the “From name” the error message refers to, solving the problem is very difficult. No indication in the user interface as to the limit, and the user interface allowing the setting of a “Send As” value longer than that permitted by the HipChat API, by lacking information and protection against this, increases the likelihood that users will encounter this problem. |
Messages fail to be sent if the “Send As” value is greater than 15 characters:
The text was updated successfully, but these errors were encountered: