Home My Page Projects FusionForge
Summary Activity Forums Tracker Lists News SCM Files Mediawiki Hudson/Jenkins

[#691] tying to create a new theme causes errror:

Date:
2014-06-18 19:58
Priority:
3
State:
Closed
Submitted by:
J T (jtremblay)
Assigned to:
Franck Villaume (nerville)
Target Release:
5.3.2
Found in Version:
5.3.1
Severity:
normal
Resolution:
Fixed
Summary:
tying to create a new theme causes errror:

Detailed description
@ "Edit the Themes Table"
submitting a new theme causes:

Click to toggle
db_query_params() failed (ERROR: invalid input syntax for integer: "hc_admin"), SQL: INSERT INTO themes (theme_id,dirname,fullname,enabled) VALUES ($1,$2,$3,$4)
Array
(
[params] => Array
(
[0] => hc_admin
[1] => hc_admin
[2] => HelixCommunity
[3] => t
)

)
Message  ↓
Date: 2014-06-21 07:27
Sender: Franck Villaume

fix in Branch_5_3 commit: 4bfa852daee1f6d3fd39b8142d311b0f33a3da4e

Date: 2014-06-21 07:01
Sender: Franck Villaume

the form is way to permissive.
theme_id MUST be an integer.

Try with theme_id as integer (value > to the max theme_id)

Field Old Value Date By
ResolutionAwaiting Response2014-06-21 07:27nerville
status_idOpen2014-06-21 07:27nerville
close_dateNone2014-06-21 07:27nerville
assigned_tonone2014-06-21 07:27nerville
Target Release5.3.12014-06-21 07:27nerville
Severitymajor2014-06-21 07:27nerville
details @ "Edit the Themes Table" submitting a new theme causes: Click to toggle db_query_params() failed (ERROR: invalid input syntax for integer: "hc_admin"), SQL: INSERT INTO themes (theme_id,dirname,fullname,enabled) VALUES ($1,$2,$3,$4) Array ( [params] => Array ( [0] => hc_admin [1] => hc_admin [2] => HelixCommunity [3] => t ) )2014-06-21 07:01nerville
ResolutionNone2014-06-21 07:01nerville