You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: A saved step that opens a project from its text doesn't require the project's layout capabilities #3462
A saved step (task, model or script) that runs project.openText with a project that has no requires header can carry a layout setting an older release doesn't know, such as several extent indicators in a map frame. The saved outer project doesn't require that capability, so the older release opens it, runs the step, drops the setting and saves the frame without it. Only the checks for generalised Shaded Relief, kept class order and (with #3453) numbered extent indicators read the opened project; the other layout capabilities don't.
Steps to reproduce
Take a project whose map frame has more_extents, and remove its requires header.
Save a task step project.openText with that text in another project.
Look at the saved project's requires: layout-extent-indicators is missing.
Expected behavior
The saved project requires every capability the opened project would require, so an older release refuses it.
Activity
jgregoriorincon commentedon Dec 2, 2026
I'm taking this one.
fix(engine): read a text that several steps open once, not once per s…
fix(engine): key what a walk has read by the text, not by a digest of…
fix(engine): look a read text up without copying it, and say the cach…
fix(engine): keep a digest of what a walk has read, and require every…
fix(engine): hash the text a step opens in place, and say what the de…
fix(engine): bound the bytes a walk reads by what a project may hold (o…
fix(engine): decode nothing once a walk has spent its bytes (opengeos…
refactor(engine): make the walk of opened projects easier to read, an…
fix(engine): make what a walk requires the same on every computer (op…
fix(engine): decode a template within the walk's budget, not this com…
test(engine): drop a redundant import in the stack test (opengeos#3462)
fix(engine): bound the time a walk spends reading opened texts (openg…
fix(engine): inflate a zipped template only within the walk's budget (o…
fix(engine): keep the zip limit of inline_text, and make the stack te…
test(engine): the stack test compares every capability the depth limi…
docs(engine): say which limit each argument of inline_text_within is (o…
docs(engine): say the walk of opened projects has no Cancel check (op…
fix(engine): answer a text longer than the walk's budget before hashi…
fix(engine): a saved step that opens a project from its text requires…