Skip to content

$page->prev $page->next don't work if $page->save was executed #1359

@mr-fan

Description

@mr-fan

See
https://processwire.com/talk/topic/10731-how-to-debug-page-prev-page-next-no-output-given/#entry101092

Setup is to save a counter field on the page. This uncache the page and prev/next are empty and won't work.

With option it works but this behaviour could be a bug since it only affect prev next?
$page->save(array("quiet" => true, "uncacheAll" => false));

regards mr-fan

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions