Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0050118Openbravo ERPA. Platformpublic2022-08-31 07:132022-08-31 09:51
caristu 
caristu 
highminorhave not tried
closedfixed 
5
 
PR22Q4 
Core
No
0050118: Standard interface for defining the priority of an object
It would be nice to have an standard interface that would allow to define the priority of some objects.

This would be used, for example, to retrieve the instances of an injection point sorted by priority.
.
No tags attached.
related to defect 0050119 acknowledged Triage Platform Conn Modules Deprecate org.openbravo.service.external.integration.Prioritizable in favor of org.openbravo.base.Prioritizable 
Issue History
2022-08-31 07:13caristuNew Issue
2022-08-31 07:13caristuAssigned To => caristu
2022-08-31 07:13caristuModules => Core
2022-08-31 07:13caristuTriggers an Emergency Pack => No
2022-08-31 07:19caristuSummaryStandard interface for defining the priority of injected instances => Standard interface for defining the priority of an object
2022-08-31 07:19caristuDescription Updatedbug_revision_view_page.php?rev_id=24696#r24696
2022-08-31 08:06hgbotNote Added: 0140522
2022-08-31 08:11caristuIssue cloned0050119
2022-08-31 08:11caristuRelationship addedrelated to 0050119
2022-08-31 09:51hgbotResolutionopen => fixed
2022-08-31 09:51hgbotStatusnew => closed
2022-08-31 09:51hgbotFixed in Version => PR22Q4
2022-08-31 09:51hgbotNote Added: 0140544
2022-08-31 09:51hgbotNote Added: 0140545

Notes
(0140522)
hgbot   
2022-08-31 08:06   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/697 [^]
(0140544)
hgbot   
2022-08-31 09:51   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 78b818e87e919e9f298b09066d0afb9b35bd90e7
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 31-08-2022 08:34:47
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/78b818e87e919e9f298b09066d0afb9b35bd90e7 [^]

fixes ISSUE-50118: Support retrieving injected beans sorted by a priority number

---
A src/org/openbravo/base/Prioritizable.java
M modules/org.openbravo.base.weld/src-test/org/openbravo/base/weld/test/testinfrastructure/CdiInfrastructure.java
M modules/org.openbravo.base.weld/src-test/org/openbravo/base/weld/test/testinfrastructure/ExtensionBean.java
M modules/org.openbravo.base.weld/src-test/org/openbravo/base/weld/test/testinfrastructure/QualifiedBean.java
M modules/org.openbravo.base.weld/src/org/openbravo/base/weld/WeldUtils.java
---
(0140545)
hgbot   
2022-08-31 09:51   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/697 [^]