Home Bug Reports

Minor flaw in AdminI.cpp

grembogrembo Member Michael GmelinOrganization: Grem Equity GmbHProject: E-Commerce platform
void
AdminI::checkIsReadOnly() const
{
    if(_database->isReadOnly())
    {
        DeploymentException ex;
        ex.reason = "this operation is only allowed on a slave or read-only master registry.";
        throw ex;
    }
}

I assume "only" should be "not".

(found while trying "icegridadmin -e application update application.xml" on a replica)

Comments

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi,

    Yes. Thanks for the bug report, we will fix this for the next release.

    Cheers,
    Benoit.
Sign In or Register to comment.