Skip to content

luci-app-pbr: can't access property "push", reply.ubus.warnings is undefined #8185

@sinancetinkaya

Description

@sinancetinkaya

Is there an existing issue for this?

  • I have searched among all existing issues (including closed issues)

screenshots or captures

Image

Actual behaviour

At boot pbr has stopped, so I clicked on the start button and this error showed up

Expected behaviour

it should not have happened

Steps to reproduce

Services -> policy routing -> click on start

luci-app-pbr-1.2.0-r2
pbr-1.2.1-r45

Additional Information

{
        "kernel": "6.12.62",
        "hostname": "router-sinan",
        "system": "ARMv8 Processor rev 4",
        "model": "Zyxel NBG7815",
        "board_name": "zyxel,nbg7815",
        "rootfs_type": "squashfs",
        "release": {
                "distribution": "OpenWrt",
                "version": "SNAPSHOT",
                "firmware_url": "https://downloads.openwrt.org/",
                "revision": "r32610-6675b92aca",
                "target": "qualcommax/ipq807x",
                "description": "OpenWrt SNAPSHOT r32610-6675b92aca",
                "builddate": "1767282022"
        }
}

What browsers do you see the problem on?

Firefox, Chrome, Microsoft Edge

Relevant log output

TypeError: can't access property "push", reply.ubus.warnings is undefined
    render https://192.168.1.1/luci-static/resources/pbr/status.js?v=26.001.55794~c38063c-1767282022:6
    promise callback*render https://192.168.1.1/luci-static/resources/pbr/status.js?v=26.001.55794~c38063c-1767282022:6
    render https://192.168.1.1/luci-static/resources/view/pbr/overview.js?v=26.001.55794~c38063c-1767282022:9
    promise callback*__init__ https://192.168.1.1/luci-static/resources/luci.js?v=26.001.55794~c38063c-1767282022:140
    super https://192.168.1.1/luci-static/resources/luci.js?v=26.001.55794~c38063c-1767282022:15
    ClassConstructor https://192.168.1.1/luci-static/resources/luci.js?v=26.001.55794~c38063c-1767282022:5
    compileClass https://192.168.1.1/luci-static/resources/luci.js?v=26.001.55794~c38063c-1767282022:176
    promise callback*compileClass https://192.168.1.1/luci-static/resources/luci.js?v=26.001.55794~c38063c-1767282022:172
    promise callback*require https://192.168.1.1/luci-static/resources/luci.js?v=26.001.55794~c38063c-1767282022:178
    instantiateView https://192.168.1.1/luci-static/resources/ui.js?v=26.001.55794~c38063c-1767282022:372
    <anonymous> https://192.168.1.1/cgi-bin/luci/admin/services/pbr:51
    promise callback* https://192.168.1.1/cgi-bin/luci/admin/services/pbr:50
luci.js:155:9

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