Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

[SOLVED] Unknown co...
 
Notifications
Clear all

[SOLVED] Unknown column 'testcase.idProductOrComponent' in 'on clause'

4 Posts
2 Users
0 Reactions
4,655 Views
(@youch)
Posts: 5
Active Member
Topic starter
 
[#4454]

Hello,

In the "test case" screen, if I select the column "Product or component" to be displayed, none of the test cases show up and I get this error in the logs :

2017-06-23 12:47:41.073 ** ERROR ** [V6.2.5] Exception-[42S22] SQLSTATE[42S22]: Column not found: 1054 Unknown column 'testcase.idProductOrComponent' in 'on clause'
2017-06-23 12:47:41.073 ** ERROR ** [V6.2.5]    For query : select testcase.id as id, T1.name as nameProject, T2.name as nameProduct, T3.name as nameVersion, T4.name as nameTestCaseType, testcase.name as name, convert(concat(COALESCE(T5.sortOrder,''),'#split#',T5.name,'#split#',COALESCE(T5.color,'')) using utf8) as colorNameRunStatus, convert(concat(COALESCE(T6.sortOrder,''),'#split#',T6.name,'#split#',COALESCE(T6.color,'')) using utf8) as colorNameStatus, T7.fullName as nameResource, testcase.idResource as idResource, testcase.handled as handled, testcase.done as done, testcase.idle as idle, T8.name as nameProductOrComponent,testcase.idProject as idproject from testcase left join project as T1 on testcase.idProject = T1.id left join product as T2 on testcase.idProduct = T2.id left join version as T3 on testcase.idVersion = T3.id left join type as T4 on testcase.idTestCaseType = T4.id left join runstatus as T5 on testcase.idRunStatus = T5.id left join status as T6 on testcase.idStatus = T6.id left join resource as T7 on testcase.idResource = T7.id left join product as T8 on testcase.idProductOrComponent = T8.id where testcase.idle=0 and ( (testcase.idProject not in (0) or testcase.idProject is null ) and (testcase.idProject not in (0) or testcase.idProject is null or (testcase.idResource='4') ) and (testcase.idProject not in (0) or testcase.idProject is null or (testcase.idUser='4') ) ) order by testcase.id desc
2017-06-23 12:47:41.073 ** ERROR ** [V6.2.5]    Strack trace :
2017-06-23 12:47:41.073 ** ERROR ** [V6.2.5]    #0 Sql->query called at [/var/www/html/projeqtor/tool/jsonQuery.php:609]

 
Posted : 23 Jun 2017 14H56
babynus
(@babynus)
Posts: 14953
Main Contributor Admin
 

Issue recorded as ticket #2847


 
Posted : 23 Jun 2017 16H12
babynus
(@babynus)
Posts: 14953
Main Contributor Admin
 

Hi,
Finaly cannot reproduce : this field is not available in the column selector.
Just try and "refresh" the column selector list (click "refresh" button)


 
Posted : 02 Jul 2017 16H52
(@youch)
Posts: 5
Active Member
Topic starter
 

I confirm. A clic on "Cancel" to fall back to default display made the entry to disapear.

Perhaps it's a side effect from an upgrade.

Thank you.


 
Posted : 04 Jul 2017 17H59
Share:

Scroll to Top