Dear Sergey,
After update to 3.2.1 I have a problem with automate action in one entity. Was working in previous versions.
I set up automate actions and create a field type "process button" and apparently everything is ok, but if I press the button it redirects to "page not found", but if I go inside the record it works and also works if I put the action button in "records listing".
I can't find any error in logs, and also it works for other entity.
Can you help, please?
Thanks
Automate Action leads to "Page Not Found"
-
- Posts: 121
- Joined: 03 Feb 2021, 11:40
- Name: Pedro Viana
- Location: Portugal - Braga
- Company Name: Clever Solutions, Lda.
- Contact:
Re: Automate Action leads to "Page Not Found"
In logs I get:
http log
http log
- support
- Site Admin
- Posts: 6222
- Joined: 19 Oct 2014, 18:22
- Name: Sergey Kharchishin
- Location: Russia, Evpatoriya
Re: Automate Action leads to "Page Not Found"
It's hard to reproduce this issue. Please create similar button on personal deme and reproduce this issue https://www.rukovoditel.net/demo.php
Send me link to the demo and I will sort out.
Send me link to the demo and I will sort out.
-
- Posts: 121
- Joined: 03 Feb 2021, 11:40
- Name: Pedro Viana
- Location: Portugal - Braga
- Company Name: Clever Solutions, Lda.
- Contact:
Re: Automate Action leads to "Page Not Found"
I will try to reproduce the problem.
For now, rolled back to 3.2 and it works perfectly.
Thanks
For now, rolled back to 3.2 and it works perfectly.
Thanks
-
- Posts: 121
- Joined: 03 Feb 2021, 11:40
- Name: Pedro Viana
- Location: Portugal - Braga
- Company Name: Clever Solutions, Lda.
- Contact:
Re: Automate Action leads to "Page Not Found"
Hi
I can't reproduce the error, since there are some interactions with various tables. I tried to restore the db but gives an error "file not found".
I can send to you a db backup on private message.
Thanks.
I can't reproduce the error, since there are some interactions with various tables. I tried to restore the db but gives an error "file not found".
I can send to you a db backup on private message.
Thanks.
-
- Posts: 121
- Joined: 03 Feb 2021, 11:40
- Name: Pedro Viana
- Location: Portugal - Braga
- Company Name: Clever Solutions, Lda.
- Contact:
Re: Automate Action leads to "Page Not Found"
I Sergey
If I update to version 3.3, path leads to "Page Not Found", it's working perfectly with version 3.2, but after some tests I think the problem is that the path is wrong, any ideias how to fix this?
I need some help to understand how path works:
index.php?module=items/processes&id=16&path=1-9324&redirect_to=items&gotopage[598]=1
After tests I found that the app_entity is 100, but on path appears 1, instead of 100. If i change it to 100 it works.
If I update to version 3.3, path leads to "Page Not Found", it's working perfectly with version 3.2, but after some tests I think the problem is that the path is wrong, any ideias how to fix this?
I need some help to understand how path works:
index.php?module=items/processes&id=16&path=1-9324&redirect_to=items&gotopage[598]=1
After tests I found that the app_entity is 100, but on path appears 1, instead of 100. If i change it to 100 it works.
- support
- Site Admin
- Posts: 6222
- Joined: 19 Oct 2014, 18:22
- Name: Sergey Kharchishin
- Location: Russia, Evpatoriya
Re: Automate Action leads to "Page Not Found"
Still not clear what is wrong. Please reproduce your issue on personal demo https://www.rukovoditel.net/demo.php
So I can see in real example what is not ok.
So I can see in real example what is not ok.
-
- Posts: 121
- Joined: 03 Feb 2021, 11:40
- Name: Pedro Viana
- Location: Portugal - Braga
- Company Name: Clever Solutions, Lda.
- Contact:
Re: Automate Action leads to "Page Not Found"
Hi Sergey
I have reproduced the error, kinda... demo_id=1830
In menu "Test" there is a button "test" that make one action to update, and it leads to "Access Forbidden" page.
the error is related to app_entity_100 (yes, I have to make entities to get to the 100 entity), in the button, on the row, you get this link:
"open_dialog('https://pdemo.rukovoditel.pro/3.3/index ... mo_id=1830'); return false;"
As you can see the path is =1, and it should be =100
Thanks
I have reproduced the error, kinda... demo_id=1830
In menu "Test" there is a button "test" that make one action to update, and it leads to "Access Forbidden" page.
the error is related to app_entity_100 (yes, I have to make entities to get to the 100 entity), in the button, on the row, you get this link:
"open_dialog('https://pdemo.rukovoditel.pro/3.3/index ... mo_id=1830'); return false;"
As you can see the path is =1, and it should be =100
Thanks
- support
- Site Admin
- Posts: 6222
- Joined: 19 Oct 2014, 18:22
- Name: Sergey Kharchishin
- Location: Russia, Evpatoriya
Re: Automate Action leads to "Page Not Found"
I think I have found issue. File from archive replace to includes\classes\fieldstypes\
Let me know if it works ok now.
Let me know if it works ok now.
- Attachments
-
- fieldtype_process_button.zip
- (2.72 KiB) Downloaded 75 times
-
- Posts: 121
- Joined: 03 Feb 2021, 11:40
- Name: Pedro Viana
- Location: Portugal - Braga
- Company Name: Clever Solutions, Lda.
- Contact:
Re: Automate Action leads to "Page Not Found"
Hi Sergey,
it works, thanks.
it works, thanks.