on 12-22-2014 11:33 AM
Hi I am working in hybris print and when I create pages under the chapters and again want to edit this via print cockpit it gives / by zero error and if I refresh the page it gives 500 error .Also please suggest how to add the products in publication page I am not able to drug and drop Items .
Thanks in advance
Hi, I just tried to reproduce your described behaviour on a hybris 5.3.0.3 - everything works fine. Like Wojtek suggested, please check your available grids. If this does not help please create a support ticket.
Thanks, Christian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
it seems that you must be using a grid of zero capacity. Of course having such a grid makes no practical sense, nevertheless the data models is not validated and it could be considered a defect.
Cheers, Wojtek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It is 5.3
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
which hybris version are you running?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi thanks for reply I have got a task to create a publication of a demo catalogue and the steps I am following is
generating new publication Print-cockpit>new publication
Creating a new Chapter
Creating a new Page Now I want to add some demo product and print this page but when I click on page and click on assign product icon it gives error /by zero
here is stack trace
SEVERE: >>java.lang.ArithmeticException: / by zero
at de.hybris.platform.printcockpit.model.layout.impl.DynamicModel.initPr
eviewPagesModel(DynamicModel.java:66)
at de.hybris.platform.printcockpit.view.layouts.grid.AbstractPreviewMode
l.initModel(AbstractPreviewModel.java:122)
at de.hybris.platform.printcockpit.view.browser.publication.PageLayoutCo
ntainer.(PageLayoutContainer.java:147)
at de.hybris.platform.printcockpit.components.contentbrowser.MainAreaPag
eStructureViewBrowserComponent.createLayoutContainer(MainAreaPageStructureViewBr owserComponent.java:115)
at de.hybris.platform.printcockpit.components.contentbrowser.MainAreaPag
eStructureViewBrowserComponent.createMainArea(MainAreaPageStructureViewBrowserCo mponent.java:86)
at de.hybris.platform.cockpit.components.contentbrowser.AbstractMainArea
BrowserComponent.initialize(AbstractMainAreaBrowserComponent.java:108)
at de.hybris.platform.cockpit.components.contentbrowser.DefaultAdvancedC
ontentBrowser.initialize(DefaultAdvancedContentBrowser.java:260)
at de.hybris.platform.printcockpit.components.contentbrowser.PrintPageCo
ntentBrowser.initialize(PrintPageContentBrowser.java:106)
at de.hybris.platform.cockpit.components.contentbrowser.AbstractContentB
rowser.setModel(AbstractContentBrowser.java:154)
at de.hybris.platform.cockpit.components.contentbrowser.DefaultAdvancedC
ontentBrowser.setModel(DefaultAdvancedContentBrowser.java:81)
at de.hybris.platform.cockpit.components.contentbrowser.DefaultSearchCon
tentBrowser.setModel(DefaultSearchContentBrowser.java:50)
at de.hybris.platform.cockpit.session.impl.AbstractBrowserArea.createBro
wserView(AbstractBrowserArea.java:981)
at de.hybris.platform.cockpit.session.impl.AbstractBrowserArea.getCorres
pondingContentBrowser(AbstractBrowserArea.java:441)
at de.hybris.platform.cockpit.session.impl.DefaultSearchBrowserModelList
ener.itemsChanged(DefaultSearchBrowserModelListener.java:266)
at de.hybris.platform.cockpit.session.impl.AbstractBrowserModel.fireItem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
And also try to get the exception from the log files which happens.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
can you please add some more details:Which hybris version are you using?
Can you describe step-by-step your two use cases? (Create new page and edit, place items)
I just tested both use cases you described on a hybris 5.4 version and it is working fine.
Thanks, Christian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.