Defect #1062

Unable to reuse SHOP models outside of component due to relative paths

Added by Blatti Yves about 4 years ago. Updated almost 4 years ago.

Status:ClosedStart date:07/27/2015
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:SHOP
Target version:4.3.2
Affected version:4.0.0

Description

We cannot reuse some models outside of SHOP component (to use in custom modules or other custom components).
To correct this we have to change base path in includes:

require_once JPATH_COMPONENT_SITE . '/libraries/easysdi/sdiBasket.php';

to:

require_once JPATH_SITE . '/components/com_easysdi_shop/libraries/easysdi/sdiBasket.php';

It has no functional impact in the component.

History

#1 Updated by Blatti Yves about 4 years ago

  • Status changed from New to Affected

#2 Updated by Blatti Yves about 4 years ago

  • Status changed from Affected to Resolved

#3 Updated by Blatti Yves about 4 years ago

  • Status changed from Resolved to To merge

#4 Updated by Blatti Yves about 4 years ago

  • Assignee changed from Blatti Yves to Villemagne Jérôme

#5 Updated by Villemagne Jérôme about 4 years ago

  • Status changed from To merge to Closed
  • Assignee deleted (Villemagne Jérôme)
  • Target version set to 4.3.2

Also available in: Atom PDF