8000 Max Players variable and WHMCS quantity slider problem · Issue #98 · pterodactyl/whmcs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Max Players variable and WHMCS quantity slider problem #98
Open
@mouse1121

Description

@mouse1121

My max_players variable has rule: required|integer|max:32, and in Configurable Options i use quantity (slider), when i try downgrade player slots with existing service lower or higher i received error:

Array
(
    [errors] => Array
        (
            [0] => Array
                (
                    [code] => DataValidationException
                    [status] => 500
                    [detail] => Data integrity exception encountered while performing database write operation. {"variable_value":["The variable value must be a string."]}
                )

        )

    [status_code] => 500
)

If change rule to string, it says error:

Array
(
    [errors] => Array
        (
            [0] => Array
                (
                    [code] => ValidationException
                    [status] => 422
                    [detail] => The Max Players variable must be a string.
                    [meta] => Array
                        (
                            [source_field] => environment.MAX_PLAYERS
                            [rule] => string
                        )

                )

        )

    [status_code] => 422
)

If i change Configurable Options from quantity to dropdown menu, all good. Is it problem with WHMCS module?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0