← Back to team overview

mahara-contributors team mailing list archive

[Bug 1850737] Re: Leap2a export results in error message display

 

The "export-relative link" may be unrelated to the error seen in tagged
journal entries. Since lots of blocks are on the page that wasn't quite
clear.

** Description changed:

  - Code/Gerrit: latest 19.10 master ***this bug also present in 19.04_STABLE
  - Browsers tested: Firefox & Chrome
  - Theme: Firefox=Modern & Chrome=Primary School
  
  Preconditions:
  
  1. Site is not running in production mode ( config.php file has the following line $cfg->productionmode = false; ).
- 2. PersonA has at least one page that has all/most blocks present at least once (some blocks should have multiple comments by a number of other persons and the page should include a block that is created from tagged journal entries).
- 3. Another PersonB is available.
+ 2. Attached content page (here as Leap2A) is present.
+ Note: The error #2 is displayed when importing the file. If you set up content from scratch, set up 2 journal entries with tags and add the tagged journal entries block to the page. It is not yet clear whether error #1 is related to this or not.
+ 3. Site is not set to export to queue.
  
  Test steps:
  
- 1. PersonA is logged in and selects to Manage|Export-->Leap2a format and All (or just select the target page).
- 2. See attached screen shot prefixed SS1 - error messages are displayed.  ✘
- 3. The file is still generated in the Downloads folder (see attached zip file).
- 4. Log in as PersonB and select Manage|Import--> the step 3 leap2a file.
- 5. Display the target page ✘  (see attached screen shot prefoxed SS2) an error message is displayed in the Tagged journal entry block.
+ 1. PersonA is logged in and selects Main menu -> Manage -> Export -->Leap2a format and All (or just select the target page).
+ 2. The export is generated.
+ Expected result: The export file can be downloaded.
+ Actual result: The export file can be downloaded but a debug message is displayed saying: "Not providing an export-relative link for [artefact number]" (see attached screenshot "Export error messages displayed")
+ 
+ 3. Log in as PersonB and import the attached Leap2A file (or your own) via Main menu -> Manage -> Import.
+ 4. Display the page.
+ Expected result: The tagged journal entries block displays the journal entries that were tagged.
+ Actual result: "Error during block configuration" is displayed (see screenshot "Imported page displayed with block error message")

** Also affects: mahara/20.04
   Importance: Undecided
       Status: New

** Also affects: mahara/19.10
   Importance: Undecided
       Status: New

** Changed in: mahara/20.04
       Status: New => Confirmed

** Changed in: mahara/19.10
       Status: New => Confirmed

** Changed in: mahara/20.04
   Importance: Undecided => Medium

** Changed in: mahara/19.10
   Importance: Undecided => Medium

** Changed in: mahara/20.04
    Milestone: None => 20.04.0

** Changed in: mahara/19.10
    Milestone: None => 19.10.1

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1850737

Title:
  Leap2a export results in error message display

Status in Mahara:
  Confirmed
Status in Mahara 19.10 series:
  Confirmed
Status in Mahara 20.04 series:
  Confirmed

Bug description:
  - Code/Gerrit: latest 19.10 master ***this bug also present in 19.04_STABLE
  - Browsers tested: Firefox & Chrome
  - Theme: Firefox=Modern & Chrome=Primary School

  Preconditions:

  1. Site is not running in production mode ( config.php file has the following line $cfg->productionmode = false; ).
  2. Attached content page (here as Leap2A) is present.
  Note: The error #2 is displayed when importing the file. If you set up content from scratch, set up 2 journal entries with tags and add the tagged journal entries block to the page. It is not yet clear whether error #1 is related to this or not.
  3. Site is not set to export to queue.

  Test steps:

  1. PersonA is logged in and selects Main menu -> Manage -> Export -->Leap2a format and All (or just select the target page).
  2. The export is generated.
  Expected result: The export file can be downloaded.
  Actual result: The export file can be downloaded but a debug message is displayed saying: "Not providing an export-relative link for [artefact number]" (see attached screenshot "Export error messages displayed")

  3. Log in as PersonB and import the attached Leap2A file (or your own) via Main menu -> Manage -> Import.
  4. Display the page.
  Expected result: The tagged journal entries block displays the journal entries that were tagged.
  Actual result: "Error during block configuration" is displayed (see screenshot "Imported page displayed with block error message")

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1850737/+subscriptions


References