- fix: viewIndividualSurvey shows "Answer" lines in Survey mode
fixed more spectre memory bugs
This commit is contained in:
parent
5fb7a3c627
commit
aa10f84d87
5 changed files with 6 additions and 2 deletions
|
|
@ -13,6 +13,8 @@
|
||||||
- fix: Payment in commerce system
|
- fix: Payment in commerce system
|
||||||
- fix: packages don't take on new pages style when deployed
|
- fix: packages don't take on new pages style when deployed
|
||||||
- fix: Payment in commerce system (Part II)
|
- fix: Payment in commerce system (Part II)
|
||||||
|
- fix: viewIndividualSurvey shows "Answer" lines in Survey mode
|
||||||
|
|
||||||
|
|
||||||
6.99.4
|
6.99.4
|
||||||
- fix: better checking of selected template type
|
- fix: better checking of selected template type
|
||||||
|
|
|
||||||
|
|
@ -389,6 +389,7 @@ sub runJob {
|
||||||
$request->header("X-config",$job->{config});
|
$request->header("X-config",$job->{config});
|
||||||
$self->debug("Posting schedule job ".$job->{taskId}." to $url.");
|
$self->debug("Posting schedule job ".$job->{taskId}." to $url.");
|
||||||
$kernel->post( useragent => 'request', { request => $request, response => $session->postback('runJobResponse') });
|
$kernel->post( useragent => 'request', { request => $request, response => $session->postback('runJobResponse') });
|
||||||
|
$kernel->post( useragent => 'shutdown'); # we'll still get the response, we're just done sending the request
|
||||||
$self->debug("Cron job ".$job->{taskId}." posted.");
|
$self->debug("Cron job ".$job->{taskId}." posted.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -345,6 +345,7 @@ sub runWorker {
|
||||||
$request->header("X-instanceId",$instance->{instanceId});
|
$request->header("X-instanceId",$instance->{instanceId});
|
||||||
$self->debug("Posting workflow instance ".$instance->{instanceId}." to $url.");
|
$self->debug("Posting workflow instance ".$instance->{instanceId}." to $url.");
|
||||||
$kernel->post( useragent => 'request', { request => $request, response => $session->postback('workerResponse') });
|
$kernel->post( useragent => 'request', { request => $request, response => $session->postback('workerResponse') });
|
||||||
|
$kernel->post( useragent => 'shutdown'); # we'll still get the response, we're just done sending the request
|
||||||
$self->debug("Workflow instance ".$instance->{instanceId}." posted.");
|
$self->debug("Workflow instance ".$instance->{instanceId}." posted.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -83,7 +83,7 @@ sub contentHandler {
|
||||||
### inherit Apache request.
|
### inherit Apache request.
|
||||||
my $r = shift;
|
my $r = shift;
|
||||||
my $configFile = shift || $r->dir_config('WebguiConfig');
|
my $configFile = shift || $r->dir_config('WebguiConfig');
|
||||||
### Instantiate the API for this httpd instance.
|
### nstantiate the API for this httpd instance.
|
||||||
my $s = Apache2::ServerUtil->server;
|
my $s = Apache2::ServerUtil->server;
|
||||||
### Open new or existing user session based on user-agent's cookie.
|
### Open new or existing user session based on user-agent's cookie.
|
||||||
my $session = WebGUI::Session->open($s->dir_config('WebguiRoot'),$configFile,$r, $s);
|
my $session = WebGUI::Session->open($s->dir_config('WebguiRoot'),$configFile,$r, $s);
|
||||||
|
|
|
||||||
|
|
@ -1308,7 +1308,7 @@ sub www_viewIndividualSurvey {
|
||||||
$var->{'duration.minutes.label'} = $i18n->get(79);
|
$var->{'duration.minutes.label'} = $i18n->get(79);
|
||||||
$var->{'duration.seconds'} = (($response->{endDate} - $response->{start})%60);
|
$var->{'duration.seconds'} = (($response->{endDate} - $response->{start})%60);
|
||||||
$var->{'duration.seconds.label'} = $i18n->get(80);
|
$var->{'duration.seconds.label'} = $i18n->get(80);
|
||||||
$var->{'answer.label'} = $i18n->get(19);
|
$var->{'answer.label'} = $i18n->get(19) if ($self->get("mode") eq "quiz");
|
||||||
$var->{'response.label'} = $i18n->get(66);
|
$var->{'response.label'} = $i18n->get(66);
|
||||||
$var->{'comment.label'} = $i18n->get(57);
|
$var->{'comment.label'} = $i18n->get(57);
|
||||||
my $questions = $self->session->db->read("select Survey_questionId,question,answerFieldType from Survey_question
|
my $questions = $self->session->db->read("select Survey_questionId,question,answerFieldType from Survey_question
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue