mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #68511
[Bug 2006516] A change has been merged
Reviewed: https://reviews.mahara.org/c/mahara/+/13723
Committed: https://git.mahara.org/mahara/mahara/commit/7039ae286690b31de09b3418f9a5780ad5973a8c
Submitter: "Robert Lyon <robertl@xxxxxxxxxxxxxxx>"
Branch: main
commit 7039ae286690b31de09b3418f9a5780ad5973a8c
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date: Wed Feb 8 11:06:15 2023 +1300
Bug 2006516: Fixes for CLI bulk export
For comment block and for annotation block
Change-Id: I39ce91d0fbab9deb7786f069839e02f0f36c8663
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/2006516
Title:
bulk export causing errors for comment / annotation block exports
Status in Mahara:
Fix Committed
Bug description:
The comment block problem is when you are doing a bulk export via CLI
as the $exporter object is not in a global scope and so can't be
'seen' by the comment block renderer.
The annotation problem is we are trying to create a pieform during
export and it can't resolve the get_ip() function. But we shouldn't
need the pieform as the exported information wouldn't be able to use
it anyway.
The following 2 problems can best be seen when doing an export via the
CLI, eg: for 'Person One'
Create a person called 'Person One' and log in as them (not masquerade
so as to se lastlogin value)
Create a page and add a comment block and an annotation block to the
page - add a comment to the page and the annotation block.
Export the person via the CLI
sudo -u www-data php htdocs/admin/cli/portfolio_bulkexport.php
-fk=lastname -fv=One -e=leap -d=false
Expected result - export goes smoothly
Actual result - get two errors
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/2006516/+subscriptions
References