adempiere / adempiere-vue

ADempiere-Vue is a new UI for ADempiere ERP, CRM & SCM. It is based on Vue and uses the UI Toolkit element-ui. It is a great UI for ADempiere ERP, CRM & SCM, based on the newest development stack of Vue, built-in i18n solution, typical templates for enterprise applications, lots of awesome features. This project was forked from Vue-Element-Admin originally write by PanJiaChen / 花裤衩 over MIT license and was changed to GNU/GPL v3 by Yamel Senih after forked granted by PanJiaChen / 花裤衩 on the issue "Extend as GNU/Gpl v3 License #1434".
https://adempiere.github.io/adempiere-vue
GNU General Public License v3.0
58 stars 47 forks source link

[Bug Report] Error with re-login after timeout #1484

Open yamelsenih opened 2 years ago

yamelsenih commented 2 years ago

Error after run a timeout from service

The problem is when a path is used and the current session is closed

Steps to reproduce

  1. Login
  2. Open Point of Sales
  3. Find a order draft and with a payment
  4. Wait for session logout
  5. After session expire just login
  6. See the error

Screenshot or Gif(截图或动态图)

Peek 2022-01-28 17-50

Expected behavior

Just open the POS like last session

Other relevant information

Additional context

vue.runtime.esm.js?2b0e:619 [Vue warn]: Duplicate keys detected: '1000013'. This may cause an update error.

found in

---> <Collection> at src/components/ADempiere/Form/VPOS/Collection/index.vue
       <ElDrawer> at packages/drawer/src/main.vue
         <Split>
           <SplitArea>
             <Split>
               <ElMain> at packages/main/src/main.vue
                 <ElContainer> at packages/container/src/main.vue
                   <VposDesktop> at src/components/ADempiere/Form/VPOS/templateDevice/desktop.vue
                     <VPOS> at src/components/ADempiere/Form/VPOS/index.vue
                       <FormPanel> at src/components/ADempiere/Form/index.vue
                         <ElCard> at packages/card/src/main.vue
                           <ElCol>
                             <ElRow>
                               <ElMain> at packages/main/src/main.vue
                                 <ElContainer> at packages/container/src/main.vue
                                   <FormView> at src/views/ADempiere/Form/index.vue
                                     <SummaryView> at src/views/ADempiere/Summary/index.vue... (1 recursive calls)
                                       <AppMain> at src/layout/components/AppMain.vue
                                         <Layout> at src/layout/index.vue
                                           <App> at src/App.vue
                                             <Root>
elsiosanchez commented 2 years ago

Greetings, this problem is solved in the next PR #1486

yamelsenih commented 2 years ago

To review