Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parameters not expanded in Report Issue page #67

Open
vboctor opened this issue Aug 27, 2023 · 1 comment
Open

Parameters not expanded in Report Issue page #67

vboctor opened this issue Aug 27, 2023 · 1 comment
Labels

Comments

@vboctor
Copy link
Member

vboctor commented Aug 27, 2023

In the Report issue page, a snippet like the one below is not expanded correctly, fields remain as is. The user, reporter, and project should be know. If we want to get fancy, the handler may be selected in the combobox and can be retrieved from there.

user: {user}
reporter: {reporter}
handler: {handler}
project: {project}
@dregad dregad added the bug label Aug 28, 2023
@dregad
Copy link
Member

dregad commented Aug 30, 2023

Currently, the replacements are made by the backend, based on the bug_id passed on with the AJAX on the /data endpoint.

In the bug report page, the bug obviously does not exist yet, so doing what you are suggesting would require a change of paradigm (e.g. javascript providing placeholder data, or performing the replacements locally) or some special handling specific for the bug report page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants