Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0045427
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Gift cards and gift voucherscriticalalways2020-11-11 17:582020-11-18 08:45
ReporterdavidverrierView Statuspublic 
Assigned Toprakashmurugesan88 
PriorityimmediateResolutionfixedFixed in VersionRR21Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionmainSCM revision 
Review Assigned Tomarvintm
Regression levelPackaging and release
Regression date2020-07-03
Regression introduced in releasemain
Regression introduced by commithttps://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/3450a35bb1b147d078e3a6ae988695d2416ccd0d#04d7bcf0e0c675a50ab0b5cf9171e6cf4e48447f_127_135 [^]
Triggers an Emergency PackNo
Summary

0045427: Gift Card Error while importing POS Data

DescriptionAfter you purchase a gift card, the sales order cannot be processed due to a datetime parsing error.

java.lang.Error: java.text.ParseException: Unparseable date: "10-11-2021+0000"
    at org.openbravo.service.json.JsonToDataConverter.convertJsonToPropertyValue(JsonToDataConverter.java:188)
    at org.openbravo.mobile.core.utils.OBMOBCUtils.calculateClientDatetime(OBMOBCUtils.java:98)
    at org.openbravo.mobile.core.utils.OBMOBCUtils.calculateServerDate(OBMOBCUtils.java:123)
    at org.openbravo.mobile.core.process.JSONPropertyToEntity.fillBobFromJSON(JSONPropertyToEntity.java:96)
    at org.openbravo.mobile.core.process.JSONPropertyToEntity.fillBobFromJSON(JSONPropertyToEntity.java:37)
    at org.openbravo.retail.giftcards.GiftCardModel.createGiftCard(GiftCardModel.java:664)
    at org.openbravo.retail.giftcards.hooks.OrderLoaderHookGiftCard.exec(OrderLoaderHookGiftCard.java:116)
    at org.openbravo.retail.giftcards.hooks.OrderLoaderHookGiftCard$Proxy$_$$_WeldClientProxy.exec(Unknown Source)
    at org.openbravo.retail.posterminal.OrderLoader.executeHooks(OrderLoader.java:678)
    at org.openbravo.retail.posterminal.OrderLoader.saveRecord(OrderLoader.java:588)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.saveRecord(DataSynchronizationProcess.java:201)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:156)
    at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:88)
    at org.openbravo.mobile.core.process.MobileImportEntryProcessorRunnable.processEntry(MobileImportEntryProcessorRunnable.java:54)
    at org.openbravo.retail.posterminal.importprocess.OrderImportEntryProcessor$OrderLoaderRunnable.processEntry(OrderImportEntryProcessor.java:64)
    at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.doRunCycle(ImportEntryProcessor.java:372)
    at org.openbravo.service.importprocess.ImportEntryProcessor$ImportEntryProcessRunnable.run(ImportEntryProcessor.java:293)
    at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
    at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
    at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
    at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
    at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.text.ParseException: Unparseable date: "10-11-2021+0000"
    at java.base/java.text.DateFormat.parse(DateFormat.java:395)
    at org.openbravo.service.json.JsonToDataConverter.convertJsonToPropertyValue(JsonToDataConverter.java:183)
    ... 21 more

json object:
{"hasbeenpaid":"Y","isbeingprocessed":"N","id":"C06BA57967761793A3D0472452C07746","client":"A0CFA71CBBA2448D83AA8D2B5C466486","organization":"920CE7DC1BC34FDF8D7ADF5738C25530","createdBy":"0D78E38B88A04F2CBE65BD9F4432AEF1","updatedBy":"0D78E38B88A04F2CBE65BD9F4432AEF1","documentType":"511A9371A0F74195AA3F6D66C722729D","orderType":0,"generateInvoice":true,"isQuotation":false,"oldId":null,"priceList":"E2A779E0DE054146977B5CD0574A7A54","priceIncludesTax":false,"currency":"102","currency$_identifier":"EUR","session":"5D1D03296EA8F6EF1C8BDF452438B3A0","warehouse":"E765B3F54CBC4FFEB0586B7771C4C242","salesRepresentative":null,"salesRepresentative$_identifier":null,"posTerminal":"CBC8C5D3373D43AAADDCDF41760A94BA","posTerminal$_identifier":"Rosny","orderDate":"2020-11-10T16:42:55.949Z","creationDate":"2020-11-10T16:40:57.695Z","documentNo":"Rosny\/0000101","externalBusinessPartnerReference":null,"externalBusinessPartnerCategory":null,"externalBusinessPartner":null,"lines":[{"product":{"id":"123C575698D7455387CCD7EBEADE04B5","organization":"0","searchkey":"Gift Card","_identifier":"Chèque cadeau ","uPCEAN":null,"characteristicDescriptionSearch":null,"productType":"I","weight":0,"obposMaxpriceassocprod":null,"obposMinpriceassocprod":null,"mimetype":null,"active":true,"hasAttributes":false,"phiecoDeaamnt":0,"phiecoDeeeamnt":0,"phiecoDea":null,"phiecoDeee":null,"billOfMaterials":false,"obbomAutogeneratebom":false,"printTemplate":"..\/org.openbravo.retail.giftcards\/res\/giftcard.xml","printCard":true,"templateIsPdf":false,"templatePrinter":null,"expirationDays":365,"gcnvGiftcardtype":"G","gcnvInitialAmount":null,"isEditablePrice":true,"isEditableQty":false},"productidentifier":null,"uOM":"100","qty":1,"priceList":0,"description":"","attributeValue":"","obposCanbedelivered":true,"id":"6D54FA79D7C64DC5B5406EF3FF606962","organization":{"id":"920CE7DC1BC34FDF8D7ADF5738C25530","orgName":"Rosny","country":"102","region":""},"warehouse":{"id":"E765B3F54CBC4FFEB0586B7771C4C242","warehousename":"Rosny Entrepôt"},"priceIncludesTax":false,"isEditable":true,"isDeletable":true,"obrdmDeliveryMode":"PickAndCarry","country":"102","region":"","kindOriginator":"OB.UI.SearchProductCharacteristic","giftcardobgcneGCOwner":"6385ABADBF9D6475C4F1484B8EFEEA3A","gcowner_name":"Suarez Carla","giftcardobgcneExpirationdate":"10-11-2021","undefined":"","giftcardid":"23","giftcardAmount":"56","hasRelatedServices":false,"hasMandatoryServices":false,"promotions":[],"netUnitAmount":56,"grossUnitAmount":56,"grossUnitPrice":56,"tax":"9CA5DDA9BE9F4CB5A8632773ADE17D4B","taxes":{"9CA5DDA9BE9F4CB5A8632773ADE17D4B":{"id":"9CA5DDA9BE9F4CB5A8632773ADE17D4B","net":56,"amount":0,"name":"Exonéré 0%","docTaxAmount":"D","rate":0,"taxBase":null,"cascade":false,"lineNo":10}},"grossListPrice":0,"nameDelivery":"Payé-Emporté","obdmmApprovalRequired":false,"baseGrossUnitAmount":0,"baseNetUnitAmount":56,"netUnitPrice":56,"netListPrice":0,"baseNetUnitPrice":56,"taxRate":1,"obposIspaid":true,"obposQtytodeliver":1}],"orderManualPromotions":[],"payments":[{"amount":56,"origAmount":56,"paid":56,"date":"2020-11-10T16:42:54.802Z","kind":"OBPOS_payment.cash","name":"Espèces","rate":"1","mulrate":"1.000000000000","isocode":"EUR","allowOpenDrawer":true,"isCash":true,"openDrawer":false,"printtwice":false,"id":"58DEED5CF62DBE0F89F4607C2347BA62","oBPOSPOSTerminal":"CBC8C5D3373D43AAADDCDF41760A94BA","orderGross":56,"isPaid":false,"isReturnOrder":false,"precision":2}],"payment":56,"paymentWithSign":56,"change":0,"qty":1,"taxes":{"9CA5DDA9BE9F4CB5A8632773ADE17D4B":{"id":"9CA5DDA9BE9F4CB5A8632773ADE17D4B","net":56,"amount":0,"name":"Exonéré 0%","docTaxAmount":"D","rate":0,"taxBase":null,"cascade":false,"lineNo":10}},"description":"","print":true,"sendEmail":false,"isPaid":false,"creditAmount":0,"paidPartiallyOnCredit":false,"paidOnCredit":false,"isLayaway":false,"isEditable":true,"openDrawer":false,"approvals":[],"isPartiallyDelivered":false,"obposPrepaymentamt":56,"obposPrepaymentlimitamt":56,"obposPrepaymentlaylimitamt":0,"cashVAT":false,"invoiceTerms":"I","trxOrganization":"920CE7DC1BC34FDF8D7ADF5738C25530","isBeingDiscounted":false,"reApplyDiscounts":false,"calculateReceiptCallbacks":[],"obrdmDeliveryModeProperty":"PickAndCarry","obrdmDeliveryDateProperty":"","obrdmDeliveryTimeProperty":"","nettingPayment":0,"organizationAddressIdentifier":"Avenue du Général de Gaulle - - - - - France","timezoneOffset":-60,"isNegative":false,"changePayments":[],"selectedPayment":"OBPOS_payment.cash","cloningReceipt":false,"pOSSBusinessDate":"2020-11-09T23:00:00.000Z","obcpotfCoupons":[],"discountAvailabilityExtraStartTime":"2020-11-10T16:52:55.931Z","discountAvailabilityExtraEndTime":"2020-11-10T16:32:55.932Z","businessPartner":{"id":"6385ABADBF9D6475C4F1484B8EFEEA3A","organization":"67D824E9CC4742B796D456C85E46C2FE","searchKey":"Suarez Carla","greetingId":"CF3ACAC55A58454D89E37A7B4F458C12","greetingName":"Madame","_identifier":"Suarez Carla","name":"Suarez Carla","firstName":"Suarez","lastName":"Carla","description":null,"taxID":"","taxCategory":null,"paymentMethod":"E2F3D3AB8DB741728809150DC466BC23","paymentTerms":"9E5489F34CA44ED29B5F66A8D75EECED","priceList":"E2A779E0DE054146977B5CD0574A7A54","invoiceTerms":"I","contactId":"2475039A217FB05C23A1E4E13D180BE6","phone":"","alternativePhone":"","email":"","businessPartnerCategory":"52CF630E77A34CBAAE94CF57E663FDC9","businessPartnerCategory_name":"Employé","creditLimit":0,"creditUsed":0,"taxExempt":false,"customerBlocking":false,"salesOrderBlocking":true,"priceIncludesTax":false,"priceListName":"msrp","priceListCurrency":"102","loaded":"2020-11-10T16:38:35+01:00","birthDay":null,"birthPlace":"","isCustomerConsent":false,"language":"fr_FR","language_name":"French (France)","comments":"","availableCredit":0,"commercialauth":false,"viaemail":false,"viasms":false,"obrlpNbLoyaltyPrograms":0,"obrlpLoyaltyProgramIds":null,"obrlpNbActiveSubscriptions":0,"uniqueCreditNote":true,"shipLocId":"679E59B2B0E342170F585A72416FDDDB","shipLocName":"paris","shipCityName":"","shipPostalCode":"","locationModel":{"id":"679E59B2B0E342170F585A72416FDDDB","bpartner":"6385ABADBF9D6475C4F1484B8EFEEA3A","name":"paris","postalCode":"","cityName":"","countryName":"France","countryId":"102","regionName":"","regionId":"","isBillTo":true,"isShipTo":true,"_identifier":"paris","creationDate":"2020-11-10T16:34:24+01:00","loaded":"2020-11-10T16:38:35+01:00"},"locId":"679E59B2B0E342170F585A72416FDDDB","locName":"paris","cityName":"","postalCode":"","countryName":"France","locationBillModel":{"id":"679E59B2B0E342170F585A72416FDDDB","bpartner":"6385ABADBF9D6475C4F1484B8EFEEA3A","name":"paris","postalCode":"","cityName":"","countryName":"France","countryId":"102","regionName":"","regionId":"","isBillTo":true,"isShipTo":true,"_identifier":"paris","creationDate":"2020-11-10T16:34:24+01:00","loaded":"2020-11-10T16:38:35+01:00"},"locations":[{"id":"679E59B2B0E342170F585A72416FDDDB","bpartner":"6385ABADBF9D6475C4F1484B8EFEEA3A","name":"paris","postalCode":"","cityName":"","countryName":"France","countryId":"102","regionName":"","regionId":"","isBillTo":true,"isShipTo":true,"_identifier":"paris","creationDate":"2020-11-10T16:34:24+01:00","loaded":"2020-11-10T16:38:35+01:00"}]},"grossAmount":56,"netAmount":56,"completeTicket":true,"movementDate":"2020-11-10T16:42:55.949Z","accountingDate":"2020-11-10T16:42:55.949Z","obposCreatedabsolute":"2020-11-10T16:40:57.695Z","created":1605026457695,"undo":null,"multipleUndo":null,"paymentMethodKind":"OBPOS_payment.cash","obposSequencename":"lastassignednum","obposSequencenumber":101,"generateShipment":true,"deliver":true,"calculatedInvoice":{"hasbeenpaid":"Y","isbeingprocessed":"N","id":"816FF6158D127A0CDA68A9AA4B6A6A7A","client":"A0CFA71CBBA2448D83AA8D2B5C466486","organization":"920CE7DC1BC34FDF8D7ADF5738C25530","createdBy":"0D78E38B88A04F2CBE65BD9F4432AEF1","updatedBy":"0D78E38B88A04F2CBE65BD9F4432AEF1","documentType":"511A9371A0F74195AA3F6D66C722729D","orderType":0,"generateInvoice":true,"isQuotation":false,"oldId":null,"priceList":"E2A779E0DE054146977B5CD0574A7A54","priceIncludesTax":false,"currency":"102","currency$_identifier":"EUR","session":"5D1D03296EA8F6EF1C8BDF452438B3A0","warehouse":"E765B3F54CBC4FFEB0586B7771C4C242","salesRepresentative":null,"salesRepresentative$_identifier":null,"posTerminal":"CBC8C5D3373D43AAADDCDF41760A94BA","posTerminal$_identifier":"Rosny","orderDate":"2020-11-10T16:42:55.949Z","creationDate":"2020-11-10T16:40:57.695Z","documentNo":"Rosny\/0000005","externalBusinessPartnerReference":null,"externalBusinessPartnerCategory":null,"externalBusinessPartner":null,"lines":[{"product":{"id":"123C575698D7455387CCD7EBEADE04B5","organization":"0","searchkey":"Gift Card","_identifier":"Chèque cadeau ","productCategory":"41C1A5170DBA45ADBB024CEE099BC8D6","obposScale":false,"uOM":"100","uOMsymbol":"Ud ","uOMstandardPrecision":0,"uPCEAN":null,"description":null,"groupProduct":false,"stocked":false,"showstock":false,"isGeneric":false,"productStatus":null,"generic_product_id":null,"characteristicDescription":null,"characteristicDescriptionSearch":null,"showchdesc":true,"productType":"I","includeProductCategories":null,"includeProducts":null,"printDescription":false,"oBPOSAllowAnonymousSale":true,"returnable":true,"overdueReturnDays":null,"isPriceRuleBased":false,"proposalType":null,"availableForMultiline":false,"isLinkedToProduct":false,"modifyTax":false,"allowDeferredSell":false,"deferredSellMaxDays":null,"quantityRule":null,"isPrintServices":true,"weight":0,"crossStore":false,"obposMaxpriceassocprod":null,"obposMinpriceassocprod":null,"taxCategory":"65B3F8E34D32434DABC8D1E30B9F207E","imgId":null,"mimetype":null,"bestseller":false,"productAssortmentStatus":null,"listPrice":0,"standardPrice":0,"priceLimit":0,"cost":0,"algorithm":"S","active":true,"obposEditablePrice":true,"ispack":false,"hasAttributes":false,"isSerialNo":false,"phiecoDeaamnt":0,"phiecoDeeeamnt":0,"phiecoDea":null,"phiecoDeee":null,"billOfMaterials":false,"obbomAutogeneratebom":false,"printTemplate":"..\/org.openbravo.retail.giftcards\/res\/giftcard.xml","printCard":true,"templateIsPdf":false,"templatePrinter":null,"expirationDays":365,"gcnvGiftcardtype":"G","gcnvInitialAmount":null,"obrdmDeliveryMode":null,"obrdmDeliveryModeLyw":null,"obrdmIsdeliveryservice":false,"isEditablePrice":true,"isEditableQty":false,"ignorePromotions":true},"productidentifier":null,"uOM":"100","qty":1,"priceList":0,"description":"","attributeValue":"","obposCanbedelivered":true,"id":"0053E229E949F63B26500BAC0EC90AC5","organization":{"id":"920CE7DC1BC34FDF8D7ADF5738C25530","orgName":"Rosny","country":"102","region":""},"warehouse":{"id":"E765B3F54CBC4FFEB0586B7771C4C242","warehousename":"Rosny Entrepôt"},"priceIncludesTax":false,"isEditable":true,"isDeletable":true,"obrdmDeliveryMode":"PickAndCarry","country":"102","region":"","kindOriginator":"OB.UI.SearchProductCharacteristic","giftcardobgcneGCOwner":"6385ABADBF9D6475C4F1484B8EFEEA3A","gcowner_name":"Suarez Carla","giftcardobgcneExpirationdate":"10-11-2021","undefined":"","giftcardid":"23","giftcardAmount":"56","hasRelatedServices":false,"hasMandatoryServices":false,"promotions":[],"netUnitAmount":56,"grossUnitAmount":56,"grossUnitPrice":56,"tax":"9CA5DDA9BE9F4CB5A8632773ADE17D4B","taxes":{"9CA5DDA9BE9F4CB5A8632773ADE17D4B":{"id":"9CA5DDA9BE9F4CB5A8632773ADE17D4B","net":56,"amount":0,"name":"Exonéré 0%","docTaxAmount":"D","rate":0,"taxBase":null,"cascade":false,"lineNo":10}},"grossListPrice":0,"nameDelivery":"Payé-Emporté","obdmmApprovalRequired":false,"baseGrossUnitAmount":0,"baseNetUnitAmount":56,"netUnitPrice":56,"netListPrice":0,"baseNetUnitPrice":56,"taxRate":1,"obposIspaid":true,"obposQtytodeliver":1,"orderLineId":"6D54FA79D7C64DC5B5406EF3FF606962"}],"orderManualPromotions":[],"payments":[{"amount":56,"origAmount":56,"paid":56,"date":"2020-11-10T16:42:54.802Z","kind":"OBPOS_payment.cash","name":"Espèces","rate":"1","mulrate":"1.000000000000","isocode":"EUR","allowOpenDrawer":true,"isCash":true,"openDrawer":false,"printtwice":false,"id":"58DEED5CF62DBE0F89F4607C2347BA62","oBPOSPOSTerminal":"CBC8C5D3373D43AAADDCDF41760A94BA","orderGross":56,"isPaid":false,"isReturnOrder":false,"precision":2}],"payment":56,"paymentWithSign":56,"change":0,"qty":1,"taxes":{"9CA5DDA9BE9F4CB5A8632773ADE17D4B":{"id":"9CA5DDA9BE9F4CB5A8632773ADE17D4B","net":56,"amount":0,"name":"Exonéré 0%","docTaxAmount":"D","rate":0,"taxBase":null,"cascade":false,"lineNo":10}},"description":"","print":true,"sendEmail":false,"isPaid":false,"creditAmount":0,"paidPartiallyOnCredit":false,"paidOnCredit":false,"isLayaway":false,"isEditable":true,"openDrawer":false,"approvals":[],"isPartiallyDelivered":false,"obposPrepaymentamt":56,"obposPrepaymentlimitamt":56,"obposPrepaymentlaylimitamt":0,"cashVAT":false,"invoiceTerms":"I","trxOrganization":"920CE7DC1BC34FDF8D7ADF5738C25530","isBeingDiscounted":false,"reApplyDiscounts":false,"calculateReceiptCallbacks":[],"obrdmDeliveryModeProperty":"PickAndCarry","obrdmDeliveryDateProperty":"","obrdmDeliveryTimeProperty":"","nettingPayment":0,"organizationAddressIdentifier":"Avenue du Général de Gaulle - - - - - France","timezoneOffset":-60,"isNegative":false,"changePayments":[],"selectedPayment":"OBPOS_payment.cash","cloningReceipt":false,"pOSSBusinessDate":"2020-11-09T23:00:00.000Z","obcpotfCoupons":[],"discountAvailabilityExtraStartTime":"2020-11-10T16:52:55.931Z","discountAvailabilityExtraEndTime":"2020-11-10T16:32:55.932Z","businessPartner":{"id":"6385ABADBF9D6475C4F1484B8EFEEA3A","organization":"67D824E9CC4742B796D456C85E46C2FE","searchKey":"Suarez Carla","greetingId":"CF3ACAC55A58454D89E37A7B4F458C12","greetingName":"Madame","_identifier":"Suarez Carla","name":"Suarez Carla","firstName":"Suarez","lastName":"Carla","description":null,"taxID":"","taxCategory":null,"paymentMethod":"E2F3D3AB8DB741728809150DC466BC23","paymentTerms":"9E5489F34CA44ED29B5F66A8D75EECED","priceList":"E2A779E0DE054146977B5CD0574A7A54","invoiceTerms":"I","contactId":"2475039A217FB05C23A1E4E13D180BE6","phone":"","alternativePhone":"","email":"","businessPartnerCategory":"52CF630E77A34CBAAE94CF57E663FDC9","businessPartnerCategory_name":"Employé","creditLimit":0,"creditUsed":0,"taxExempt":false,"customerBlocking":false,"salesOrderBlocking":true,"priceIncludesTax":false,"priceListName":"msrp","priceListCurrency":"102","loaded":"2020-11-10T16:38:35+01:00","birthDay":null,"birthPlace":"","isCustomerConsent":false,"language":"fr_FR","language_name":"French (France)","comments":"","availableCredit":0,"commercialauth":false,"viaemail":false,"viasms":false,"obrlpNbLoyaltyPrograms":0,"obrlpLoyaltyProgramIds":null,"obrlpNbActiveSubscriptions":0,"uniqueCreditNote":true,"shipLocId":"679E59B2B0E342170F585A72416FDDDB","shipLocName":"paris","shipCityName":"","shipPostalCode":"","locationModel":{"id":"679E59B2B0E342170F585A72416FDDDB","bpartner":"6385ABADBF9D6475C4F1484B8EFEEA3A","name":"paris","postalCode":"","cityName":"","countryName":"France","countryId":"102","regionName":"","regionId":"","isBillTo":true,"isShipTo":true,"_identifier":"paris","creationDate":"2020-11-10T16:34:24+01:00","loaded":"2020-11-10T16:38:35+01:00"},"locId":"679E59B2B0E342170F585A72416FDDDB","locName":"paris","cityName":"","postalCode":"","countryName":"France","locationBillModel":{"id":"679E59B2B0E342170F585A72416FDDDB","bpartner":"6385ABADBF9D6475C4F1484B8EFEEA3A","name":"paris","postalCode":"","cityName":"","countryName":"France","countryId":"102","regionName":"","regionId":"","isBillTo":true,"isShipTo":true,"_identifier":"paris","creationDate":"2020-11-10T16:34:24+01:00","loaded":"2020-11-10T16:38:35+01:00"},"locations":[{"id":"679E59B2B0E342170F585A72416FDDDB","bpartner":"6385ABADBF9D6475C4F1484B8EFEEA3A","name":"paris","postalCode":"","cityName":"","countryName":"France","countryId":"102","regionName":"","regionId":"","isBillTo":true,"isShipTo":true,"_identifier":"paris","creationDate":"2020-11-10T16:34:24+01:00","loaded":"2020-11-10T16:38:35+01:00"}]},"grossAmount":56,"netAmount":56,"completeTicket":true,"movementDate":"2020-11-10T16:42:55.949Z","accountingDate":"2020-11-10T16:42:55.949Z","obposCreatedabsolute":"2020-11-10T16:40:57.695Z","created":1605026457695,"undo":null,"multipleUndo":null,"paymentMethodKind":"OBPOS_payment.cash","obposSequencename":"simplifiedinvoiceslastassignednum","obposSequencenumber":5,"generateShipment":true,"deliver":true,"orderId":"C06BA57967761793A3D0472452C07746","isInvoice":true,"orderDocumentNo":"Rosny\/0000101"},"obposAppCashup":"E4E1C2ABEFC8E91EF99C038D3F3B7F6C","cashUpReportInformation":{"id":"E4E1C2ABEFC8E91EF99C038D3F3B7F6C","netSales":101,"grossSales":101,"netReturns":0,"grossReturns":0,"totalRetailTransactions":101,"totalStartings":0,"creationDate":"2020-11-10T15:26Z","userId":"0D78E38B88A04F2CBE65BD9F4432AEF1","cashTaxInfo":[{"id":"CFD8AC91007BF563BF1CAE9794476506","name":"TVA 20%","amount":0,"orderType":"0"},{"id":"844E05A898B345ECD7A8DD57D71A31C8","name":"Exonéré 0%","amount":0,"orderType":"0"}],"cashPaymentMethodInfo":[{"id":"45C795D219EFB23A6DE77487567AA296","paymentMethodId":"E73EBD91AA3A491FB8B7E90EAFC75BED","searchKey":"GCNV_payment.creditnote","name":"Avoir","startingCash":0,"totalSales":0,"totalReturns":0,"totalDeposits":0,"totalDrops":0,"rate":1,"isocode":"EUR","lineNo":30,"newPaymentMethod":false,"cashManagements":[],"usedInCurrentTrx":false},{"id":"26A74582E8FF6D8BE6AF5A53F003E2D5","paymentMethodId":"EAFD2A0FF84847B386571DE0A41FCA28","searchKey":"OBPOS_payment.card","name":"Carte Bleu","startingCash":0,"totalSales":0,"totalReturns":0,"totalDeposits":0,"totalDrops":0,"rate":1,"isocode":"EUR","lineNo":20,"newPaymentMethod":false,"cashManagements":[],"usedInCurrentTrx":false},{"id":"BE399FE04841FA24F09AE22ADA518504","paymentMethodId":"F415975879684F138EE95B7123246875","searchKey":"OBPOS_payment.cash","name":"Espèces","startingCash":88.4,"totalSales":101,"totalReturns":0,"totalDeposits":0,"totalDrops":0,"rate":1,"isocode":"EUR","lineNo":10,"newPaymentMethod":false,"cashManagements":[],"usedInCurrentTrx":true}],"isprocessed":"N","statistics":{"lastcashupeportdate":null,"transitionsToOnline":null,"logclientErrors":null,"averageLatency":null,"averageUploadBandwidth":null,"averageDownloadBandwidth":null,"terminalLastfullrefresh":null,"terminalLastincrefresh":null,"terminalLastcachegeneration":null,"terminalLastjsgeneration":null,"terminalLastbenchmark":null,"terminalLastlogindate":null,"terminalLastloginuser":null,"terminalLasttimeinoffline":null,"terminalLasttimeinonline":null,"terminalLasthwmversion":null,"terminalLasthwmrevision":null,"terminalLasthwmjavainfo":null},"posterminal":"CBC8C5D3373D43AAADDCDF41760A94BA","trxOrganization":"920CE7DC1BC34FDF8D7ADF5738C25530"}}
Steps To ReproduceOB: 20Q4
module: org.openbravo.retail.giftcards (master branch - tip)

1. purchase gift (configured to be expired)
2. find error in back office window Errors While importing POS Data.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
depends on backport 0045456RR20Q4 closedprakashmurugesan88 Gift Card Error while importing POS Data 

-  Notes
(0124455)
prakashmurugesan88 (developer)
2020-11-17 16:14
edited on: 2020-11-17 16:15

Following commit causes this issue,
https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/3450a35bb1b147d078e3a6ae988695d2416ccd0d#04d7bcf0e0c675a50ab0b5cf9171e6cf4e48447f_127_135 [^]

Formatted Date for ExpiryDate is set in applyValue function which is not called due to this changes

(0124460)
hgbot (developer)
2020-11-18 07:22

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/31 [^]
(0124462)
hgbot (developer)
2020-11-18 08:14

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/merge_requests/31 [^]
(0124465)
prakashmurugesan88 (developer)
2020-11-18 08:45

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards [^] [^]
Changeset: 98754ada26645c18419ec7dc3abd9073da5aaade
Author: Prakash M <prakash@qualiantech.com>
Date: 2020-11-18T09:14:40+05:30
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.giftcards/-/commit/98754ada26645c18419ec7dc3abd9073da5aaade [^] [^]

Fixed BUG-45426: Fixes error on creating giftcard with expiration date
* Expiry date sent to BO is not in proper format
* isoDate must be set to ExpiryDatem which is set in applyValue function
* Due to indexeddb-based state changes, applyValue function is not called
* Instead values are set in formData using getValue
* Fixed by setting isoDate in formData by overriding getValue function.

---
M web/org.openbravo.retail.giftcards/js/components/GCNewEntitiesExpirationDate.js

- Issue History
Date Modified Username Field Change
2020-11-11 17:58 davidverrier New Issue
2020-11-11 17:58 davidverrier Assigned To => Retail
2020-11-11 17:58 davidverrier Regression date => 2020-11-06
2020-11-11 17:58 davidverrier Regression introduced in release => main
2020-11-11 17:58 davidverrier Triggers an Emergency Pack => No
2020-11-17 10:37 guillermogil Resolution time => 1605826800
2020-11-17 15:33 prakashmurugesan88 Assigned To Retail => prakashmurugesan88
2020-11-17 16:14 prakashmurugesan88 Note Added: 0124455
2020-11-17 16:15 prakashmurugesan88 Note Edited: 0124455 View Revisions
2020-11-17 16:22 marvintm Regression level => Packaging and release
2020-11-17 16:22 marvintm Regression date 2020-11-06 => 2020-07-03
2020-11-17 16:22 marvintm Regression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/3450a35bb1b147d078e3a6ae988695d2416ccd0d#04d7bcf0e0c675a50ab0b5cf9171e6cf4e48447f_127_135 [^]
2020-11-17 16:22 marvintm Steps to Reproduce Updated View Revisions
2020-11-18 07:22 hgbot Note Added: 0124460
2020-11-18 08:09 marvintm Status new => scheduled
2020-11-18 08:14 hgbot Note Added: 0124462
2020-11-18 08:14 marvintm Status scheduled => resolved
2020-11-18 08:14 marvintm Fixed in Version => RR21Q1
2020-11-18 08:14 marvintm Resolution open => fixed
2020-11-18 08:15 marvintm Review Assigned To => marvintm
2020-11-18 08:15 marvintm Status resolved => closed
2020-11-18 08:45 prakashmurugesan88 Note Added: 0124465


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker