Commit Graph

159 Commits

Author SHA1 Message Date
Elaine Tan 2ff6378720
IDEMPIERE-5472 Unclosed resources (#1565)
* IDEMPIERE-5472 Unclosed resources

* IDEMPIERE-5472 Unclosed resources
2022-11-17 17:35:15 +08:00
Fr Jeremy Krieg d78238b0f6
IDEMPIERE-5368 Pack In doesn't close resources properly on failure (#1424)
Change code to use try-with-resources to ensure automatic cleanup.
2022-08-05 09:49:10 +08:00
Fr Jeremy Krieg 00daca9c94
IDEMPIERE-5366 Better error reporting on Pack In failure (#1422)
[pipo] Throw useful exception when table not found
With this commit, Pack In will throw an informative error message
if it can't find a table (including the table name). Without
this fix, you simply get an NPE which doesn't help with debugging.

IDEMPIERE-5366 #resolve
2022-08-04 11:05:32 +02:00
Diego Ruiz 8f6f6dbbb3
IDEMPIERE-4723 - Remove unused method (#1365) 2022-06-15 10:06:49 +08:00
Carlos Ruiz 05e7c5eac7
IDEMPIERE-5289 Apply Packin from Folder is stopping when sending email throws error (FHCA-3601) (#1333) 2022-05-18 10:09:53 +08:00
Carlos Ruiz 1a51e92c42
IDEMPIERE-4586 Update translation of Client to Tenant (#1233)
* IDEMPIERE-4586 Update translation of Client to Tenant

* Exclude AD_Ref_List.Name from the update as it impacts too many constants generated in X_ classes

* * update the Updated column too so that it is easier to trace back which records have been updated (as suggested by Heng Sin)

* * Update some additional messages that becomes duplicated (as reported by Nicolas)

* * Add updates to AD_Tab.CommitWarning (as reported by Nicolas)
2022-03-12 16:59:32 +01:00
Carlos Ruiz 9ae4a2636e
IDEMPIERE-4214 Javadoc: correct warnings on newest java version (#1082)
* iIDEMPIERE-4214 Javadoc: correct warnings on newest java version / fix problem to generate javadoc again

* IDEMPIERE-4214 Javadoc: correct warnings on newest java version / Fix javadoc warnings
2021-12-23 11:44:23 +01:00
Carlos Ruiz 9716c32de4
IDEMPIERE-3476 2Pack: attribute set install is not reference by UUID / integrate patch from hieplq (#1070) 2021-12-21 20:47:57 +08:00
Carlos Ruiz 2888a27fec
IDEMPIERE-5037 PackOut/PackIn must treat EE01/2/4/5 entries as official dictionary (#975) 2021-11-12 10:47:54 +08:00
Carlos Ruiz 557c483fc9
IDEMPIERE-4968 Enable 2Pack to run java class or script (FHCA-3112 FHCA-3113) / Shell script (#891)
* IDEMPIERE-4968 Enable 2Pack to run java class or script (FHCA-3112 FHCA-3113) / Shell script

* IDEMPIERE-4968 Enable 2Pack to run java class or script (FHCA-3112 FHCA-3113) / Java Shell script -> beanshell/groovy

* IDEMPIERE-4968 Enable 2Pack to run java class or script (FHCA-3112 FHCA-3113) / Remove java class option, fixes for script

* IDEMPIERE-4968 Enable 2Pack to run java class or script (FHCA-3112 FHCA-3113) / rename to ScriptJSR223

* IDEMPIERE-4968 Enable 2Pack to run java class or script (FHCA-3112 FHCA-3113) / add audit information to SQL statements, shell and JSR223 scripts
2021-09-24 16:38:07 +08:00
Carlos Ruiz 078d130cd7
IDEMPIERE-4969 Clean non-working 2Pack Code for File and CodeSnippet (#886) 2021-09-19 15:31:18 +08:00
Carlos Ruiz 9d40f6b5df
IDEMPIERE-3508 2pack: support export from text column to string column (#674) 2021-05-04 16:42:17 +02:00
Carlos Ruiz a9b224c25d
IDEMPIERE-4762 Add AD_StorageProvider_ID to AD_Attachment (FHCA-1165) (#662) 2021-04-22 15:13:33 +02:00
Carlos Ruiz ad558ed7ce
IDEMPIERE-4756 2pack import problem (#648) 2021-04-09 12:38:41 +02:00
Deepak Pansheriya 26f88e6fd2
IDEMPIERE-4752 : Cross tenant error fix while importing client data … (#643)
* IDEMPIERE-4752 :  Cross tenant error fix while importing client data 2pack

* Update PackInHandler.java

Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2021-04-09 12:04:24 +02:00
Carlos Ruiz 1ffe76b595
IDEMPIERE-4733 2Pack - -Cannot export and import data from one client to another client (#626)
* IDEMPIERE-4733 2Pack - -Cannot export and import data from one client to another client

* Fix Cross tenant PO reading request ...

* IDEMPIERE-4733

* Add control for importing records with official IDs, to show a clearer message to the user
2021-03-12 11:37:59 +01:00
Carlos Ruiz 9c1c4a54a8
IDEMPIERE-4674 PackIn AD_Image or AD_Archive leave corrupt record when using FileSystem storage provider (#558)
* IDEMPIERE-4674 PackIn AD_Image or AD_Archive leave corrupt record when using FileSystem storage provider

* * Fixes suggested by @hengsin
2021-01-28 21:37:13 +08:00
Carlos Ruiz 4493373b96
IDEMPIERE-4673 PackOut fails to export attachments with File storage provider (#554)
* IDEMPIERE-4673 PackOut fails to export attachments with File storage provider

* Implement similar solution for Image and Archive

* Simplify the nested ifs

Change approach for MAttachment as is not working for Data Single
2021-01-28 20:10:02 +08:00
hengsin d96199a2b6
IDEMPIERE-4251 Constant definition for all Env Context (#519)
* IDEMPIERE-4251 Constant definition for all Env Context

replace "#Date" with Env.DATE

* IDEMPIERE-4251 Constant definition for all Env Context

replace "#.." with constant at Env

* IDEMPIERE-4251 Constant definition for all Env Context

Merge patch from Carlos
2021-01-12 21:29:50 +08:00
Diego Ruiz da6d6b83aa
IDEMPIERE-4607 Cannot export windows via 2pack if any field has a Fie… (#483)
* IDEMPIERE-4607 Cannot export windows via 2pack if any field has a Field Group

* IDEMPIERE-4607 Implement changes discussed in JIRA - Add a new isList method to DisplayType

* IDEMPIERE-4607 Fixed typo

* IDEMPIERE-4607 Implement default method to return false by default - PR CarlosRuiz
2020-12-26 16:35:50 +01:00
Carlos Ruiz a60dd24533
IDEMPIERE-4495 github code scanning alerts (#308)
* IDEMPIERE-4495 github code scanning alerts

Failure to use secure cookies

* Failure to use secure cookies - one more

* Fix: Arbitrary file write during archive extraction ("Zip Slip")

* Fix: Resolving XML external entity in user-controlled data
2020-10-18 11:04:54 +08:00
hengsin 60b173699f
IDEMPIERE-4256 [2pack] issue with export org (non office id) (#223)
Incorporate patch from hieplq - not to export ad_org_id for ad_org table
Fix typo for ad_org_id exclude check. Remove ad_org_id from exclude list
to maintain backward compatiblity.
2020-08-25 10:08:38 +02:00
Carlos Ruiz 455ed28e92 IDEMPIERE-308 Performance: Replace use of StringBuffer and String concatenation with StringBuilder 2020-04-13 14:47:46 +02:00
Carlos Ruiz 790d96148f Merge release-7.1 into master 2020-03-29 14:37:39 +02:00
Carlos Ruiz 6c56100724 IDEMPIERE-4221 PackOut type "Data Single" (FHCA-1198) 2020-03-24 21:23:09 +01:00
hengsin df5b0c2ea8 IDEMPIERE-4177 Replace SYSDATE with getDate() 2020-03-03 10:07:14 +08:00
Carlos Ruiz 70bb9041d2 IDEMPIERE-4169 Unresolved elements of 'Record_ID' in AttachmentElementHandler 2020-02-08 13:16:03 +01:00
Carlos Ruiz 817cd5fd65 IDEMPIERE-3218 Cross-tenant error when importing web service security records / fix problem when importing attachments because of Record_ID column 2019-11-28 13:36:17 +01:00
hieplq b811cde27a IDEMPIERE-4105:fix out of bound exception when don't append "comment" 2019-11-14 21:34:17 +07:00
hieplq 03fe304d7e IDEMPIERE-4105:add "comment" to 2pack file
refine pack from Carlos
2019-11-14 19:40:38 +07:00
Diego Ruiz 335269dd37 IDEMPIERE-3218 Cross-tenant error when importing web service security records 2019-11-13 10:17:53 +01:00
Heng Sin Low f46b8afb5c IDEMPIERE-4098 CLogger usage pattern clean up 2019-11-12 20:49:55 +08:00
Carlos Ruiz 4f72545787 IDEMPIERE-236 Centralization of hardcoded IDs / display types - preparing class for IDEMPIERE-3970 2019-05-16 11:27:05 +02:00
Carlos Ruiz 760fd61bcc IDEMPIERE-3925 Export button - zip doesn't work for tables without single primary key 2019-03-21 11:58:56 -03:00
Carlos Ruiz a56d51fc8a IDEMPIERE-3923 Pack In inserts zero on AD_Role and AD_User when UUID is not found 2019-03-18 19:52:47 -03:00
Carlos Ruiz 1b2007ed3b IDEMPIERE-3876 Encoding and line delimiter issues / convert sources to unix line delimiter 2019-01-21 15:37:14 +01:00
Carlos Ruiz 3456ab5b6b IDEMPIERE-3824 Implement apply packin from folder from command line / improve error messaging and rollback on error 2019-01-15 18:36:59 +01:00
Carlos Ruiz 33b8b505d7 IDEMPIERE-3852 Export zip button (pack out) has error for tabs beyond third level (FHCA-815) 2018-12-19 20:00:20 +01:00
Deepak Pansheriya ce5914a3fb IDEMPIERE-3803 : PackOut process is not exporting UUIDs references for fields AD_Image_ID 2018-10-17 07:52:58 -04:00
Carlos Ruiz 19fed8e7fd IDEMPIERE-3508 2pack: suport export from normal string column to text long string column / fix R_MailText.MailText imported as 1.dat|string 2018-11-13 17:21:51 -02:00
Carlos Ruiz a7d4a7d690 IDEMPIERE-2648 implement pack-in pack-out handle for infoWindow 2018-11-12 15:29:22 -02:00
Carlos Ruiz bc99a2669c IDEMPIERE-3816 Deadlock in 2Pack after creating a foreign key constraint with AD_Sequence 2018-11-10 23:19:17 -02:00
Carlos Ruiz d3ddf88d83 IDEMPIERE-2771 Improve 2pack tracing for errors - fix problem reported by Andrea Bellotto
https://groups.google.com/d/msg/idempiere/8RwwI6duAAs/idONU539CAAJ
2018-11-05 21:48:12 -02:00
hieplq 479deb9b27 Merge 2018-10-31 17:31:38 +07:00
hieplq 155810c3f1 IDEMPIERE-3798:Move iDempiere default branch to openjdk 10 (warning deprecated of constructer)
constructer with expression
2018-10-24 09:25:50 +07:00
Carlos Ruiz 069bc5e5ba IDEMPIERE-2771 Improve 2pack tracing for errors / AP2-694 Packin sometimes notifies Success when is a Failure 2018-10-13 10:33:53 +02:00
Carlos Ruiz 814016b2fc IDEMPIERE-3660 Improve Packin - allow application on all tenants / manage properly non-readable zip files 2018-03-20 17:35:43 -03:00
Carlos Ruiz 00ec75b027 IDEMPIERE-3660 Improve Packin / PackIn is not notifying for non System tenant 2018-03-16 18:03:03 -03:00
Carlos Ruiz 89c00b7ada IDEMPIERE-3660 Improve Packin - allow application on all tenants 2018-03-16 17:49:25 -03:00
Carlos Ruiz c582c21810 IDEMPIERE-3551 1008086 - External (non-plugin) 2Pack automation 2017-11-08 18:29:30 +01:00