- Affected App
- WoltLab Suite Core
Nicht wirklich ein großer Fehler, aber weil drum gebeten:
Es gibt in der option.xml einige Options mit Optiontype Integer, bei denen keine minvalue / maxvalue angegeben sind. Fehleingaben (z.B. negative Werte) führen möglicherweise zu Exceptions; z.B. wenn Datenbankabfragen darauf basieren. Beispiel:
Code
<!-- dashboard -->
<option name="recent_activity_items">
<categoryname>dashboard.content.recentActivities</categoryname>
<optiontype>integer</optiontype>
<defaultvalue>10</defaultvalue>
</option>
<option name="recent_activity_sidebar_items">
<categoryname>dashboard.sidebar.recentActivities</categoryname>
<optiontype>integer</optiontype>
<defaultvalue>5</defaultvalue>
</option>
<!-- /dashboard -->
Display More
==>
Could not execute prepared statement: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-7' at line 2