Putting a non-integer value into a path where an integer is expected just gives a database error instead of a page not found. I only see this with a SQL Server site, not a MySQL site.
PDOException: SQLSTATE[22018]: [Microsoft][SQL Server Native Client 10.0][SQL Server]Conversion failed when converting the nvarchar value 'noninteger' to data type int.: SELECT revision.[vid] AS [vid], base.[uid] AS [uid], revision.[title] AS [title], revision.[log] AS [log], revision.[status] AS [status], revision.[comment] AS [comment], revision.[promote] AS [promote], revision.[sticky] AS [sticky], base.[nid] AS [nid], base.[type] AS [type], base.[language] AS [language], base.[created] AS [created], base.[changed] AS [changed], base.[tnid] AS [tnid], base.[translate] AS [translate], revision.[timestamp] AS [revision_timestamp], revision.[uid] AS [revision_uid] FROM {node} base INNER JOIN {node_revision} revision ON revision.vid = base.vid WHERE ( ([base].[nid] IN (:db_condition_placeholder_0)) ); Array ( [:db_condition_placeholder_0] => noninteger ) in DrupalDefaultEntityController->load() (line 196 of C:\Users\user\Documents\My Web Sites\D7 SQLSRV\includes\entity.inc).
Comments
Comment #1
geodaniel commentedIt looks like this is related to #1003788: PostgreSQL: PDOException:Invalid text representation when attempting to load an entity with a string or non-scalar ID, so maybe not a sqlsrv issue specifically.
Comment #2
david_garcia commentedThis issue can be seen in different places all over core and contrib.
You cannot throw a string against a numeric column on MSSQL. This is not a MSSQL issue.