Project

General

Profile

Actions

Bug #3486

closed

J2.5: Invalid articles in article tab with SEF enabled on J2.5 results in notice

Added by krileon over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Target version:
Start date:
01 May 2012
Due date:
% Done:

100%

Estimated time:
1:00 h

Description

When Joomla trys to SEF and invalid URL in the article tab it results in the below.

Notice: Undefined index: view in D:\xampp\htdocs\old\jupgrade\components\com_content\router.php on line 48

This is fixed in CB Articles; need to apply fix to the CB default article plugin.

https://www.joomlapolis.com/forum/154-advanced-members-support/199079-wwwcomponentscomcontentrouterphp-on-line-48


Files

3486.patch (1.19 KB) 3486.patch krileon, 01 May 2012 16:12
cb.authortab.php (5.48 KB) cb.authortab.php krileon, 01 May 2012 16:12
Actions #1

Updated by krileon over 12 years ago

It does this when getting a link to an article that has no Joomla menu link.

Updated by krileon over 12 years ago

Patch forces invalid links (those with no Itemid) to append live_site so it won't SEF. Joomla can't SEF an article link that has no Itemid as it can't construct alias and it doesn't construct a valid query object (bug in Joomla? been reported since 1.6; not fixed).

Actions #3

Updated by krileon over 12 years ago

  • Priority changed from Normal to Urgent
Actions #4

Updated by beat over 12 years ago

  • Subject changed from Invalid articles in article tab with SEF enabled on J2.5 results in notice to J2.5: Invalid articles in article tab with SEF enabled on J2.5 results in notice
  • Status changed from Resolved to Closed
  • Estimated time set to 1:00 h

r1800 commits this. Testing required

To-Test:
- Articles tab with SEF and without SEF on Joomla 2.5.

Actions

Also available in: Atom PDF