Skip to content

Commit 16b2391

Browse files
committed
Fix crash when forcibly creating a page.
This can be caused by references in exported objects to objects in pages that are disabled. That kind of reference will force the disabled page to be created but only with the absolutely needed objects.
1 parent e4886e6 commit 16b2391

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

korman/exporter/manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ def _force_create_page(self, page_name: str, requestor_name: str) -> plLocation:
303303
error = explosions.UndefinedPageError()
304304
error.add(page_name, requestor_name)
305305
error.raise_if_error()
306-
location = self.create_page(age_name, page_name, page_info.id)
306+
location = self.create_page(age_name, page_name, page_info.seq_suffix)
307307
else:
308308
# This is a default page that wasn't exported... for some reason...
309309
self._exporter().report.warn(

0 commit comments

Comments
 (0)