Redirect after adding a record

Post Reply
p_hd
Posts: 121
Joined: 03 Feb 2021, 11:40
Name: Pedro Viana
Location: Portugal - Braga
Company Name: Clever Solutions, Lda.
Contact:

Redirect after adding a record

Post by p_hd »

Hi Sergey

I have one issue:
In my rukovoditel, after running an automated action the system redirects to one missing page by adding (-) to the link
index.php?module=items/items&path=40-&gotopage[108]=1

I can't find here this is happenning.

Thanks
p_hd
Posts: 121
Joined: 03 Feb 2021, 11:40
Name: Pedro Viana
Location: Portugal - Braga
Company Name: Clever Solutions, Lda.
Contact:

Re: Redirect after adding a record

Post by p_hd »

Hi

I have setup a personal demo and reproduced the error:

https://pdemo.rukovoditel.pro/3.0/index ... mo_id=1168

Go to "warehouse" try to execute multiple times the button '1', the first time is ok, but if keep pressing it will fail.

and there is the - on the address:
index.php?module=items/items&path=25-&gotopage[70]=1&demo_id=1168
p_hd
Posts: 121
Joined: 03 Feb 2021, 11:40
Name: Pedro Viana
Location: Portugal - Braga
Company Name: Clever Solutions, Lda.
Contact:

Re: Redirect after adding a record

Post by p_hd »

Sergey

The error occours when list is sorted by ID ascending, if we put descending it doesn't occour.
This is, if the row doesn't change in table, the error occours.

I think it could be the refresh of page.

Thanks.
p_hd
Posts: 121
Joined: 03 Feb 2021, 11:40
Name: Pedro Viana
Location: Portugal - Braga
Company Name: Clever Solutions, Lda.
Contact:

Re: Redirect after adding a record

Post by p_hd »

Any update on this issue?

Thanks.
User avatar
support
Site Admin
Posts: 6215
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Redirect after adding a record

Post by support »

File from archive replace to plugins\ext\classes\processes\
Let me know if it works ok now.
Attachments
processes.zip
(13.25 KiB) Downloaded 117 times
p_hd
Posts: 121
Joined: 03 Feb 2021, 11:40
Name: Pedro Viana
Location: Portugal - Braga
Company Name: Clever Solutions, Lda.
Contact:

Re: Redirect after adding a record

Post by p_hd »

Hi,

It doesn't work, still get the same '-' on address

index.php?module=items/items&path=40-&gotopage[108]=1
User avatar
support
Site Admin
Posts: 6215
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Redirect after adding a record

Post by support »

Strange. I did many test on https://pdemo.rukovoditel.pro/3.0/index ... mo_id=1168 and it work ok for me.
Post Reply