* - added validation for min and max value when run process
- added validation when insert min and max value format
* - remove unused class
- change reference id to displayType
- translate error massage
* refactoring code by carlosRuiz-globalqss
* IDEMPIERE-5750 Error when switching to tab when choosing a language other than English
* - avoid usage of AdempiereIdGenerator.escapeId when not ZkUnitTest
* IDEMPIERE-5786 - ESC Shortcut for Closing Tabs
- remove duplicate registering of on_cancel event on InfoPanel
- register on_cancel event on WindowContainer
* IDEMPIERE-5786 - partially revert ESC Shortcut for Closing Tabs
* IDEMPIERE-5786 - improve closing tabs with shortcut
- info windows
- forms
- workflows
- find window
* IDEMPIERE-5786 - SysConfig to Use Esc For Tab Closing
* IDEMPIERE-5786 - fix MSysConfig order
* IDEMPIERE-5786 - requested changes by Carlos
- implement shortcut on missing forms
- allow Alt+X shortcut also when ESC is allowed with the SysConfig
* IDEMPIERE-5786 - PR1917pr patch by Carlos
- removed unnecessary fix for an old firefox issue
* IDEMPIERE-5738 - Info Window ID columns are sorted by ID instead of display value
* IDEMPIERE-5738 - improved parsing logic
- improved parsing logic for parsing display column aliases
- added getByKeyColumns method to MTable
* IDEMPIERE-5738 - requested changes
- replace JOIN with LEFT JOIN
- add AD_Reference_Value_ID to ColumnInfo.java
- check AD_Reference_ID and AD_Reference_Value_ID
- improve parsing
* IDEMPIERE-5738 - simplify 'getTable' logic
* IDEMPIERE-5738 - updating MTable from master
* IDEMPIERE-5738 - updating MTable from master
* IDEMPIERE-5738 - updating MTable from master
* IDEMPIERE-5738 - bug fix in getTable
* IDEMPIERE-5738 - fix bug if where clause is defined
* IDEMPIERE-5738 - small fixes
- change reference check from idID to isLookup
- fix wron tab spacing of getSQLJoin() method
* IDEMPIERE-5738 - fix unnecessary joins
* IDEMPIERE-5738 - small fixes
- rename joinTable to joinTableForUserOrder
- clear joinTableForUserOrder value in getUserOrderClause method
* IDEMPIERE-5738 - fix error with query criteria
* IDEMPIERE-5738 - fix trl tables, select distinct
- fix problem with translation tables
- fix problem with distinct info windows (error: for SELECT DISTINCT, ORDER BY expressions must appear in select list)
* IDEMPIERE-5738 - change approach from LEFT JOIN to subquery
- approach suggested by Heng Sin
* IDEMPIERE-5738 - support UUID key and composite key tables
* IDEMPIERE-5738 - fix WHERE clause in ORDER BY subquery
- improved ColumnInfo.java by selectClause
- in ORDER BY we need to use InfoColumn.SelectClause
* IDEMPIERE-5738 - small fixes
Requested changes by Heng Sin
* IDEMPIERE-5781 Any user can destroy a configured SQL Query
* - fix problem not showing the advanced toolbar back
* - implement suggestion from Heng Sin
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - Archive
* - Support for master/detail reports on UUID based tables
* - Archive button
* - Add test print format for UU Based Table
* - backward compatibility on MArchive.getReportAndDocumentCountByRecordId
* - Backward compatibility with filesystem storage
* - Improve naming of temporary folder for 2Pack
* - Improve query to use correctly the index
* - Improve method to use ID when no UUID
* - Ensure the Record_UU is filled even when called from foreign sources
* - Implement the same provision for exceptional cases on MAttachment, MChat, MLabelAssignment, MPostIt to fill the UUID when not passed (f.e. when created by a plugin)
* 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
* IDEMPIERE-5769: WRadioGroupEditor : make RadioGroupEditor class public
https://idempiere.atlassian.net/browse/IDEMPIERE-5769
* IDEMPIERE-5769: WRadioGroupEditor : make RadioGroupEditor class public
change serialVersionUID
* IDEMPIERE-5746 Bank Statement and Production cannot use Overwrite Date/Seq on Complete
* - Backward compatibility - assign mandatory default doc type
* IDEMPIERE-5643 - Allows Workflow Activities form to throw Exceptions if an error occurs after user's approval
* IDEMPIERE-5643 - show message in wf activity
---------
Co-authored-by: matheus.marcelino <matheus.marcelino@devcoffee.com.br>
* 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
* IDEMPIERE-5735 Useless code in GridTable.dataSave
* - Solve issue with saving zero ID records on UI
* - remove unnecessary row - don't need to read again PO because gridTable.getPO returns now correctly POs with zero ID
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - Recent Items
- Implement support for recent items for UUID based tables
- Refactor MRecentItem for better performance
* - fixes
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - ChangeLog - FKRules
* - change warning by IllegalArgumentException
- change package visibility to protected
* - remove unnecessary code - the Model Cascade is calling the deleteModelCascade for children too
* - Implement SysConfig AD_CHANGELOG_SAVE_UUID
- reorganize MSysConfig (there were entries out of order)
* - Add index for performance on AD_ChangeLog.Record_UU
* - Enable change log for tables with multi-key (like _Trl or _Access)
* - Enable saving change log for AD_ClientInfo
* - when updating a record that doesn't have UUID - assign one
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195)
- Fix Record UUID editor
* - Separate WRecordEditor and WRecordUUIDEditor for ID and UUID
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195)
- integrate patch from Heng Sin
---------
Co-authored-by: hengsin <hengsin@gmail.com>
- Upgrade org.outerj.daisy from 1.1.15 to 1.2.2
- Upgrade com.googlecode.owasp-java-html-sanitizer from 20200713.1 to 20220608.1
- Upgrade diff_match_patch.java with latest github location
* IDEMPIERE-5701: Improve logs when role cannot report or export
https://idempiere.atlassian.net/browse/IDEMPIERE-5701
* IDEMPIERE-5701: Reduce log level when role cannot report or export and hide Report button when role cannot report
Co-Authored-By: Carlos Ruiz <carg67@gmail.com>
* IDEMPIERE-5694 Listbox item and group rendering API enhancements
* IDEMPIERE-5694 Listbox item and group rendering API enhancements
- Fix css and rendering bugs
* IDEMPIERE-5669 - Report Row Count shows incorrect data
2 issues fixed:
- row count in tab did not refresh on clicking the refresh button (only on re-run)
- row count included function rows too
* IDEMPIERE-5669 - fixes
- added private attribute to rowCount Label
- added null-check to updateRowCount() method
* IDEMPIERE-5664 - Report Renderer can Overwrite any Current Tab
* IDEMPIERE-5664 - fix issue on close
- do not render the report if the tab is not found (e.g. closed already)
* IDEMPIERE-5664 - pr1777 patch
* IDEMPIERE-5482 - Field Style Scope HTML Element
* IDEMPIERE-5482 - implemented in report engine, removed the new field
* IDEMPIERE-5482 - add IsWrapWithSpan to AD_Style
* IDEMPIERE-5482 - pr1572 patch
* IDEMPIERE-5567 Support of UUID for Search (UU) data type (FHCA-4195)
* - Search editor now assigns the value correctly when selecting from Info Window
- Info Window shows correctly the first UU key column
- Added Record UUID new data type to work with record ID editor but with UU column
- Added column/field Test.Record_UU for testing
* - Fix opening Record ID editor after saved
* - Implement changes suggested by Heng Sin's peer review
* - Remove other unnecessary changes
* - safer comparison
* IDEMPIERE-5650 - Cannot Define Multiple Values for Dashboard Content Process Parameters
* IDEMPIERE-5650 - remove hardcoded condition
* IDEMPIERE-5650 - fix for reference list multiselection
- support for non-ID multiselection types (values were not rendered e.g. with DocType="IP,CO")
* IDEMPIERE-5650 - fix for reference list multiselection
* IDEMPIERE-5650 - bug fixes
- error use case: reference list with numeric values e.g. "10", "20",... (fix: check DisplayType instead of data type)
- error use case 2: defining more than one multi-selection caused parsing error (fixed parsing logic in MDashboardContent)
* IDEMPIERE-5650 - optimise parsing method
* IDEMPIERE-5650 - pr1757_PR0 patch
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195) - Foreign Keys
* - Table Direct working as read-only and link column
* - Fixes for Table with Reference
* - Add UUID FK management to Migrate ID process
- Add MColumn.beforeSave validation to force UUID columns to end with _UU
- Add table TestUUDet with two foreign keys pointing to TestUU (TableDir and Search)
- Add detail tab to Test UU Based Table window
- Add a new test window named Test UU Detail
- Generate model classes for the new test table
- Add test case for the detail test table
- Add MTable.isIDKeyTable method
- Add UU foreign key cross tenant validation to PO.validForeignKeys
* - Added a Chosen Multiple Selection Table with foreign UU for testing
- Changed reference in dictionary logic and sql to reflect new data types
- Disable SearchUU temporarily (will be worked in next step)
- Add validation to avoid encrypting UUID columns
- Avoid warning when searching for getPO method on UUID based tables
- Make Zoom Across button work with UUID foreign keys
- Enable zoom and zoom to detail for UUID foreign keys
- Enable Find Advanced on detail foreign UUID keys
* - Fix javadoc
- Quote properly UUID
- Validate null on return
* - Fix zoom logic - tested zooming to tab in first second and third level
* IDEMPIERE-5644 : Allow to set an image per form
https://idempiere.atlassian.net/browse/IDEMPIERE-5644
* IDEMPIERE-5644 : Allow to set an image per form - fix suggested by hengsin
Co-Authored-By: hengsin <152246+hengsin@users.noreply.github.com>
---------
Co-authored-by: hengsin <152246+hengsin@users.noreply.github.com>
* IDEMPIERE-5567 Support of UUID as Key (FHCA-4195)
* - Implement changes to support Model classes with UUID constructor
* - fix issue with tables with single parent key - like AD_Ref_Table
* - Create test table and JUnit test
* - fixes from Heng Sin
* - Improve performance on new methods in MTable
- Minor refinements in ModelClassGenerator
- Regenerate Test X classes
- Change Create Window from Table to receive the parent link as parameter (because tables can have now no keys at all)
* - Implement suggestions from Heng Sin
* - _UU column as primary key constraint for UUID based tables
---------
Co-authored-by: hengsin <hengsin@gmail.com>
* IDEMPIERE-5565 Cannot create report with virtual column where reference is table with display column = ID
* - make it consistent with the actual approach
* IDEMPIERE-5538 - Add isValid to Drill Rule allow validate parameters with beforesave
* IDEMPIERE-5538 - beforeSave, capture process parameters
* IDEMPIERE-5538 - validate only through process
* IDEMPIERE-5538 - isValid check in getByTable method
* IDEMPIERE-5538 - add validation to before save/after delete
* IDEMPIERE-5538 - validate system drill rules
* IDEMPIERE-5538 - fix validation logic
The mandatory validation have to skip the key parameter since it is not loaded from Drill Rule Para.
* IDEMPIERE-5538 - fix Drill Rule window definition
* IDEMPIERE-5538 - bug fix scripts to iD10
* IDEMPIERE-5538 - fix missing read only logic
* IDEMPIERE-5538 - all scripts to iD10
* IDEMPIERE-5238 - Support of Search display type for AD_Table_ID
* IDEMPIERE-5238 - no key column error
* IDEMPIERE-5238 - fix css
* IDEMPIERE-5238 - move scripts to iD10
* IDEMPIERE-5238 - bug fixes
- dialog did not open if AD_Table_ID = 0
- NPE if closing dialog with OK button and AD_Table_ID = 0
* IDEMPIERE-5238 - fix multiple tableID > 0 checks
* IDEMPIERE-4445 Color Picker field type is not rendered in grid mode show hex value
- fix working with grid view
* IDEMPIERE-4445 Color Picker field type is not rendered in grid mode show hex value
- change style of display view.
* IDEMPIERE-5621 - Dashboard Report ignore if parameter is mandatory or not
* IDEMPIERE-5621 - small fixes
* IDEMPIERE-5621 - missing javadoc for new methods
* IDEMPIERE-5621 - move scripts, list empty para, update css
* IDEMPIERE-5630 - Drill rule from dashboard html report never opening
* IDEMPIERE-5630 - remove windowNo, simplify code
* IDEMPIERE-5630 - small fixes
- add Drill Across Event Listener only when report content is embedded
- small code refactor
* IDEMPIERE-5611 Record ID Editor doesn't work with House Keeping
- Fix zoom window on tables that have this field empty and have a window associated
* - Fix zoom and lookup without AD_Window_ID update
* - Add discovery for more tab levels
* - Fix zoom when AD_Table.AD_Window_ID is null.
* - use the new method also in InfoGeneralPanel
* - set zoom window just when is not defined (preserve potential customizations)
---------
Co-authored-by: hengsin <hengsin@gmail.com>
* IDEMPIERE-5594 : On detail panel grid, button not respect context parsing for DispalyLogic, DefaultValue, MandatoryLogic. take context of previous row.
* IDEMPIERE-5594: Refactored code by Hengsin
Co-authored-by: hengsin@gmail.com
* IDEMPIERE-5595: Allow to deactivate negate option for "Chosen Multiple Selection" components in processes
https://idempiere.atlassian.net/browse/IDEMPIERE-5595
* IDEMPIERE-5595: regenerate serial
* IDEMPIERE-5595: move scripts to iD10 / resolve conflict
* IDEMPIERE-5595: change position of the field / update existing data
* IDEMPIERE-5595: check ProcedureName is empty before enabling it
* IDEMPIERE-5595: update existing records missing in oracle
* Update 202303020910_IDEMPIERE-5595.sql
* Update 202303020910_IDEMPIERE-5595.sql
---------
Co-authored-by: Carlos Ruiz <carg67@gmail.com>
* IDEMPIERE-5238 - initial draft commit
* IDEMPIERE-5238 - fixes
* IDEMPIERE-5238 - popup window
* IDEMPIERE-5238 - renaming to Record ID
* IDEMPIERE-5238 - renaming to Record ID
* IDEMPIERE-5238 - fixes
* IDEMPIERE-5238 - fixes
* IDEMPIERE-5238 - fixes
* IDEMPIERE-5238 - technical fixes
* IDEMPIERE-5238 - pr1610_1 patch
* IDEMPIERE-5238 - bug fixes
* IDEMPIERE-5238 - set table to read only
* IDEMPIERE-5238 - fix parsing error
* IDEMPIERE-5238 - pr1610 patch
* IDEMPIERE-5238 - fix Find Window issue
* IDEMPIERE-5238 - Info Panel NPE patch
* IDEMPIERE-5238 - UI fix
In the Record ID Dialog the 'Record' label should be visible only when the corresponding editor is visible.
* IDEMPIERE-5238 - find window patch
* IDEMPIERE-5238 - clear Record ID when clearing AD_Table_ID
* IDEMPIERE-5238 - clear Record ID when clearing AD_Table_ID
* IDEMPIERE-5238 - move scripts to correct folder
All scripts to iD10
* IDEMPIERE-5586 Implement ID independent migration script
* IDEMPIERE-5586 Implement ID independent migration script
- add Oracle script (99% converted by ChatGPT from PostgreSQL :)).
* IDEMPIERE-5586 Implement ID independent migration script
- handle official id value for foreign key reference .
- add back centralized id support.
* IDEMPIERE-5586 Implement ID independent migration script
- minor refactoring
- add support for AD_Table_ID+Record_ID usage
* IDEMPIERE-5586 Implement ID independent migration script
- add support for Delete
- add unit test
* IDEMPIERE-5586 Implement ID independent migration script
- add insert_accounting and insert_tree support.
* IDEMPIERE-5586 Implement ID independent migration script
- add ADSortTab support.
* IDEMPIERE-5586 Implement ID independent migration script
- move migration script from iD11 to iD10.
* IDEMPIERE-5563 - Font Icons not implemented on HTML Report column menu
* IDEMPIERE-5563 - Font Icons not implemented on HTML Report column menu
* IDEMPIERE-5563 - pr1689 patch
* IDEMPIERE-5520 Navigation between Tabs leave Detached DOM objects (Leak)
- Fix another "Not unique in the ID space of" when tab where clause have context variables and is navigated using zoom
- Add extra cleanup in the unexpected case a Find window is created again
* IDEMPIERE-5520 Navigation between Tabs leave Detached DOM objects (Leak)
- the delay removal using schedule is needed as immediate removal from parent will cause memory leak at browser
---------
Co-authored-by: hengsin <hengsin@gmail.com>
* # IDEMPIERE-5458 - Timezone defined by Organization
* # IDEMPIERE-5468 - improved unit test
* # IDEMPIERE-5458 - removing user/password from scriptg
* IDEMPIERE-5458 - fix migration script
* IDEMPIERE-5458 - adding field in org info tab
* IDEMPIERE-5520 Navigation between Tabs leave Detached DOM objects (Leak)
- Fix NPE
* IDEMPIERE-5520 Navigation between Tabs leave Detached DOM objects (Leak)
- refine NPE fix
- fix a potential leak in billboard
* IDEMPIERE-5520 Navigation between Tabs leave Detached DOM objects (Leak)
- reduce detached html elemenet leak for change role
* IDEMPIERE-5527 Implement asynchronous rendering of dashboard gadget panel
- Auto refresh in background thread instead of UI thread
* IDEMPIERE-5527 Implement asynchronous rendering of dashboard gadget panel
- status line error reported by Peter Takacs
* IDEMPIERE-5527 Implement asynchronous rendering of dashboard gadget panel
- fix performance goal error reported by Peter Takacs
* IDEMPIERE-5511 When you want to create a new label display an Oracle Error: ORA-01747: invalid user.table.column, table.column, or column specification
* - correct select
* IDEMPIERE-5408 Allow or enforce login with specific tenant (FHCA-3823)
Show MFA for support users in System, even if they have roles in several tenants, they can just have MFA defined in System tenant
* IDEMPIERE-5408 Allow or enforce login with specific tenant (FHCA-3823)
- Change of approach, the MFA can be shown first when the client is defined, or when the user is defined to belong to a single tenant
- on the contrary, when we have same user/password in two tenants, the MFA must be delayed until the tenant is identified
- Reviewing this noticed that the Login locking/inactivity logic is working on the full users array, even if the user has a different password (so is a different user)
Fixed this to work just on the authenticated users - this is, those that have the same password in different tenants