https://github.com/galaxyproject/galaxy
Revision 74ae35413ea809012a1eaf54251b71ed4b3bf6eb authored by mvdbeek on 17 June 2024, 15:23:52 UTC, committed by mvdbeek on 17 June 2024, 16:54:58 UTC
Fixes https://github.com/galaxyproject/galaxy/issues/12614, which is the
source of many templating errors such as
https://sentry.galaxyproject.org/share/issue/008a129bf7e44b3086491789f4bfb07e/:

```
NotFound: cannot find 'forward'
  File "galaxy/util/template.py", line 87, in fill_template
    return unicodify(t, log_exception=False)
  File "galaxy/util/__init__.py", line 1183, in unicodify
    value = str(value)
  File "Cheetah/Template.py", line 1053, in __unicode__
    return getattr(self, mainMethName)()
  File "cheetah_DynamicallyCompiledCheetahTemplate_1718305116_116218_60583.py", line 206, in respond
```

If we don't set `batch` and `map_over_type` (this is correctly done by
the backend when building the parameter options from the history) we
pass
in the whole collection, which likely won't have a `forward` element.
1 parent 86b6eba
History
Tip revision: 74ae35413ea809012a1eaf54251b71ed4b3bf6eb authored by mvdbeek on 17 June 2024, 15:23:52 UTC
Fix collection map over status for dragged collections
Tip revision: 74ae354
File Mode Size
.ci
.circleci
.github
.vscode
client
config
contrib
cron
database
doc
hooks
lib
packages
scripts
static
templates
test
test-data
tool-data
tools
.coveragerc -rw-r--r-- 78 bytes
.dockerignore -rw-r--r-- 47 bytes
.flake8 -rw-r--r-- 1.0 KB
.git-blame-ignore-revs -rw-r--r-- 432 bytes
.gitattributes -rw-r--r-- 56 bytes
.gitignore -rw-r--r-- 3.8 KB
.gitpod.yml -rw-r--r-- 1.5 KB
.isort.cfg -rw-r--r-- 425 bytes
.k8s_ci.Dockerfile -rw-r--r-- 6.7 KB
.pre-commit-config.yaml.sample -rw-r--r-- 1.4 KB
.redocly.lint-ignore.yaml -rw-r--r-- 2.6 KB
.redocly.yaml -rw-r--r-- 94 bytes
CITATION -rw-r--r-- 871 bytes
CODE_OF_CONDUCT.md -rw-r--r-- 261 bytes
CONTRIBUTING.md -rw-r--r-- 9.8 KB
CONTRIBUTORS.md -rw-r--r-- 8.2 KB
LICENSE.txt -rw-r--r-- 12.6 KB
Makefile -rw-r--r-- 11.5 KB
README.rst -rw-r--r-- 2.0 KB
SECURITY.md -rw-r--r-- 3.8 KB
check_model.sh -rwxr-xr-x 158 bytes
extract_dataset_parts.sh -rwxr-xr-x 209 bytes
manage_db.sh -rwxr-xr-x 350 bytes
manage_toolshed_db.sh -rwxr-xr-x 355 bytes
mypy.ini -rw-r--r-- 24.0 KB
package.json -rw-r--r-- 709 bytes
pyproject.toml -rw-r--r-- 5.7 KB
pytest.ini -rw-r--r-- 2.5 KB
requirements.txt l--------- 47 bytes
rolling_restart.sh -rwxr-xr-x 69 bytes
run.sh -rwxr-xr-x 1.5 KB
run_reports.sh -rwxr-xr-x 1.4 KB
run_tests.sh -rwxr-xr-x 26.0 KB
run_tool_shed.sh -rwxr-xr-x 758 bytes
tox.ini -rw-r--r-- 2.4 KB
tsconfig.json -rw-r--r-- 45 bytes

README.rst

back to top