vdelachaux / 4DPop-QuickOpen

A fork of DevQuickOpen to quickly opening forms, methods, classes, documentation… in project mode
GNU General Public License v3.0
3 stars 0 forks source link

Error if a non-existing method/class ... is entered #1

Closed elutz closed 3 weeks ago

elutz commented 3 weeks ago

When I enter the name of a non-existent item in the QuickOpen component input field, I get an error message:

Error when executing the method "listbox.select" in line 17 - The index of the collection is out of range.

Error code: -10713 (4DRT)
The index of the collection is out of range.
component: '4DRT'
task -16, name: '$QUICK_OPEN'

Call chain:
[
    {
        "type": "classFunction",
        "name": "listbox.select",
        "line": 17,
        "database": "4DPop QuickOpen"
    },
    {
        "type": "classFunction",
        "name": "_quickOpen.search",
        "line": 69,
        "database": "4DPop QuickOpen"
    },
    {
        "type": "formMethod",
        "name": "QUICK_OPEN",
        "line": 47,
        "database": "4DPop QuickOpen"
    },
    {
        "type": "projectMethod",
        "name": "QUICK_OPEN",
        "line": 27,
        "database": "4DPop QuickOpen"
    }
]
elutz commented 3 weeks ago

The previous comment is at least spam and may contain a potentially malicious link. Unfortunately, I can't delete or report it. I reported it. It's now deleted.

vdelachaux commented 3 weeks ago

Hello Lutz Thanks for the feedback. I will have a look Vincent

PS. The previous comment is no more available. It must have been detected automatically