Project: 	
  | View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0052907 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| defect | [POS2] POS | major | always | 2023-07-03 10:06 | 2023-07-21 14:23 | |||
| Reporter | malsasua | View Status | public | |||||
| Assigned To | meriem_azaf | |||||||
| Priority | high | Resolution | fixed | Fixed in Version | 23Q4 | |||
| Status | closed | Fix in branch | Fixed in SCM revision | |||||
| Projection | none | ETA | none | Target Version | ||||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | SCM revision | |||||||
| Merge Request Status | approved | |||||||
| Review Assigned To | ||||||||
| OBNetwork customer | Gold | |||||||
| Support ticket | 66437 | |||||||
| Regression level | Coding ( Testing ) | |||||||
| Regression date | 2023-06-05 | |||||||
| Regression introduced in release | ||||||||
| Regression introduced by commit | https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/be2b7bb397472c32d16993c52cddad94d1ce80f2 [^] | |||||||
| Triggers an Emergency Pack | No | |||||||
| Summary | 0052907: Login offline is not working | |||||||
| Description | The login offline is not working, it is returning error: Error Cannot read properties of undefined (reading 'OBC2_BarcodeScanner_avgTimeByChar')  | |||||||
| Steps To Reproduce | 1. do login with user vallblanca 2. complete a ticket 3. click in "vallblanca" button -> do logout 4. open dev tools -> network -> offline 5. login with user vallblanca 6. complete a ticket 7. click in "vallblanca" button -> do logout 8. refresh browser (F5) 9. login with user vallblanca -> error: Cannot read properties of undefined (reading 'OBC2_BarcodeScanner_avgTimeByChar')  | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
		  Relationships		[ Relation Graph ] 
		[ Dependency Graph ] 
			 | 
|||||||||||||||
  | 
|||||||||||||||
  		Notes	 | 
|
| 
				(0152726) hgbot (developer) 2023-07-20 13:54  | 
	
		Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1177 [^] | 
| 
				(0152798) hgbot (developer) 2023-07-21 14:23  | 
	
		Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2 [^] Changeset: a04ceb6d288590fe2e50d631541027f68c98d35e Author: Meriem Azaf <meriem.azaf@openbravo.com> Date: 21-07-2023 12:22:55 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/a04ceb6d288590fe2e50d631541027f68c98d35e [^] Fixes ISSUE-52907: Login offline is not working The login offline is not working, it is returning error: Error Cannot read properties of undefined (reading 'OBC2_BarcodeScanner_avgTimeByChar'). The problem here that the property permissions was null in dbTerminal in restoreSession and undifined in LoginProcess. So we get it from the dbUser.userProps. --- M web-jspack/org.openbravo.core2/src/core/authentication/LoginProcess.js M web-jspack/org.openbravo.core2/src/core/authentication/RestoreSession.js ---  | 
| 
				(0152799) hgbot (developer) 2023-07-21 14:23  | 
	
		Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/merge_requests/1177 [^] | 
  Issue History	 | 
|||
| Date Modified | Username | Field | Change | 
| 2023-07-03 10:06 | malsasua | New Issue | |
| 2023-07-03 10:06 | malsasua | Assigned To | => Retail | 
| 2023-07-03 10:06 | malsasua | OBNetwork customer | => Gold | 
| 2023-07-03 10:06 | malsasua | Support ticket | => 66437 | 
| 2023-07-03 10:06 | malsasua | Triggers an Emergency Pack | => No | 
| 2023-07-03 10:07 | malsasua | File Added: Screenshot from 2023-07-03 10-06-02.png | |
| 2023-07-03 10:47 | ebecerra | Assigned To | Retail => ebecerra | 
| 2023-07-03 10:48 | ebecerra | Status | new => scheduled | 
| 2023-07-13 09:57 | guilleaer | Assigned To | ebecerra => meriem_azaf | 
| 2023-07-20 10:26 | meriem_azaf | Relationship added | caused by 0052092 | 
| 2023-07-20 10:28 | meriem_azaf | Relationship added | related to 0052271 | 
| 2023-07-20 10:34 | meriem_azaf | Regression level | => Coding ( Testing ) | 
| 2023-07-20 10:34 | meriem_azaf | Regression date | => 2023-06-05 | 
| 2023-07-20 10:34 | meriem_azaf | Regression introduced by commit | => https://gitlab.com/openbravo/product/pmods/org.openbravo.core2/-/commit/be2b7bb397472c32d16993c52cddad94d1ce80f2 [^] | 
| 2023-07-20 13:54 | hgbot | Merge Request Status | => open | 
| 2023-07-20 13:54 | hgbot | Note Added: 0152726 | |
| 2023-07-21 14:22 | hgbot | Merge Request Status | open => approved | 
| 2023-07-21 14:23 | hgbot | Resolution | open => fixed | 
| 2023-07-21 14:23 | hgbot | Status | scheduled => closed | 
| 2023-07-21 14:23 | hgbot | Fixed in Version | => 23Q4 | 
| 2023-07-21 14:23 | hgbot | Note Added: 0152798 | |
| 2023-07-21 14:23 | hgbot | Note Added: 0152799 | |
| Copyright © 2000 - 2009 MantisBT Group |