News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

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!
  •