Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

JoomDoc Explorer root link goes to undecoded URL
(1 viewing) (1) Guest
Document management system (DMS) component for Joomla!

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: JoomDoc Explorer root link goes to undecoded URL

JoomDoc Explorer root link goes to undecoded URL 11 years, 7 months ago #38711

I'm seeing a bug with the JoomDoc explorer. When I click on the root folder, it redirects me to the correct URL, but the URL parameters are not fully decoded.

  • Unencoded link: index.php?option=com_joomdoc&view=documents&Itemid=223
  • Working link (i.e. if I remove teh "amp;" from the URL): index.php?option=com_joomdoc&view=documents&Itemid=223


The effect is that my folders do not display and all of my assigned modules disappear when I click on the root folder.
Attachments:
The topic has been locked.

Re: JoomDoc Explorer root link goes to undecoded URL 11 years, 7 months ago #38719

I did some poking around, and it looks like the problem is related to

administrator\components\com_joomdoc\libraries\joomdoc\html\joomdoc.php line 122

The original code reads:
 
{text: 'JoomDOC', open: true, data: {url: '" . JRoute::_(JoomDOCRoute::viewDocuments($mainframe->isSite() ? $parent : 'JoomDOC')) . "', target: 'folderframe'}}
 

I removed the call to JRoute and things seem to be working as expected, both in the front end of the site, and in the admin interface. The new code looks like:
 
{text: 'JoomDOC', open: true, data: {url: '" . JoomDOCRoute::viewDocuments($mainframe->isSite() ? $parent : 'JoomDOC') . "', target: 'folderframe'}}
 
Last Edit: 11 years, 7 months ago by bdleavitt.
The topic has been locked.
  • Page:
  • 1
Přihlášení uživatele Prázdný