Openbravo Issue Tracking System - Retail Modules  | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update | 
| 0056150 | Retail Modules | Retail API | public | 2024-08-01 14:39 | 2024-08-08 07:44 | 
| Reporter | kchoperena | ||||
| Assigned To | Retail | ||||
| Priority | high | Severity | major | Reproducibility | always | 
| Status | closed | Resolution | fixed | ||
| Platform | OS | 5 | OS Version | ||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Merge Request Status | approved | ||||
| Review Assigned To | |||||
| OBNetwork customer | OBPS | ||||
| Support ticket | |||||
| Regression level | |||||
| Regression date | |||||
| Regression introduced in release | |||||
| Regression introduced by commit | |||||
| Triggers an Emergency Pack | No | ||||
| Summary | 0056150: Import of ProductPriceException API documentation is broken | ||||
| Description | The class ImportProductPriceExceptionJavaPropertyMappingHandler is overriding the getPropertyDocumentation hiding all the documentation included in the super class | ||||
| Steps To Reproduce | 1.- Log into the Openbravo backoffice 2.- Open the Swagger and check the schema for the import of the PriceList RESULT: Inside the PriceListVersion > ProductPrice > ProductPriceException, the organization field is missing  | ||||
| Proposed Solution | diff --git a/src/org/openbravo/commercialoperations/api/mappings/ProductPriceException/ImportProductPriceExceptionJavaPropertyMappingHandler.java b/src/org/openbravo/commercialoperations/api/mappings/ProductPriceException/ImportProductPriceExceptionJavaPropertyMappingHandler.java index 1e3878c..d94e1df 100644 --- a/src/org/openbravo/commercialoperations/api/mappings/ProductPriceException/ImportProductPriceExceptionJavaPropertyMappingHandler.java +++ b/src/org/openbravo/commercialoperations/api/mappings/ProductPriceException/ImportProductPriceExceptionJavaPropertyMappingHandler.java @@ -44,8 +44,8 @@ public class ImportProductPriceExceptionJavaPropertyMappingHandler @Override public List<PropertyDocumentation<?>> getPropertyDocumentation() { - return List.of(new StringPropertyDocumentation(PROPERTY_COMMERCIAL_OPERATION).nullable(true) - .description("To add a commercial operation to the price exception")); + return combinePropertyDocumentation(super.getPropertyDocumentation(),List.of(new StringPropertyDocumentation(PROPERTY_COMMERCIAL_OPERATION).nullable(true) + .description("To add a commercial operation to the price exception"))); } @Override  | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://issues.openbravo.com/file_download.php?file_id=20053&type=bug  | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2024-08-01 14:39 | kchoperena | New Issue | |||
| 2024-08-01 14:39 | kchoperena | Assigned To | => Triage Platform Conn | ||
| 2024-08-01 14:39 | kchoperena | File Added: Screenshot from 2024-08-01 14-38-35.png | |||
| 2024-08-01 14:39 | kchoperena | OBNetwork customer | => No | ||
| 2024-08-01 14:39 | kchoperena | Triggers an Emergency Pack | => No | ||
| 2024-08-01 14:40 | kchoperena | Proposed Solution updated | |||
| 2024-08-01 14:42 | kchoperena | OBNetwork customer | No => OBPS | ||
| 2024-08-01 14:54 | hgbot | Merge Request Status | => open | ||
| 2024-08-01 14:54 | hgbot | Note Added: 0167613 | |||
| 2024-08-01 15:07 | adrianromero | Assigned To | Triage Platform Conn => Retail | ||
| 2024-08-08 07:44 | hgbot | Merge Request Status | open => approved | ||
| 2024-08-08 07:44 | hgbot | Note Added: 0167824 | |||
| 2024-08-08 07:44 | hgbot | Resolution | open => fixed | ||
| 2024-08-08 07:44 | hgbot | Status | new => closed | ||
| 2024-08-08 07:44 | hgbot | Note Added: 0167825 | |||
| Notes | |||||
| 
		 | 
|||||
		
  | 
	
		
  | 
||||
| 
		 | 
|||||
		
  | 
	
		
  | 
||||
| 
		 | 
|||||
		
  | 
	
		
  | 
||||