News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

Incorrect URL redirect after file deletion - [Fixed in 4.0.18]

Started by svherpen, 13.02.2023 10:18:41

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

svherpen

Hi Arno,
This weekend I noticed the next behaviour: when deleting the file attachement via the front-end (in order to replace it with a newer file), I do get a 404 'page-not-found' message.
I'm not sure if this is because of the jDownloads 4.0.15 release.
Have you heard/seen similar situations?

Regards,
Sjaak
  •  

ColinM

Colin M
  •  

svherpen

Unfortunately, that did not fix the problem.
  •  

ColinM

#3
Hi
I tried the same when I had Error reporting on. It gave a 404 Page not found error with a trace:

()                                                                           JROOT\libraries\src\Router\Router.php:153
2    Joomla\CMS\Router\Router->parse()                    JROOT\libraries\src\Application\SiteApplication.php:736
3    Joomla\CMS\Application\SiteApplication->route()    JROOT\libraries\src\Application\SiteApplication.php:224
4    Joomla\CMS\Application\SiteApplication->doExecute()    JROOT\libraries\src\Application\CMSApplication.php:294
5    Joomla\CMS\Application\CMSApplication->execute()    JROOT\includes\app.php:61
6    require_once()                                                        JROOT\index.php:32

The Error from JROOT\libraries\src\Router\Router.php:153 is that the URL is invalid

When I went back in the file had been removed from the Download OK so that suggests it was when trying to return to the original view
I was  able to add a file ok from FE.
Colin
Colin M
  •  

svherpen

Hi Colin,

I'm not argueing on the 404 error, in fact that's exactly what I meant to say. It should not be that jDownloads returns to a 404 error page after the file was deleted.
And yes, the file is deleted (so the functionality is working) and yes, I can add a new file.

But still the 404 should not be there when the file is deleted.
  •  

ColinM

Hi
I was just adding a full status report as that saves some time in sorting out the bug - which does of course need fixing.  I was not implying it is anyway acceptable!!!

Colin
Colin M
  •  

svherpen

Thanks, then it was my misunderstanding. ;)
I'll wait for a future release where this will be fixed.

Sjaak
  •  

Arno

Hi Guys,
is already fixed in next beta release 4.0.18.
I will publish this release in the next days.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •