Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

TP: changes query param that dictates ds form template from type to dsType#6910

Merged
ocket8888 merged 1 commit intoapache:masterfrom
mitchell852:bad-query-param
Jun 24, 2022
Merged

TP: changes query param that dictates ds form template from type to dsType#6910
ocket8888 merged 1 commit intoapache:masterfrom
mitchell852:bad-query-param

Conversation

@mitchell852
Copy link
Copy Markdown
Member

Closes: #6909

Which Traffic Control components are affected by this PR?

  • Traffic Portal

What is the best way to verify this PR?

If this is a bugfix, which Traffic Control versions contained the bug?

PR submission checklist

  • This PR has tests <-- No tests. Existing TP tests should suffice.
  • This PR has documentation <-- Not user impacting. No documentation required.
  • This PR has a CHANGELOG.md entry
  • This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

@mitchell852 mitchell852 added bug something isn't working as intended Traffic Portal v1 related to Traffic Portal version 1 labels Jun 17, 2022
Copy link
Copy Markdown
Contributor

@ocket8888 ocket8888 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why change the parameter name instead of just removing entirely from places where it's not needed?

@mitchell852
Copy link
Copy Markdown
Member Author

mitchell852 commented Jun 21, 2022

why change the parameter name instead of just removing entirely from places where it's not needed?

not sure where it's not needed :)

i'm just trying to eliminate the parameter clashing and afaik it's "needed" in all those places where it's defined...the problem is the URL query param tends to follow you around to other pages where it's "not needed" and when it does, it clashes with other "type" query params

Copy link
Copy Markdown
Contributor

@ocket8888 ocket8888 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does fix the bug.

@ocket8888 ocket8888 merged commit 0dd939c into apache:master Jun 24, 2022
zrhoffman pushed a commit to zrhoffman/trafficcontrol that referenced this pull request Oct 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

bug something isn't working as intended Traffic Portal v1 related to Traffic Portal version 1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Invalid query param in TP (DS type)

2 participants