[jira] [Commented] (OFBIZ-12726) Running integration tests under Gradle 7.6 and JDK 17 fails

2022-12-22 Thread Jacques Le Roux (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17651305#comment-17651305
 ] 

Jacques Le Roux commented on OFBIZ-12726:
-

Hi Eugen,

bq. Would love to see OFBiz with jdk17
Sure I'd, I'm already running it locally with Grdl 7.6 and JDK 17. I did not 
cross any blocking problem so far.


> Running integration tests under Gradle 7.6 and JDK 17 fails
> ---
>
> Key: OFBIZ-12726
> URL: https://issues.apache.org/jira/browse/OFBIZ-12726
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: 22.01.01
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: Upcoming Branch
>
>
> Following our discussion at 
> https://lists.apache.org/thread/kr4v21lxx493byzgpdrzfbz3whhbm82m I ran the 
> integration tests and found that we currently have 322 errors and 190 
> failures :/ 
> It's a blocker for releasing...



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Comment Edited] (OFBIZ-12726) Running integration tests under Gradle 7.6 and JDK 17 fails

2022-12-22 Thread Jacques Le Roux (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17650848#comment-17650848
 ] 

Jacques Le Roux edited comment on OFBIZ-12726 at 12/22/22 2:40 PM:
---

I did not have time to work on OFBIZ-12721 .
I hope to get some time next week.

Would love to see OFBiz with jdk17


was (Author: ieugen):
I did not have time to work on 
https://issues.apache.org/jira/browse/OFBIZ-12721 .
I hope to get some time next week.

Would love to see OFBiz with jdk17

> Running integration tests under Gradle 7.6 and JDK 17 fails
> ---
>
> Key: OFBIZ-12726
> URL: https://issues.apache.org/jira/browse/OFBIZ-12726
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: ALL COMPONENTS
>Affects Versions: 22.01.01
>Reporter: Jacques Le Roux
>Assignee: Jacques Le Roux
>Priority: Blocker
> Fix For: Upcoming Branch
>
>
> Following our discussion at 
> https://lists.apache.org/thread/kr4v21lxx493byzgpdrzfbz3whhbm82m I ran the 
> integration tests and found that we currently have 322 errors and 190 
> failures :/ 
> It's a blocker for releasing...



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Updated] (OFBIZ-12722) Fix Java 17 two warning issues

2022-12-22 Thread Jacques Le Roux (Jira)


 [ 
https://issues.apache.org/jira/browse/OFBIZ-12722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Le Roux updated OFBIZ-12722:

Parent: OFBIZ-12400
Issue Type: Sub-task  (was: Task)

> Fix Java 17 two warning issues
> --
>
> Key: OFBIZ-12722
> URL: https://issues.apache.org/jira/browse/OFBIZ-12722
> Project: OFBiz
>  Issue Type: Sub-task
>  Components: base, testtools
>Affects Versions: Upcoming Branch
>Reporter: Jacques Le Roux
>Priority: Minor
>
> AuthHelper.java:132: warning: [removal] AccessController in java.security has 
> been deprecated and marked for removal
> return AccessController.doPrivileged(
>^
> GroovyScriptTestCase.java:29: warning: [deprecation] GroovyTestCase in 
> groovy.util has been deprecated
> public class GroovyScriptTestCase extends GroovyTestCase {



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Closed] (OFBIZ-12679) RuntimeData and RecurrenceInfo not cleaned after job purge

2022-12-22 Thread Mekika Leila (Jira)


 [ 
https://issues.apache.org/jira/browse/OFBIZ-12679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mekika Leila closed OFBIZ-12679.

Fix Version/s: 22.01.01
   Resolution: Fixed

> RuntimeData and RecurrenceInfo not cleaned after job purge
> --
>
> Key: OFBIZ-12679
> URL: https://issues.apache.org/jira/browse/OFBIZ-12679
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework/service
>Affects Versions: 22.01.01, Upcoming Branch
>Reporter: Gaetan Chaboussie
>Assignee: Mekika Leila
>Priority: Major
> Fix For: 22.01.01
>
> Attachments: Mutualisation_et_correction.patch, Test.patch
>
>
> We noticed that the purging of jobs doesn't clean the related RuntimeData and 
> RecurrenceInfo
> We created an integration test for development and reproduction of bug, 
> provided in the first patch
> For the fix, we get the relevant runtimeDataId and recurrenceInfoId to pass 
> to the delegator in getRelatedOne method.
> See the second patch
> We also offer a small code rework/ mutualization of the Job related object.
> Thanks to [~pgil]  for his help



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12679) RuntimeData and RecurrenceInfo not cleaned after job purge

2022-12-22 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17651238#comment-17651238
 ] 

ASF subversion and git services commented on OFBIZ-12679:
-

Commit b80e411bb827134e995bdaeb7857feb07c6beb28 in ofbiz-framework's branch 
refs/heads/trunk from Mekika Leila
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=b80e411bb8 ]

Fixed: RuntimeData and RecurrenceInfo not cleaned after job purge
(OFBIZ-12679)

Add jobSandbox related runtimeDataId and recurrenceInfoId fields when
searching for jobs to purge so that the PurgeJob can retrieve and clean
job related entities (JobUtil.removeJob)
Also add a test that validate the complete purge

Thanks: Gaëtan Chaboussie for report and corrective patch


> RuntimeData and RecurrenceInfo not cleaned after job purge
> --
>
> Key: OFBIZ-12679
> URL: https://issues.apache.org/jira/browse/OFBIZ-12679
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework/service
>Affects Versions: 22.01.01, Upcoming Branch
>Reporter: Gaetan Chaboussie
>Assignee: Mekika Leila
>Priority: Major
> Attachments: Mutualisation_et_correction.patch, Test.patch
>
>
> We noticed that the purging of jobs doesn't clean the related RuntimeData and 
> RecurrenceInfo
> We created an integration test for development and reproduction of bug, 
> provided in the first patch
> For the fix, we get the relevant runtimeDataId and recurrenceInfoId to pass 
> to the delegator in getRelatedOne method.
> See the second patch
> We also offer a small code rework/ mutualization of the Job related object.
> Thanks to [~pgil]  for his help



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12679) RuntimeData and RecurrenceInfo not cleaned after job purge

2022-12-22 Thread ASF subversion and git services (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17651217#comment-17651217
 ] 

ASF subversion and git services commented on OFBIZ-12679:
-

Commit d9d73419fae4c0b0a0ec43de3ce24e48a6342249 in ofbiz-framework's branch 
refs/heads/release22.01 from MLeila
[ https://gitbox.apache.org/repos/asf?p=ofbiz-framework.git;h=d9d73419fa ]

Fixed: RuntimeData and RecurrenceInfo not cleaned after job purge
(OFBIZ-12679)

Add jobSandbox related runtimeDataId and recurrenceInfoId fields when
searching for jobs to purge so that the PurgeJob can retrieve and clean
job related entities (JobUtil.removeJob)
Also add a test that validate the complete purge

Thanks: Gaëtan Chaboussie for report and corrective patch


> RuntimeData and RecurrenceInfo not cleaned after job purge
> --
>
> Key: OFBIZ-12679
> URL: https://issues.apache.org/jira/browse/OFBIZ-12679
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework/service
>Affects Versions: 22.01.01, Upcoming Branch
>Reporter: Gaetan Chaboussie
>Assignee: Mekika Leila
>Priority: Major
> Attachments: Mutualisation_et_correction.patch, Test.patch
>
>
> We noticed that the purging of jobs doesn't clean the related RuntimeData and 
> RecurrenceInfo
> We created an integration test for development and reproduction of bug, 
> provided in the first patch
> For the fix, we get the relevant runtimeDataId and recurrenceInfoId to pass 
> to the delegator in getRelatedOne method.
> See the second patch
> We also offer a small code rework/ mutualization of the Job related object.
> Thanks to [~pgil]  for his help



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Commented] (OFBIZ-12679) RuntimeData and RecurrenceInfo not cleaned after job purge

2022-12-22 Thread Mekika Leila (Jira)


[ 
https://issues.apache.org/jira/browse/OFBIZ-12679?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17651207#comment-17651207
 ] 

Mekika Leila commented on OFBIZ-12679:
--

Thank you Gaëtan and Gil

I tested it before and after corrective patch and it seemed alright
with command :    ./gradlew 'ofbiz -t component=service -t 
suitename=servicetests -t case=service-purge-test'

For information, I will move the tests in src/main packages so it won't execute 
as integration test

> RuntimeData and RecurrenceInfo not cleaned after job purge
> --
>
> Key: OFBIZ-12679
> URL: https://issues.apache.org/jira/browse/OFBIZ-12679
> Project: OFBiz
>  Issue Type: Bug
>  Components: framework/service
>Affects Versions: 22.01.01, Upcoming Branch
>Reporter: Gaetan Chaboussie
>Assignee: Mekika Leila
>Priority: Major
> Attachments: Mutualisation_et_correction.patch, Test.patch
>
>
> We noticed that the purging of jobs doesn't clean the related RuntimeData and 
> RecurrenceInfo
> We created an integration test for development and reproduction of bug, 
> provided in the first patch
> For the fix, we get the relevant runtimeDataId and recurrenceInfoId to pass 
> to the delegator in getRelatedOne method.
> See the second patch
> We also offer a small code rework/ mutualization of the Job related object.
> Thanks to [~pgil]  for his help



--
This message was sent by Atlassian Jira
(v8.20.10#820010)