Skip Menu |

This queue is for tickets about the Apache-Admin-Config CPAN distribution.

Report information
The Basics
Id: 18792
Status: resolved
Priority: 0/
Queue: Apache-Admin-Config

People
Owner: Nobody in particular
Requestors: dmuey [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.92
Fixed in:
  • 0.93
  • 0.94



sub write_reformat { ... $string .= $self->$method($name||'', $_->value||''); ... makes directives that have a value of '0' break since the ||'' makes it's value '' instead of '0' now. For example: MaxRequestPerChild 0 will become MaxRequestPerChild and break the configuration. This will fix it: - $string .= $self->$method($name||'', $_->value||''); + my $value = defined $_->value ? : $_->value : ''; + $string .= $self->$method($name||'', $value); Hopefully that can be implemented very very soon :) PS - probably need to check for other places that sort of logic will make an invalid config... Thanks!
Hello, Show quoted text
> + my $value = defined $_->value ? : $_->value : '';
Sorry I was in a hurry, that should have been my $value = defined $_->value ? $_->value : ''; Attached is a fixed version 0.93, please upload to it via your pause account ASAP so these scripts stop making broken configs :) Thanks! - Dan Muey
Download Apache-Admin-Config-0.93.tar.gz
application/x-gzip 27.7k

Message body not shown because it is not plain text.

Please upload the new version ASAP, all you have to do is log into pause and upload it. It will take less than 2 minutes, *please* its very very important, thanks :)
I was able to upload 0.93 as co-maintainer. However its under my account and not Oliviaer's which apparently makes CPAN.pm not see it and its still gets 0.92. Attached is 0.94 which is identical to 0.93 except its verison is incremented so that Olivier can upload it to his account via pause.
Download Apache-Admin-Config-0.94.tar.gz
application/x-gzip 27.8k

Message body not shown because it is not plain text.

0.94 is up, danke Olivier