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] Problems m...
 
Notifications
Clear all

[SOLVED] Problems marking test case runs as "success"

20 Posts
2 Users
0 Reactions
14.6 K Views
henning telemann
(@4ce)
Posts: 56
Active Member
Topic starter
 
[#4033]

Hi there,

we got some problems with validating the test case runs.

The following message appears:

“Some field contains invalid data. Please correct first”

As already read in the topic Test Session Issues (ver. 3.2.2).

1. sometimes appears this message “Some field contains invalid data. Please correct first”.
It means some data is not correct. Incorrect fields are highlighted. For instance, when status is set to failed, a ticket must be selected (or created).

we did not see any highlighted fields. the only fields which are highlited are the one which are mandatory. i tried to configure all elements but the error appears again. the testcase and test plan can be closed, but we can not mark the test case (runs) as "OK" (success) or "blocked". the mentioned message appears all the time. additionaly no error log will be written. i guess this message (pop-up) is just an information and therefore no log entry is generated. we do not know which field cause the error.

can you please assist?


 
Posted : 24 Jan 2017 18H37
babynus
(@babynus)
Posts: 14956
Main Contributor Admin
 

This issue occured on V6.0.0 but is fixed since V6.0.4.
What is your version ?


 
Posted : 25 Jan 2017 23H41
henning telemann
(@4ce)
Posts: 56
Active Member
Topic starter
 

Hi babynus,

we are using:

ProjeQtOr V6.0.5 (156)

Dojo 1.10.6 (718461a)


 
Posted : 26 Jan 2017 11H27
henning telemann
(@4ce)
Posts: 56
Active Member
Topic starter
 

Just updatet to release

ProjeQtOr V6.0.7 (158)
Dojo 1.10.6 (718461a)

Problem still persists using different Testplans/test case runs.

What was the Problem in Version 6.0.0 maybe we can check if this occured again?


 
Posted : 26 Jan 2017 13H32
babynus
(@babynus)
Posts: 14956
Main Contributor Admin
 

Unfortunately it is a "hidden" issue, that was masked.
But I'm almost sure it works fine now, I just tested again...

First, try and clean browser cache, as some javascrit is involved.... (use browser parameter screen to be sure to clean cache, sometimes F5 is not enough)

If you still reproduce, please try and reproduce on Demo, mayby it's due to some way to do we can't thing about.


 
Posted : 26 Jan 2017 21H38
henning telemann
(@4ce)
Posts: 56
Active Member
Topic starter
 

after some Tests the Problem still persists. we tried out several test cases and test plans, even newly generated and we tested on different Clients/browser. we have no Chance at all to mark Tests as "success" Problem still persists.

we even updated to the newest Version. in demo everything works as expected.

do you have a clue? its difficult to figure out in fact no logging will be written.


 
Posted : 15 Feb 2017 18H51
babynus
(@babynus)
Posts: 14956
Main Contributor Admin
 

Except a cache issue, I cannot guess what issue is...

What you can possibly try is :
1) test new install and test, with brand new data if issue occurs or not
2) then import your data in this new instance and test again
Give result so we can find out if issue is due to code/config or due to data


 
Posted : 16 Feb 2017 1H03
henning telemann
(@4ce)
Posts: 56
Active Member
Topic starter
 

Hi There,

ok - i set up a completly new vm with ubuntu LAMP 16.4server - installed projeqtor ProjeQtOr V6.1.0 (160) - chmod and chown the needed Directory. installed mbstring, gd and XML additionally. upgraded database on first Login.

with the completly new empty projeqtor i created an empty Project only named "test" - Content "test". next step was creating a test case only named "test" Project "test" description "test". after that i created a test session, same here: Name: "test", Project "test" description "test". press "save". add the test case after Auto save i click on the green "OK" and then the error appears again "Some field contains invalid data. Please correct first".

the same procedure in demo works without any issues.

maybe a Linux Problem? or a Problem with some rights or configurations?

thank you for your assistance.

regards


 
Posted : 16 Feb 2017 19H09
babynus
(@babynus)
Posts: 14956
Main Contributor Admin
 

Hi,

First, this is not a Linux issue : Demo runs on Linux (Ubuntu).

Then, I tried again, executing your use case step by step, and not produce the isse.
All runs fine for me.
So it is difficult to analyse without reproduction.

Most probable possibility I can imagine is a cache issue.
Please try after completely clearing browser cache (through parameters, not only F5)
Also try with another browser you never used before.

Thanks


 
Posted : 17 Feb 2017 17H09
henning telemann
(@4ce)
Posts: 56
Active Member
Topic starter
 

Hi again.

I deleted the whole Cache via Parameters. Still the same issue. We tested on 2 different Laptops and the issue is reproducable. And at last i tested the following browser:

Internet Explorer 11
Google Chrome 56
Firefox 31
Vivaldi 1.7

still the same issue.

are there any needed fields or required data which is mandatory for closing testcases or anything else? maybe some Connections, Parameters or configurations related to Projects or Test Cases which i may have missed?

iam completly clueless :-/ we will run projeqtor in our Company but this seems to be the showstopper.

thanks for your effort


 
Posted : 23 Feb 2017 13H26
henning telemann
(@4ce)
Posts: 56
Active Member
Topic starter
 

just for Information. recently updated to 6.1.1 - Problem still exists


 
Posted : 23 Feb 2017 17H04
babynus
(@babynus)
Posts: 14956
Main Contributor Admin
 

We'll add some debugging code in patch V6.1.2, to try and have idea of origin of issue.
(unfortunately, whatever I try I cannot reproduce...)


 
Posted : 28 Feb 2017 12H49
henning telemann
(@4ce)
Posts: 56
Active Member
Topic starter
 

well - thank you for your help, so far.

when will 6.12 be released?

i chmod and chown rekursive the whole Directory to WWW-data, just for Logical understanding, what happened with the test-cases, which modules or directories are affected? it is Kind a weird because the test Environment works and 2 different Environments in our Company are having some Troubles, i'm trying to figure it out but totally have no clue


 
Posted : 28 Feb 2017 15H35
babynus
(@babynus)
Posts: 14956
Main Contributor Admin
 

As soon as I have time to treat all posts in the forum 😉


 
Posted : 01 Mar 2017 1H56
henning telemann
(@4ce)
Posts: 56
Active Member
Topic starter
 

ok guess what, i figured out which data was needed for Setting the testrun to "success". he definitly Needs a ticket data. without ticket he is not able to mark the testrun. this is weird because on your demo Version i did not Need any ticket data attached to the testrun.

if i put in an incorrect value in php table for test case runs in the field ticket, he is also able to mark the test case with success. and if i put in a random ticket in projeqtor self, with edit Options, he is too. i thought putting in connected tickets was only needed for failed Tests? otherwise it works on your side without ticket data informations. maybe you have a clue what went wrong in our 2 different projeqtor Environments. on the other completly new desinged appliance ticket-id is needed too for marking testruns "success".

regards and thanks for your Patience and effort


 
Posted : 03 Mar 2017 14H53
babynus
(@babynus)
Posts: 14956
Main Contributor Admin
 

Hi,

Thanks for the analysis !

In fact, I thing that on Demo the test session is defined on project having some tickets, so ticket list is not empty and ticket is set to first one (but this value is not used on "Passed" case). In your case, Ticket list may be empty, so not defaut value...

We'll fix that !

EDIT : I could reproduce, so now fixing will be easy 😉


 
Posted : 03 Mar 2017 21H49
henning telemann
(@4ce)
Posts: 56
Active Member
Topic starter
 

perfect. thanks in advance


 
Posted : 07 Mar 2017 13H34
babynus
(@babynus)
Posts: 14956
Main Contributor Admin
 

Fix is included in patch V6.1.2


 
Posted : 09 Mar 2017 16H54
henning telemann
(@4ce)
Posts: 56
Active Member
Topic starter
 

great Job thank you. will try it asap


 
Posted : 09 Mar 2017 17H54
henning telemann
(@4ce)
Posts: 56
Active Member
Topic starter
 

after installing the patch - deleting the last ticket. everything works as expected. Thank you for your great help.


 
Posted : 09 Mar 2017 18H48
Share:

Scroll to Top