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

URL Access feature does not save "Redirect to page" #339

Closed
aamplugin opened this issue Jan 11, 2024 · 0 comments
Closed

URL Access feature does not save "Redirect to page" #339

aamplugin opened this issue Jan 11, 2024 · 0 comments
Assignees
Labels
Milestone

Comments

@aamplugin
Copy link
Owner

When trying to setup URL Access I encountered the following issue:
If I select "Redirect to an existing page" and select the page I want, I get an error when saving, because the page id is send as an integer, while the backend expects a string.

See the following response from the save request:

{
    "code": "rest_invalid_param",
    "message": "Invalid parameter(s): redirect_page_id",
    "data": {
        "status": 400,
        "params": {
            "redirect_page_id": "redirect_page_id is not of type string."
        },
        "details": {
            "redirect_page_id": {
                "code": "rest_invalid_type",
                "message": "redirect_page_id is not of type string.",
                "data": {
                    "param": "redirect_page_id"
                }
            }
        }
    }
}
@aamplugin aamplugin self-assigned this Jan 11, 2024
@aamplugin aamplugin added the bug label Jan 11, 2024
@aamplugin aamplugin added this to the AAM - 6.9.21 milestone Jan 11, 2024
@aamplugin aamplugin added this to Ready For Release in Advanced Access Manager Jan 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Advanced Access Manager
  
Ready For Release
Development

No branches or pull requests

1 participant