[Koha-bugs] [Bug 15326] Add CMS feature

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 20 19:44:16 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15326

Josef Moravec <josef.moravec at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |Failed QA

--- Comment #16 from Josef Moravec <josef.moravec at gmail.com> ---
Not ok yet, sorry:

Test t/Pages.t:

There is no C4::Content module in Koha...

#   Failed test 'use C4::Content;'
#   at t/Pages.t line 9.
#     Tried to use 'C4::Content'.
#     Error:  Can't locate C4/Content.pm in @INC (you may need to install the
C4::Content module) (@INC contains: /home/vagrant/kohaclone
/home/vagrant/qa-test-tools /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2
/usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5
/usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20
/usr/local/lib/site_perl .) at t/Pages.t line 9.
# BEGIN failed--compilation aborted at t/Pages.t line 9.
Undefined subroutine &C4::Content::_SQLToPerl called at t/Pages.t line 30.
# Looks like your test exited with 255 just after 1.

also, when using this tool - adding and editing does not work after last patch
- some values are not saved (publish status), some are not populated to form
when editing (library)... when I set page for all libraries, i get ISE with
this log:

DBD::mysql::st execute failed: Cannot add or update a child row: a foreign key
constraint fails (`koha_kohadev`.`cms_pages`, CONSTRAINT
`cmspages_branchcode_ibfk` FOREIGN KEY (`branchcode`) REFERENCES `branches`
(`branchcode`) ON DELETE CASCADE ON UPDATE CASCADE) [for Statement "INSERT INTO
`cms_pages` ( `branchcode`, `content`, `id`, `lang`, `location`, `parent`,
`publish`, `sortorder`, `title`, `title_link`) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?,
?, ? )" with ParamValues: 0="", 1="<p>asdasdasd</p>", 2="", 3="", 4="", 5="",
6="on", 7="10", 8="asdasd", 9="asdfasd"] at
/usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1832.
DBIx::Class::Storage::DBI::_dbh_execute(): Cannot add or update a child row: a
foreign key constraint fails (`koha_kohadev`.`cms_pages`, CONSTRAINT
`cmspages_branchcode_ibfk` FOREIGN KEY (`branchcode`) REFERENCES `branches`
(`branchcode`) ON DELETE CASCADE ON UPDATE CASCADE) at
/home/vagrant/kohaclone/Koha/CmsPages.pm line 94

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list