1602 / 1602/kontroller

[report] if actionname equals flowcontrol function name then does not work

Offen
#3 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
7
Forks
5
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

example
load('application')
after(use('refresh', only: ['refresh'])

action ('refresh', function (){
//
})

i think, it's not a bug but just reported

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Look at the kontroller codebase to understand how action names and flow control function names are resolved. Check the 'load' and 'after' functions, and see how the 'refresh' action is registered. The issue suggests a naming conflict; find where actions are matched and where flow control functions are invoked. Test with a minimal example to reproduce the problem.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript
Bereich
backend
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
30/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.