Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0013308 | Openbravo ERP | 01. General setup | public | 2010-05-13 09:08 | 2010-06-25 16:34 |
|
Reporter | elopio | |
Assigned To | iperdomo | |
Priority | urgent | Severity | major | Reproducibility | random |
Status | closed | Resolution | no change required | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | pi | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0013308: Can't schedule accounting process with selenium |
Description | While executing ACC0020_ScheduleAccountingProcess with selenium the process can't be scheduled.
This used to happen randomly. Now it's happening more often; you can see the history in hudson [1], it failed four times in a row. It is really weird as the smoke executes around 4 process scheduling/unscheduling and they all succeed.
The problem is only with this scenario. And the difference from the rest is that this one first creates the process (with a user that's not the system administrator) and then schedules it. The other tests schedule the AcctServerProcess with Openbravo user.
To make it even more weird, the application shows no error. The test creates the process and then clicks the schedule button. A green message is shown saying that the process was scheduled and everything seems fine. But when the popup with the message is closed, the schedule button is still visible. And the unschedule button is not.
I haven't been able to reproduce it manually, so it might be a conflict with selenium.
I know that I'm not giving you much information and this would be hard to fix. But please let me know what additional information would be useful and I'll try to provide it to you. And you might know the difference between a scheduling the process that already exists and a newly created process.
Setting priority as high because it breaks the automated smoke.
[1] http://builds.openbravo.com/job/erp_devel_main-pgsql-smoke-test/192/testReport/com.openbravo.test.integration.erp.testsuites.smoke.accountingprocess/ACC0010_ScheduleAccountingProcess/history/ [^] |
Steps To Reproduce | Run masterdata suite up to test ADM0110_CreateUser
Run ACC0010_DeactivateBackgroundProcess test
Run ACC0020_ScheduleAccountingProcess test |
Proposed Solution | after showing the message saying that the process was successfully scheduled, the schedule button should be hidden and the unschedule button unhidden. |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0013386 | 2.50MP19 | closed | iperdomo | Openbravo ERP | It is possible to delete a Scheduled process | blocks | defect | 0013307 | | closed | elopio | QA | Smoke suite fails in schedule accounting process |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2010-05-13 09:08 | elopio | New Issue | |
2010-05-13 09:08 | elopio | Assigned To | => adrianromero |
2010-05-13 09:08 | elopio | Relationship added | blocks 0013307 |
2010-05-13 10:52 | psarobe | Priority | high => urgent |
2010-05-13 10:52 | psarobe | Severity | minor => major |
2010-05-13 10:52 | psarobe | Status | new => scheduled |
2010-05-18 18:05 | adrianromero | Assigned To | adrianromero => iperdomo |
2010-05-18 18:10 | adrianromero | Note Added: 0027447 | |
2010-05-18 19:37 | iperdomo | Note Added: 0027449 | |
2010-05-18 19:37 | iperdomo | Assigned To | iperdomo => elopio |
2010-05-18 19:37 | iperdomo | Status | scheduled => feedback |
2010-05-19 10:13 | plujan | Assigned To | elopio => iperdomo |
2010-05-19 10:14 | plujan | Note Added: 0027549 | |
2010-05-19 16:23 | elopio | Note Added: 0027559 | |
2010-05-19 16:26 | plujan | Relationship added | related to 0013386 |
2010-05-19 16:29 | plujan | Note Added: 0027560 | |
2010-05-19 16:29 | plujan | Status | feedback => closed |
2010-05-19 16:30 | plujan | Resolution | open => no change required |
2010-05-20 00:00 | anonymous | sf_bug_id | 0 => 3004340 |
2010-05-26 09:29 | hgbot | Checkin | |
2010-05-26 09:29 | hgbot | Note Added: 0027738 | |
2010-05-26 09:29 | hgbot | Checkin | |
2010-05-26 09:29 | hgbot | Note Added: 0027739 | |
2010-05-28 07:04 | hgbot | Checkin | |
2010-05-28 07:04 | hgbot | Note Added: 0027787 | |
2010-05-28 07:04 | hgbot | Checkin | |
2010-05-28 07:04 | hgbot | Note Added: 0027788 | |
2010-05-28 07:47 | hgbot | Checkin | |
2010-05-28 07:47 | hgbot | Note Added: 0027797 | |
2010-05-28 07:47 | hgbot | Checkin | |
2010-05-28 07:47 | hgbot | Note Added: 0027798 | |
2010-05-28 09:32 | hgbot | Checkin | |
2010-05-28 09:32 | hgbot | Note Added: 0027806 | |
2010-05-28 09:32 | hgbot | Checkin | |
2010-05-28 09:32 | hgbot | Note Added: 0027807 | |
2010-06-11 05:46 | hgbot | Checkin | |
2010-06-11 05:46 | hgbot | Note Added: 0028283 | |
2010-06-11 05:46 | hgbot | Checkin | |
2010-06-11 05:46 | hgbot | Note Added: 0028284 | |
2010-06-25 16:34 | hgbot | Checkin | |
2010-06-25 16:34 | hgbot | Note Added: 0028785 | |
2010-06-25 16:34 | hgbot | Checkin | |
2010-06-25 16:34 | hgbot | Note Added: 0028786 | |
Notes |
|
|
To try to reduce the area where this error is located, It would be good to enable the log configuration to the finest level and enable the log of SQL sentences and parameters Hibernate executes in the log4j.lcf configuration file. Then compare the logs produced by a sequence where the error is reproduced and by a sequence where the error is not reproduced. |
|
|
|
Make sure that you unschedule the process with the System Administrator role _before_ trying to schedule it for an specific client.
Please check with PSA about, how to enable the AcctSever for an specific client.
Cheers,
Iván |
|
|
(0027549)
|
plujan
|
2010-05-19 10:14
|
|
Please do not change assigned user when asking for feedback. You (Ivan) are still the developer assigned no matter current issue status. |
|
|
(0027559)
|
elopio
|
2010-05-19 16:23
|
|
The test before this one unschedules the original AcctServerProcess with user Openbravo.
I'll ask PSA about the enabling, however I think that this process is correctly enabled, as sometimes the schedule succeeds. |
|
|
(0027560)
|
plujan
|
2010-05-19 16:29
|
|
Raised issue 0013387 and modified the related test case to put proper dates. |
|
|
(0027738)
|
hgbot
|
2010-05-26 09:29
|
|
|
|
(0027739)
|
hgbot
|
2010-05-26 09:29
|
|
|
|
(0027787)
|
hgbot
|
2010-05-28 07:04
|
|
|
|
(0027788)
|
hgbot
|
2010-05-28 07:04
|
|
|
|
(0027797)
|
hgbot
|
2010-05-28 07:47
|
|
|
|
(0027798)
|
hgbot
|
2010-05-28 07:47
|
|
|
|
(0027806)
|
hgbot
|
2010-05-28 09:32
|
|
|
|
(0027807)
|
hgbot
|
2010-05-28 09:32
|
|
|
|
(0028283)
|
hgbot
|
2010-06-11 05:46
|
|
|
|
(0028284)
|
hgbot
|
2010-06-11 05:46
|
|
|
|
(0028785)
|
hgbot
|
2010-06-25 16:34
|
|
|
|
(0028786)
|
hgbot
|
2010-06-25 16:34
|
|
|