ERROR in Batch print

Hi Support,
We are using Batch print for our receipt labels every day.
But this week it suddenly stopped working.
When we press batch print button it just takes us to a PDF that displays a log in window.

We start at this url:

Which looks like this.

We then press batch print and we end up at this URL:

Which looks like this.

When we cannot use batch print we waste a lot of hours when handling our receipts so we need this to be adressed urgently.

//H

Hello Cetec!
5 days past and no answer!
I need this URGENTLY!

@sisyfos

Thanks for bringing this to our attention. Have you tried the old list to see if it has the same issue?

Thanks!
CetecERP Support

@sisyfos

I believe the issue is related to redirects in your custom label doc. The batch label is being executed from the server side and if the session id isn’t passed then it will look like the url is coming from a new client that isn’t logged in.

You might want to check for a stashed variable called c.req.params.sessionid, if it’s defined and populated then don’t add the redirect js to the rendered document.

Thanks!
CetecERP Support

Makes sense… Thx!

Nah!
That was not it! I tried to revert the document to default and it gives me the same result.

So I think you will have to dig a little bit deeper.

//H

Oh,
I also tried the old list and that does not work either.

//H

@sisyfos try reverting this one to default..

That is wierd… I was sure that was the one i did revert yesterday.
But I tried again this morning and lo and behold… it works.