Commit Graph

243 Commits

Author SHA1 Message Date
Carlos Ruiz 5705474223 IDEMPIERE-6018 Dangerous 2Packs generated with UpdateDictionary=true (#2215)
* IDEMPIERE-6018 Dangerous 2Packs generated with UpdateDictionary=true

* - change message to make it clear that it doesn't export official dictionary entries
2024-02-06 10:11:10 +01:00
Carlos Ruiz d0d1cfb555
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - fix NPE in PackIn (#2144) 2023-12-16 10:52:13 +01:00
Carlos Ruiz 36d81c258e
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - Translation (#2119)
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195)

- Manage translation for UUID based tables
- Enable 2Pack Import UUID based tables with translation
- Create ad_package_imp_detail.Record_UU
- Create test table TestUU_Trl

* - Fix Synchronize Doc Translation
2023-11-27 16:02:51 +08:00
Zuhri Utama 756b9e733f
IDEMPIERE-4687 : PackOut is writing twice the AD_Org_ID in each record (#2050) 2023-10-11 16:23:40 +08:00
Carlos Ruiz e1202b37e0
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) (#2042)
- Fix issue with 2Pack reported by Hiep
2023-10-07 09:28:18 +08:00
Carlos Ruiz 5dfd3cca8f
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) (#2006)
- fix for broken PackIn on AD_Menu.Parent_ID
2023-09-13 12:37:27 +02:00
Carlos Ruiz eee6f449c3
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) (#1985)
- Fix issue caused by last changes - the *SelectionGrid fields are not working because they don't have a formal Reference
2023-09-01 10:41:41 +08:00
Carlos Ruiz 954b3b2fec
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) (#1976)
- Fix 2Pack to work with UUID based tables
- Implement ability for PackOut/PackIn multi ID columns
2023-08-26 09:49:39 +08:00
hengsin 9c7713fa8d
IDEMPIERE-5448 2023 June Platform Update (#1531)
* IDEMPIERE-5448 Can't launch unit test with Eclipse 2022-09

- upgrade to tycho 3.1.0-SNAPSHOT
- set maven compiler source and target level to 11
- upgrade to junit 5.9.1

* IDEMPIERE-5448 Can't launch unit test with Eclipse 2022-09

- Change tycho version to 3.0.3

* IDEMPIERE-5448 2023 June Platform Update

* IDEMPIERE-5448 2023 June Platform Update

- Explicitly set target, source and release level to JavaSE 11

* IDEMPIERE-5448 2023 June Platform Update

- Use 3.0.5-SNAPSHOT to fix stack overflow error.

* IDEMPIERE-5448 2023 June Platform Update

- Change source, target and release level to JDK 17
- Update target platform name to idempiere-230620

* IDEMPIERE-5448 2023 June Platform Update

- Fix LogFactory ClassNotFound exception with Eclipse 2023-06
2023-06-21 13:44:18 +02:00
Carlos Ruiz 013ba190fd
IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - Toolbar (#1865)
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - Toolbar

- add support for AD_Attachment, CM_Chat, AD_PostIt and AD_LabelAssignment for UUID based tables

* - Better deprecated message
- Better deprecated management for constructors

* - Fix non unique exception on ad_changelog
- Fix to save changelog just ID on insert and not the UUID for ID based tables
2023-05-31 10:39:10 +08:00
hengsin 39a5bd813d
IDEMPIERE-5719 PackInHandler.dumpUnresolvedElements include elements that doesn't have any unresolve properties (#1832) 2023-05-11 16:26:48 +02:00
hengsin 6716cace06
IDEMPIERE-5718 PoFiller.setTableReference sometime failed to load MColumn instance (#1831) 2023-05-11 12:37:37 +02:00
Carlos Ruiz fe72b671ab
IDEMPIERE-5238 Record_ID editor (#1705)
- fixes for the new cross-tenant validation
2023-03-09 10:16:25 +08:00
Carlos Ruiz 29f59e645f
IDEMPIERE-5515 Processes Generate "Unknown Parameter: ..." logs (#1646)
* IDEMPIERE-5515 Processes Generate "Unknown Parameter: ..." logs

* - Fix for the new PrintFormatItemSync
2023-01-26 13:09:11 +01:00
Carlos Ruiz dd7b63aa0d
IDEMPIERE-5523 Release 10 Peace (#1624)
- move master to release-11 development build
2022-12-24 00:20:49 +01:00
Elaine Tan 2ff6378720
IDEMPIERE-5472 Unclosed resources (#1565)
* IDEMPIERE-5472 Unclosed resources

* IDEMPIERE-5472 Unclosed resources
2022-11-17 17:35:15 +08:00
hengsin 536eda3546
IDEMPIERE-5427 Upgrade to Tycho 2.7.5 (#1493)
- restore .classpath to remove Tycho Configurator m2e connector
dependency
2022-09-21 14:21:27 +02: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 fa62f421b9
iIDEMPIERE-5109 Release 9 Horizon - set master in v10 (#1092) 2021-12-24 17:18:24 +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
hengsin ae5a665dd8
IDEMPIERE-4933 Platform update for 9.x (#857)
* IDEMPIERE-4933 Platform update for 9.x

- WIP

* IDEMPIERE-4933 Platform update for 9.x

- project to repackaged some osgi bundles from maven

* IDEMPIERE-4933 Platform update for 9.x

- Fix target platform error

* IDEMPIERE-4933 Platform update for 9.x

* IDEMPIERE-4933 Platform update for 9.x

- minor eclipse setting fix
2021-09-04 16:12:10 +02: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
hengsin 1971b4f0dc
IDEMPIERE-4488 Remove .classpath from repository (#607)
* IDEMPIERE-4488 Remove .classpath from repository

* IDEMPIERE-4488 Remove .classpath from repository

add ignore for .classpath

* IDEMPIERE-4488 Remove .classpath from repository

remove ".settings/org.eclipse.jdt.core.prefs"

* IDEMPIERE-4488 Remove .classpath from repository

fix false status report for /bin and .project
2021-03-03 00:02:03 +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 8103ab0732 IDEMPIERE-4604 Release 8.2
Change references to new version
Create new migration folder
2020-12-20 10:15:20 +01:00
Carlos Ruiz 6390ce20cd IDEMPIERE-4604 Release 8.2
Fix warnings on MANIFEST.MF
2020-12-20 09:53:21 +01:00
Carlos Ruiz 210e54b05f IDEMPIERE-4521 Release 8.1 - RC
Change versions in pom and manifest files
2020-11-03 21:59:12 +01:00
hengsin 9162b60af7
IDEMPIERE-4498 Performance: add cache for osgi services factory (#321)
* IDEMPIERE-4498 Performance: add cache for osgi services factory

add cache for tableName -> IModelFactory

* IDEMPIERE-4498 Performance: add cache for osgi services factory

implement cache for the discovery of osgi services

* IDEMPIERE-4498 Performance: add cache for osgi services factory

added unit test
2020-10-26 18:53:10 +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
hieplq 9a35f2054d
IDEMPIERE-4314:eclipse project setting independent JDK (#90) 2020-06-01 11:30:00 +08:00
hieplq 595e0df99c
Idempiere-4298:support update jdk (jdk 12 13 14) (#69)
* IDEMPIERE-4298: remove Bundle-RequiredExecutionEnvironment

when build by tycho value of Bundle-RequiredExecutionEnvironment and jdt need to compatibility
in case we use Bundle-RequiredExecutionEnvironment = 11 then can't build by jdk != 11
so stick on fix value isn't good

eclipse now also support Require-Capability, so don't need Bundle-RequiredExecutionEnvironment anymore

* IDEMPIERE-4298:support update jdk (jdk 12 13 14)

default environment still jdk-11 but you can build for any jdk by below command

export JAVA_HOME=path to jdk
mvn verify -Djdk.version=11

in case on JAVA_HOME is jdk 14 then can set jdk.version for 11, 12, 13, 14 and same for other jdk

at moment java 14 just support on eclipse 2020-03 with install plugin
Java 14 Support for Eclipse 2020-03 (4.15)
2020-05-20 11:18:31 +08:00
hengsin c3cad0d1e2
IDEMPIERE-4249 Platform Refresh for 7.1z (#19)
Upgrade to Tycho 1.7.0, Eclipse 2020-03, Zk 9.0.1 and Jetty 9.4.28
2020-04-30 16:01:19 +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