Modify

Ticket #55 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Versuch zwei Versionen zu vergleichen scheitert.

Reported by: achsogehtdas Owned by: dark
Priority: major Milestone:
Component: Frontend Version: beta4
Keywords: diff Cc:

Description

Ich wollte nachsehen was an der Wächterrat-Eingabe geändert wurde.

 https://lqpp.de/lf/initiative/show/80.html?tab=drafts

War glaube ich aber auch ne Fehlbenutzung. Habe keine alte Version ausgewählt, also keine Checkbox aktiviert sondern direkt auf "Vergleichen" geklickt. Bin für weitere Fragen unter  http://twitter.com/achsogehtdas zu erreichen.

/opt/liquid_feedback/webapp/app/main/draft/diff.lua:6: attempt to compare two nil values

Stack trace follows:
/opt/liquid_feedback/webapp/app/main/draft/diff.lua:6: in function 'func'
../env/execute/file_path.lua:24: in function 'file_path'
../env/execute/view.lua:17: in function 'view'
../env/execute/filtered_view.lua:31: in function <../env/execute/filtered_view.lua:30>
(tail call): ?
../env/execute/multi_wrapped.lua:18: in function 'inner_func'
../env/execute/inner.lua:19: in function 'inner'
...back/webapp/app/main/_filter_view/33_help_hidden.lua:1: in function 'func'
../env/execute/file_path.lua:24: in function 'file_path'
../env/execute/_add_filters_by_path.lua:17: in function 'wrapper_func'
...
../env/execute/wrapped.lua:21: in function <../env/execute/wrapped.lua:11>
(tail call): ?
(tail call): ?
../env/execute/filtered_view.lua:28: in function 'filtered_view'
webmcp.lua:354: in function <webmcp.lua:231>
[C]: in function 'xpcall'
webmcp.lua:230: in main chunk
[C]: in function 'pcall'
...feedback/webmcp/framework/cgi-bin/webmcp-wrapper.lua:7: in main chunk
[C]: ?

AB HIER IST DIE FEHLERMELDUNG VORBEI. DAS WEITERE IST (VERMUTLICH) DIE LOGAUSGABE:

*

Configuration "piraten"

o

Configuration "default"

*

REQUESTED VIEW: draft/diff

*

/main/_filter/20_session.lua

o SELECT "session".* FROM "session" WHERE (ident = 'WDysV6Rn1bHqdhfPTCdJow6NOJ3NNPnN') LIMIT 1;
o

/main/_filter/21_auth.lua

+ SELECT "member".* FROM "member" WHERE ("id" IN (242));
+ Authentication accepted.
+

/main/_filter_view/30_navigation.lua

#

/main/_filter_view/31_logout_button.lua

*

/main/_filter_view/32_searchbox.lua

o

/main/_filter_view/33_help_hidden.lua

+

EXECUTE VIEW: draft/diff

#

UNEXPECTED ERROR

*

Finished after 32.8 ms (20.0 ms CPU)

Attachments

Change History

comment:1 Changed 3 years ago by achsogehtdas

Ach ja, ich sollte noch dazu sagen, dass es nur eine Version gab. Wenn man beide Buttons anklickt funktioniert der Vergleich mit sich selbst. Wenn man nur einen Button anklickt kommt die Fehlermeldung auch.

comment:2 Changed 3 years ago by dark

  • Owner set to dark
  • Status changed from new to accepted

Es wird eine Pruefung eingebaut werden, ob 2 radiobuttons ausgewaehlt sind und andernfalls ein erklaerender fehlertext erscheinen.

comment:3 Changed 3 years ago by dark

Fehlerbehandlung in beta6 eingebaut.

comment:4 Changed 3 years ago by dark

  • Status changed from accepted to closed
  • Resolution set to fixed
View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.