Openbravo Issue Tracking System - Retail Modules | |||||||||||||
View Issue Details | |||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0039491 | Retail Modules | Retail Analytics | public | 2018-10-19 13:25 | 2018-10-26 08:47 | ||||||||
Reporter | ngarcia | ||||||||||||
Assigned To | caristu | ||||||||||||
Priority | immediate | Severity | major | Reproducibility | always | ||||||||
Status | closed | Resolution | fixed | ||||||||||
Platform | OS | 5 | OS Version | ||||||||||
Product Version | |||||||||||||
Target Version | Fixed in Version | ||||||||||||
Merge Request Status | |||||||||||||
Review Assigned To | alostale | ||||||||||||
OBNetwork customer | |||||||||||||
Support ticket | |||||||||||||
Regression level | QA functional test | ||||||||||||
Regression date | 2018-06-07 | ||||||||||||
Regression introduced in release | |||||||||||||
Regression introduced by commit | https://code.openbravo.com/erp/pmods/org.openbravo.retail.analytics/rev/b521576871b021e6a286c1553b773c17f6073129 [^] | ||||||||||||
Triggers an Emergency Pack | No | ||||||||||||
Summary | 0039491: Forward Update Analytics Fact Tables process finishes with OBRetailAnalyticsFactSessionUpdater: Error in Process Log field | ||||||||||||
Description | Forward Update Analytics Fact Tables process finishes with OBRetailAnalyticsFactSessionUpdater: Error in Process Log field | ||||||||||||
Steps To Reproduce | In https://livebuilds.openbravo.com/retail_modules_pgsql_pi: [^] As System Admin role: Go to Process Request window and schedule 'Update Time Dimension Refs + Tree Closure Table' process to be run immediately As group admin role: Go to Process Request window and schedule 'Forward Update Analytics Fact Tables' process to be run immediately Check although it finishes with Success status the process log shows: OBRetailAnalyticsFactSessionUpdater: Error In openbravo.log you can find: [DefaultQuartzScheduler_Worker-8] ERROR org.openbravo.client.analytics.fact.OBAnalyticsFactUpdater - java.lang.String cannot be cast to org.openbravo.base.structure.BaseOBObject java.lang.ClassCastException: java.lang.String cannot be cast to org.openbravo.base.structure.BaseOBObject at org.openbravo.dal.core.DalPropertyAccess$GetterMethod.get(DalPropertyAccess.java:130) at org.hibernate.tuple.entity.AbstractEntityTuplizer.getIdentifier(AbstractEntityTuplizer.java:224) at org.hibernate.persister.entity.AbstractEntityPersister.getIdentifier(AbstractEntityPersister.java:4927) at org.hibernate.persister.entity.AbstractEntityPersister.isTransient(AbstractEntityPersister.java:4627) at org.hibernate.engine.internal.ForeignKeys.isTransient(ForeignKeys.java:226) at org.hibernate.engine.internal.ForeignKeys.getEntityIdentifierIfNotUnsaved(ForeignKeys.java:276) at org.hibernate.type.EntityType.getIdentifier(EntityType.java:495) at org.hibernate.type.EntityType.nullSafeSet(EntityType.java:288) at org.hibernate.param.NamedParameterSpecification.bind(NamedParameterSpecification.java:53) at org.hibernate.loader.hql.QueryLoader.bindParameterValues(QueryLoader.java:645) at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:2000) at org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1914) at org.hibernate.loader.Loader.executeQueryStatement(Loader.java:1892) at org.hibernate.loader.Loader.doQuery(Loader.java:937) at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:340) at org.hibernate.loader.Loader.doList(Loader.java:2689) at org.hibernate.loader.Loader.doList(Loader.java:2672) at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2506) at org.hibernate.loader.Loader.list(Loader.java:2501) at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:504) at org.hibernate.hql.internal.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:395) at org.hibernate.engine.query.spi.HQLQueryPlan.performList(HQLQueryPlan.java:220) at org.hibernate.internal.SessionImpl.list(SessionImpl.java:1508) at org.hibernate.query.internal.AbstractProducedQuery.doList(AbstractProducedQuery.java:1537) at org.hibernate.query.internal.AbstractProducedQuery.list(AbstractProducedQuery.java:1505) at org.openbravo.retail.analytics.OBRetailAnalyticsFactSessionUpdater.doSave(OBRetailAnalyticsFactSessionUpdater.java:148) at org.openbravo.retail.analytics.OBRetailAnalyticsFactSessionUpdater.doSave(OBRetailAnalyticsFactSessionUpdater.java:38) at org.openbravo.client.analytics.fact.OBAnalyticsFactUpdater.executeUpdate(OBAnalyticsFactUpdater.java:126) | ||||||||||||
Proposed Solution | |||||||||||||
Additional Information | |||||||||||||
Tags | No tags attached. | ||||||||||||
Relationships |
| ||||||||||||
Attached Files | |||||||||||||
Issue History | |||||||||||||
Date Modified | Username | Field | Change | ||||||||||
2018-10-19 13:25 | ngarcia | New Issue | |||||||||||
2018-10-19 13:25 | ngarcia | Assigned To | => Retail | ||||||||||
2018-10-19 13:25 | ngarcia | Resolution time | => 1541718000 | ||||||||||
2018-10-19 13:25 | ngarcia | Triggers an Emergency Pack | => No | ||||||||||
2018-10-19 13:26 | ngarcia | Relationship added | caused by 0038446 | ||||||||||
2018-10-19 13:26 | ngarcia | Issue Monitored: networkb | |||||||||||
2018-10-22 08:59 | caristu | Relationship deleted | caused by 0038446 | ||||||||||
2018-10-22 08:59 | caristu | Relationship added | related to 0038446 | ||||||||||
2018-10-22 11:17 | caristu | Relationship deleted | related to 0038446 | ||||||||||
2018-10-22 11:17 | caristu | Relationship added | caused by 0038446 | ||||||||||
2018-10-22 11:18 | caristu | Regression level | => Production - QA Approved | ||||||||||
2018-10-22 11:18 | caristu | Regression date | => 2018-06-07 | ||||||||||
2018-10-22 11:18 | caristu | Regression introduced by commit | => https://code.openbravo.com/erp/pmods/org.openbravo.retail.analytics/rev/b521576871b021e6a286c1553b773c17f6073129 [^] | ||||||||||
2018-10-22 12:49 | caristu | Assigned To | Retail => caristu | ||||||||||
2018-10-22 12:50 | hgbot | Checkin | |||||||||||
2018-10-22 12:50 | hgbot | Note Added: 0107474 | |||||||||||
2018-10-22 12:50 | hgbot | Status | new => resolved | ||||||||||
2018-10-22 12:50 | hgbot | Resolution | open => fixed | ||||||||||
2018-10-22 12:50 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.analytics/rev/3d8df53c09683aeb7c6cdc666d35dacdb00db1af [^] | ||||||||||
2018-10-22 12:51 | caristu | Review Assigned To | => alostale | ||||||||||
2018-10-22 12:52 | caristu | Regression level | Production - QA Approved => Packaging and release | ||||||||||
2018-10-22 12:53 | caristu | Regression level | Packaging and release => QA functional test | ||||||||||
2018-10-22 18:07 | caristu | Note Added: 0107505 | |||||||||||
2018-10-22 18:07 | caristu | Note Edited: 0107505 | bug_revision_view_page.php?bugnote_id=0107505#r17803 | ||||||||||
2018-10-24 15:03 | martinsdan | Issue Monitored: martinsdan | |||||||||||
2018-10-26 08:47 | alostale | Note Added: 0107607 | |||||||||||
2018-10-26 08:47 | alostale | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|