Viewport Redirect macro causes Nullpointer exception in exports with v3 apps

Description

When exporting a page containing a Viewport redirect macro (from Scroll Viewport), the export will fail and produce an error zip. This behaviour has been introduced in v3.9.5.

 

Steps to reproduce:

  1. Create Page A in a space with Scroll Viewport active

  2. Add the Viewport redirect macro to Page A and define a URL

  3. Save and export the page

Expected result: The page exports successfully

Actual result: The export fails and produces the following stacktrace

 

Workarounds:

 

Environment

None

Assignee

Unassigned

Reporter

Sync User [K15t]

Labels

None

Participants

None

QA Status

None

Deployment

Server

Documentation Status

None

UI Concept

None

External Votes

None

Components

Fix versions

Affects versions

Priority

Major
Configure