cross
Foswiki General Assembly will be held on 28th November 2019, 1200 UTC on Freenode IRC channel #foswiki-association. See AgendaTenthGeneralAssembly

Item14856: New version of topic cannot be saved because of an internal error

pencil
Priority: Normal
Current State: New
Released In: n/a
Target Release: n/a
Applies To: Engine
Component:
Branches:
Reported By: ChristianHölzer
Waiting For:
Last Change By: ChristianH_c3_b6lzer
After activiating mod_perl the save action on a topic generates the following error:

Error saving topic
During save of AdicomSoftware.KnownIssues an error was found by the version control system. Please notify your ADICOM® Firmenwiki administrator.
Operation save failed with an internal error
Go back in your browser and save your changes locally.

In Apache2 error.log the following entries can be found:

| 2019-10-22T08:43:36+02:00 error | hash- or arrayref expected (not a simple scalar, use allow_nonref to allow this) at /srv/foswiki/lib/Foswiki/Store/PlainFile.pm line 1319.
 at /srv/foswiki/lib/Foswiki/Store/PlainFile.pm line 1319.
        Foswiki::Store::PlainFile::recordChange(Foswiki::Store::PlainFile=HASH(0x560e507150b8), "verb", "update", "cuid", "ChristianH_c3_b6lzer", "revision", 4, "path", ...) called at /srv/foswiki/lib/Foswiki/Meta.pm line 2118
        Foswiki::Meta::__ANON__() called at /usr/share/perl5/Error.pm line 465
        eval {...} called at /usr/share/perl5/Error.pm line 454
        Error::subs::try(CODE(0x7fb31d16caf8), HASH(0x7fb31cbbdc58)) called at /srv/foswiki/lib/Foswiki/Meta.pm line 2153
        Foswiki::Meta::saveAs(Foswiki::Meta=HASH(0x560e5071c698)) called at /srv/foswiki/lib/Foswiki/Meta.pm line 2000
        Foswiki::Meta::__ANON__() called at /usr/share/perl5/Error.pm line 465
        eval {...} called at /usr/share/perl5/Error.pm line 454
        Error::subs::try(CODE(0x560e506e2a80), HASH(0x7fb31d768cb8)) called at /srv/foswiki/lib/Foswiki/Meta.pm line 2004
        Foswiki::Meta::save(Foswiki::Meta=HASH(0x560e5071c698)) called at /srv/foswiki/lib/Foswiki/UI/Save.pm line 687
        Foswiki::UI::Save::__ANON__() called at /usr/share/perl5/Error.pm line 465
        eval {...} called at /usr/share/perl5/Error.pm line 454
        Error::subs::try(CODE(0x7fb31c460688), HASH(0x7fb31cbe7ec0)) called at /srv/foswiki/lib/Foswiki/UI/Save.pm line 705
        Foswiki::UI::Save::save(Foswiki=HASH(0x7fb31d7698e8)) called at /srv/foswiki/lib/Foswiki/UI.pm line 374
        Foswiki::UI::__ANON__() called at /usr/share/perl5/Error.pm line 465
        eval {...} called at /usr/share/perl5/Error.pm line 454
        Error::subs::try(CODE(0x7fb30408d580), HASH(0x560e5072b8b8)) called at /srv/foswiki/lib/Foswiki/UI.pm line 500
        Foswiki::UI::_execute(Foswiki::Request=HASH(0x560e50723de8), CODE(0x7fb31d768ca0), "save", 1) called at /srv/foswiki/lib/Foswiki/UI.pm line 326
        Foswiki::UI::handleRequest(Foswiki::Request=HASH(0x560e50723de8)) called at /srv/foswiki/lib/Foswiki/Engine/Apache.pm line 91
        Foswiki::Engine::Apache::run(Apache2::RequestRec=SCALAR(0x560e50706f50)) called at -e line 0
        eval {...} called |
Corrupt /srv/foswiki/data/AdicomSoftware/.changes: JSON text must be an object or array (but found number, string, true, false or null, use allow_nonref to allow this) at /srv/foswiki/lib/Foswiki/Store/PlainFile.pm line 1205.
 at /srv/foswiki/lib/Foswiki/Store/PlainFile.pm line 1205.
        eval {...} called at /srv/foswiki/lib/Foswiki/Store/PlainFile.pm line 1205
        Foswiki::Store::PlainFile::_readChanges("/srv/foswiki/data/AdicomSoftware/.changes", "AdicomSoftware") called at /srv/foswiki/lib/Foswiki/Store/PlainFile.pm line 1307
        Foswiki::Store::PlainFile::recordChange(Foswiki::Store::PlainFile=HASH(0x7fb308379158), "verb", "update", "cuid", "ChristianH_c3_b6lzer", "revision", 4, "path", ...) called at /srv/foswiki/lib/Foswiki/Meta.pm line 2118
        Foswiki::Meta::__ANON__() called at /usr/share/perl5/Error.pm line 465
        eval {...} called at /usr/share/perl5/Error.pm line 454
        Error::subs::try(CODE(0x7fb3083de730), HASH(0x7fb304066008)) called at /srv/foswiki/lib/Foswiki/Meta.pm line 2153
        Foswiki::Meta::saveAs(Foswiki::Meta=HASH(0x7fb308218820)) called at /srv/foswiki/lib/Foswiki/Meta.pm line 2000
        Foswiki::Meta::__ANON__() called at /usr/share/perl5/Error.pm line 465
        eval {...} called at /usr/share/perl5/Error.pm line 454
        Error::subs::try(CODE(0x7fb3083b4c18), HASH(0x7fb3192f07d0)) called at /srv/foswiki/lib/Foswiki/Meta.pm line 2004
        Foswiki::Meta::save(Foswiki::Meta=HASH(0x7fb308218820)) called at /srv/foswiki/lib/Foswiki/UI/Save.pm line 687
        Foswiki::UI::Save::__ANON__() called at /usr/share/perl5/Error.pm line 465
        eval {...} called at /usr/share/perl5/Error.pm line 454
        Error::subs::try(CODE(0x7fb3041d5bd0), HASH(0x7fb319172b18)) called at /srv/foswiki/lib/Foswiki/UI/Save.pm line 705
        Foswiki::UI::Save::save(Foswiki=HASH(0x7fb3083ded48)) called at /srv/foswiki/lib/Foswiki/UI.pm line 374
        Foswiki::UI::__ANON__() called at /usr/share/perl5/Error.pm line 465
        eval {...} called at /usr/share/perl5/Error.pm line 454
        Error::subs::try(CODE(0x7fb308207650), HASH(0x7fb3196ad980)) called at /srv/foswiki/lib/Foswiki/UI.pm line 500
        Foswiki::UI::_execute(Foswiki::Request=HASH(0x7fb30823bd78), CODE(0x7fb31972cc40), "save", 1) called at /srv/foswiki/lib/Foswiki/UI.pm line 326
        Foswiki::UI::handleRequest(Foswiki::Request=HASH(0x7fb30823bd78)) called at /srv/foswiki/lib/Foswiki/Engine/Apache.pm line 91
        Foswiki::Engine::Apache::run(Apache2::RequestRec=SCALAR(0x7fb3040698c0)) called at -e line 0
        eval {...} called at -e line 0

-- ChristianHölzer - 22 Oct 2019

 

ItemTemplate edit

Summary New version of topic cannot be saved because of an internal error
ReportedBy ChristianHölzer
Codebase
SVN Range
AppliesTo Engine
Component
Priority Normal
CurrentState New
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
masterCheckins
ItemBranchCheckins
Release02x01Checkins
Release02x00Checkins
Release01x01Checkins
Topic revision: r1 - 22 Oct 2019, ChristianHölzer - This page was cached on 20 Nov 2019 - 10:47.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy