more bug fixes...default content commit works all the way through now
This commit is contained in:
parent
0cda78d536
commit
5ee17a673f
2 changed files with 4 additions and 5 deletions
|
|
@ -207,7 +207,6 @@ sub www_commitVersionTagConfirm {
|
|||
my $tag = WebGUI::VersionTag->new($session, $tagId);
|
||||
if (defined $tag && $session->user->isInGroup($tag->get("groupToUse"))) {
|
||||
$tag->set({comments=>$session->form->process("comments", "textarea")});
|
||||
# $tag->commit;
|
||||
$tag->requestCommit;
|
||||
my $i18n = WebGUI::International->new($session, "VersionTag");
|
||||
my $ac = WebGUI::AdminConsole->new($session,"versions");
|
||||
|
|
|
|||
|
|
@ -66,22 +66,22 @@ The module/method pair you wish to communicate with in Spectre.
|
|||
|
||||
=head3 params
|
||||
|
||||
An array of the parameters to send.
|
||||
A scalar, array reference, or hash reference of data to pass to Spectre.
|
||||
|
||||
=cut
|
||||
|
||||
sub notify {
|
||||
my $self = shift;
|
||||
my $module = shift;
|
||||
my @params = @_;
|
||||
my $params = shift;;
|
||||
my $remote = create_ikc_client(
|
||||
port=>$self->session->config->get("spectrePort"),
|
||||
ip=>$self->session->config->get("spectreIp"),
|
||||
name=>rand(100000),
|
||||
timeout=>10
|
||||
);
|
||||
if ($remote) {
|
||||
my $result = $remote->post(@params);
|
||||
if (defined $remote) {
|
||||
my $result = $remote->post($module, $params);
|
||||
unless (defined $result) {
|
||||
$self->session->errorHandler->warn("Couldn't send command to Spectre because ".$POE::Component::IKC::ClientLite::error);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue