niwadhwa / bugzilla-vcs

Automatically exported from code.google.com/p/bugzilla-vcs
0 stars 0 forks source link

hook.pl breaks: add_commit not found with bugzilla 4.4 #32

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. call hook.pl

What is the expected output? What do you see instead?
The commit should be added to bugzilla.

instead:
Error: Bugzilla Error: (-32601) The requested method 'VCS.add_commit' was not 
found.  

What version of the product are you using? On what operating system?
This happens after the upgrade from bugzilla 4.2 to 4.4.9+

Please provide any additional information below.

This is due to a new check in Bugzilla 4.4
Adding the following to "extensions/VCS/lib/WebService.pm" solved the problem:
==========
use constant PUBLIC_METHODS => qw( add_commit );
==========

Original issue reported on code.google.com by 23.14...@gmail.com on 15 May 2015 at 10:23