Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: a14700a84c2c544bd00ae2437d3d04b9a39fdd36 https://github.com/openSUSE/open-build-service/commit/a14700a84c2c544bd00ae2... Author: Evan Rolfe <evanrolfe@gmail.com> Date: 2017-09-01 (Fri, 01 Sep 2017) Changed paths: M src/api/app/models/event/base.rb M src/api/app/models/event/comment.rb A src/api/spec/models/event/comment_spec.rb Log Message: ----------- [api][webui] Fix Event creation when comment is too long. The max char length of comment.body is 65535 but the max char length of events.payload is also 65535. Since the payload contains the comment body and other data, its possible that the comment body will not fit in the event payload. This commit adds a callback which shortens the comment body if it is necessary to fit it in the payload. Commit: 92f913c38fdfc3e8e6a3f973034089e2f698bd08 https://github.com/openSUSE/open-build-service/commit/92f913c38fdfc3e8e6a3f9... Author: Henne Vogelsang <hvogel@opensuse.org> Date: 2017-09-06 (Wed, 06 Sep 2017) Changed paths: M src/api/app/models/event/base.rb M src/api/app/models/event/comment.rb A src/api/spec/models/event/comment_spec.rb Log Message: ----------- Merge pull request #3740 from evanrolfe/fix/event_comment_payload_length [api][webui] Fix Event creation when comment is too long. Compare: https://github.com/openSUSE/open-build-service/compare/8db69e89e0c5...92f913...