View Issue Details

IDProjectCategoryView StatusLast Update
421PHPOF2Defaultpublic25 Mar 2013 23:01
Reportermrosenquist Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status confirmedResolutionopen 
Product Version0.12.2 
Summary421: Calling get on a link table with only two field throws an error
DescriptionIf a table only contains primary keys then calling get will produce a query as follows:
"SELECT FROM ...."

Which is an invalid query as no fields are part of the select
TagsNo tags attached.

Activities

timj

25 Mar 2013 23:01

manager   ~467

Agreed. Patches accepted.
The only result will be cosmetic, as it will result in an exception from PHPOF instead of an SQL error. But that would definitely be cleaner.

Issue History

Date Modified Username Field Change
12 Mar 2013 08:53 mrosenquist New Issue
25 Mar 2013 23:01 timj Note Added: 467
25 Mar 2013 23:01 timj Status new => confirmed