LinnLiveConnect - Version 1.1.61

Version Notes

Improve compatibility with third party extensions

Download this release

Release Info

Developer Albert Andrejev
Extension LinnLiveConnect
Version 1.1.61
Comparing to
See all releases


Code changes from version 1.1.60 to 1.1.61

app/code/local/LinnSystems/LinnLiveConnect/Helper/Data.php CHANGED
@@ -206,7 +206,11 @@ class LinnSystems_LinnLiveConnect_Helper_Data extends Mage_Core_Helper_Abstract
206
  $currentOptions[$attribute_id] = array();
207
  }
208
 
209
- $attributeOptions = $attributeApi->options($attribute_id);
 
 
 
 
210
 
211
  foreach ($attributeOptions as $opts)
212
  {
@@ -394,4 +398,5 @@ class LinnSystems_LinnLiveConnect_Helper_Data extends Mage_Core_Helper_Abstract
394
  }
395
  }
396
  }
397
- }
 
206
  $currentOptions[$attribute_id] = array();
207
  }
208
 
209
+ try{
210
+ $attributeOptions = $attributeApi->options($attribute_id);
211
+ }catch(Exception $ex){
212
+ throw new Mage_Api_Exception('attribute_not_exists', $attribute_id);
213
+ }
214
 
215
  foreach ($attributeOptions as $opts)
216
  {
398
  }
399
  }
400
  }
401
+ }
402
+ ?>
app/code/local/LinnSystems/LinnLiveConnect/Model/Category/Api.php CHANGED
@@ -1,38 +1,3 @@
1
  <?php
2
-
3
- /**
4
- * Magento
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Open Software License (OSL 3.0)
9
- * that is bundled with this package in the file LICENSE.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://opensource.org/licenses/osl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magentocommerce.com so we can send you a copy immediately.
15
- *
16
- * DISCLAIMER
17
- *
18
- * Do not edit or add to this file if you wish to upgrade Magento to newer
19
- * versions in the future. If you wish to customize Magento for your
20
- * needs please refer to http://www.magentocommerce.com for more information.
21
- *
22
- * @category Mage
23
- * @package Mage_Catalog
24
- * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
25
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
26
- */
27
-
28
- /**
29
- * Catalog category api
30
- *
31
- * @category Mage
32
- * @package Mage_Catalog
33
- * @author Magento Core Team <core@magentocommerce.com>
34
- */
35
- class LinnSystems_LinnLiveConnect_Model_Category_Api extends Mage_Catalog_Model_Category_Api {
36
- }
37
-
38
- // Class Mage_Catalog_Model_Category_Api End
1
  <?php
2
+ class LinnSystems_LinnLiveConnect_Model_Category_Api extends Mage_Catalog_Model_Category_Api {}
3
+ ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/LinnSystems/LinnLiveConnect/Model/Core/Store.php ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ <?php
2
+ class LinnSystems_LinnLiveConnect_Model_Core_Store extends Mage_Core_Model_Store {}
3
+
4
+ ?>
app/code/local/LinnSystems/LinnLiveConnect/Model/Core/Url.php ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ <?php
2
+ class LinnSystems_LinnLiveConnect_Model_Core_Url extends Mage_Core_Model_Url {}
3
+ ?>
app/code/local/LinnSystems/LinnLiveConnect/Model/Product/Api.php CHANGED
@@ -1,38 +1,3 @@
1
  <?php
2
-
3
- /**
4
- * Magento
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Open Software License (OSL 3.0)
9
- * that is bundled with this package in the file LICENSE.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://opensource.org/licenses/osl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magentocommerce.com so we can send you a copy immediately.
15
- *
16
- * DISCLAIMER
17
- *
18
- * Do not edit or add to this file if you wish to upgrade Magento to newer
19
- * versions in the future. If you wish to customize Magento for your
20
- * needs please refer to http://www.magentocommerce.com for more information.
21
- *
22
- * @category Mage
23
- * @package Mage_Catalog
24
- * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
25
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
26
- */
27
-
28
- /**
29
- * Catalog api resource
30
- *
31
- * @category Mage
32
- * @package Mage_Catalog
33
- * @author Magento Core Team <core@magentocommerce.com>
34
- */
35
- class LinnSystems_LinnLiveConnect_Model_Product_Api extends Mage_Catalog_Model_Product_Api {
36
-
37
-
38
- }
1
  <?php
2
+ class LinnSystems_LinnLiveConnect_Model_Product_Api extends Mage_Catalog_Model_Product_Api {}
3
+ ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/LinnSystems/LinnLiveConnect/Model/Product/Api/V2.php CHANGED
@@ -1,36 +1,5 @@
1
  <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * DISCLAIMER
16
- *
17
- * Do not edit or add to this file if you wish to upgrade Magento to newer
18
- * versions in the future. If you wish to customize Magento for your
19
- * needs please refer to http://www.magentocommerce.com for more information.
20
- *
21
- * @category Mage
22
- * @package Mage_Catalog
23
- * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
25
- */
26
 
27
- /**
28
- * Catalog product api V2
29
- *
30
- * @category Mage
31
- * @package Mage_Catalog
32
- * @author Magento Core Team <core@magentocommerce.com>
33
- */
34
  class LinnSystems_LinnLiveConnect_Model_Product_Api_V2 extends Mage_Catalog_Model_Product_Api_V2
35
  {
36
  public function create($type, $set, $sku, $productData, $store = NULL) {
@@ -68,3 +37,4 @@ class LinnSystems_LinnLiveConnect_Model_Product_Api_V2 extends Mage_Catalog_Mode
68
  }
69
  }
70
  }
 
1
  <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
 
 
 
 
 
 
 
 
3
  class LinnSystems_LinnLiveConnect_Model_Product_Api_V2 extends Mage_Catalog_Model_Product_Api_V2
4
  {
5
  public function create($type, $set, $sku, $productData, $store = NULL) {
37
  }
38
  }
39
  }
40
+ ?>
app/code/local/LinnSystems/LinnLiveConnect/Model/Product/Attribute/Api.php CHANGED
@@ -1,38 +1,8 @@
1
  <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * DISCLAIMER
16
- *
17
- * Do not edit or add to this file if you wish to upgrade Magento to newer
18
- * versions in the future. If you wish to customize Magento for your
19
- * needs please refer to http://www.magentocommerce.com for more information.
20
- *
21
- * @category Mage
22
- * @package Mage_Catalog
23
- * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
25
- */
26
 
27
- /**
28
- * Catalog product attribute api
29
- *
30
- * @category Mage
31
- * @package Mage_Catalog
32
- * @author Magento Core Team <core@magentocommerce.com>
33
- */
34
  class LinnSystems_LinnLiveConnect_Model_Product_Attribute_Api extends Mage_Catalog_Model_Product_Attribute_Api
35
  {
36
 
37
 
38
- } // Class Mage_Catalog_Model_Product_Attribute_Api End
 
1
  <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
 
 
 
 
 
 
 
 
3
  class LinnSystems_LinnLiveConnect_Model_Product_Attribute_Api extends Mage_Catalog_Model_Product_Attribute_Api
4
  {
5
 
6
 
7
+ }
8
+ ?>
app/code/local/LinnSystems/LinnLiveConnect/Model/Product/Attribute/Media/Api.php CHANGED
@@ -1,39 +1,3 @@
1
  <?php
2
-
3
- /**
4
- * Magento
5
- *
6
- * NOTICE OF LICENSE
7
- *
8
- * This source file is subject to the Open Software License (OSL 3.0)
9
- * that is bundled with this package in the file LICENSE.txt.
10
- * It is also available through the world-wide-web at this URL:
11
- * http://opensource.org/licenses/osl-3.0.php
12
- * If you did not receive a copy of the license and are unable to
13
- * obtain it through the world-wide-web, please send an email
14
- * to license@magentocommerce.com so we can send you a copy immediately.
15
- *
16
- * DISCLAIMER
17
- *
18
- * Do not edit or add to this file if you wish to upgrade Magento to newer
19
- * versions in the future. If you wish to customize Magento for your
20
- * needs please refer to http://www.magentocommerce.com for more information.
21
- *
22
- * @category Mage
23
- * @package Mage_Catalog
24
- * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
25
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
26
- */
27
-
28
- /**
29
- * Catalog product media api
30
- *
31
- * @category Mage
32
- * @package Mage_Catalog
33
- * @author Magento Core Team <core@magentocommerce.com>
34
- */
35
- class LinnSystems_LinnLiveConnect_Model_Product_Attribute_Media_Api extends Mage_Catalog_Model_Product_Attribute_Media_Api {
36
-
37
- }
38
-
39
- // Class Mage_Catalog_Model_Product_Attribute_Media_Api End
1
  <?php
2
+ class LinnSystems_LinnLiveConnect_Model_Product_Attribute_Media_Api extends Mage_Catalog_Model_Product_Attribute_Media_Api {}
3
+ ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/LinnSystems/LinnLiveConnect/Model/Product/Link/Api.php CHANGED
@@ -1,37 +1,3 @@
1
  <?php
2
- /**
3
- * Magento
4
- *
5
- * NOTICE OF LICENSE
6
- *
7
- * This source file is subject to the Open Software License (OSL 3.0)
8
- * that is bundled with this package in the file LICENSE.txt.
9
- * It is also available through the world-wide-web at this URL:
10
- * http://opensource.org/licenses/osl-3.0.php
11
- * If you did not receive a copy of the license and are unable to
12
- * obtain it through the world-wide-web, please send an email
13
- * to license@magentocommerce.com so we can send you a copy immediately.
14
- *
15
- * DISCLAIMER
16
- *
17
- * Do not edit or add to this file if you wish to upgrade Magento to newer
18
- * versions in the future. If you wish to customize Magento for your
19
- * needs please refer to http://www.magentocommerce.com for more information.
20
- *
21
- * @category Mage
22
- * @package Mage_Catalog
23
- * @copyright Copyright (c) 2013 Magento Inc. (http://www.magentocommerce.com)
24
- * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
25
- */
26
-
27
- /**
28
- * Catalog product link api
29
- *
30
- * @category Mage
31
- * @package Mage_Catalog
32
- * @author Magento Core Team <core@magentocommerce.com>
33
- */
34
- class LinnSystems_LinnLiveConnect_Model_Product_Link_Api extends Mage_Catalog_Model_Product_Link_Api
35
- {
36
-
37
- } // Class Mage_Catalog_Model_Product_Link_Api End
1
  <?php
2
+ class LinnSystems_LinnLiveConnect_Model_Product_Link_Api extends Mage_Catalog_Model_Product_Link_Api{}
3
+ ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
app/code/local/LinnSystems/LinnLiveConnect/etc/config.xml CHANGED
@@ -2,7 +2,7 @@
2
  <config>
3
  <modules>
4
  <LinnSystems_LinnLiveConnect>
5
- <version>1.1.60</version>
6
  </LinnSystems_LinnLiveConnect>
7
  </modules>
8
  <global>
@@ -21,6 +21,12 @@
21
  <product_link_api>LinnSystems_LinnLiveConnect_Model_Product_Link_Api</product_link_api>
22
  </rewrite>
23
  </catalog>
 
 
 
 
 
 
24
  <linnLiveConnect>
25
  <class>LinnSystems_LinnLiveConnect_Model</class>
26
  </linnLiveConnect>
2
  <config>
3
  <modules>
4
  <LinnSystems_LinnLiveConnect>
5
+ <version>1.1.61</version>
6
  </LinnSystems_LinnLiveConnect>
7
  </modules>
8
  <global>
21
  <product_link_api>LinnSystems_LinnLiveConnect_Model_Product_Link_Api</product_link_api>
22
  </rewrite>
23
  </catalog>
24
+ <core>
25
+ <rewrite>
26
+ <url>LinnSystems_LinnLiveConnect_Model_Core_Url</url>
27
+ <store>LinnSystems_LinnLiveConnect_Model_Core_Store</store>
28
+ </rewrite>
29
+ </core>
30
  <linnLiveConnect>
31
  <class>LinnSystems_LinnLiveConnect_Model</class>
32
  </linnLiveConnect>
package.xml CHANGED
@@ -1,7 +1,7 @@
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>LinnLiveConnect</name>
4
- <version>1.1.60</version>
5
  <stability>stable</stability>
6
  <license>GPL v2</license>
7
  <channel>community</channel>
@@ -9,11 +9,11 @@
9
  <summary>Extended SOAP WS-I compliant API to support integration with LinnLive2.</summary>
10
  <description>Extended SOAP WS-I compliant API to support integration with LinnLive2 (http://www.linnlive.com).&#xD;
11
  Contains some workarounds to avoid bugs in original Magento modules and additional functionality to operate Magento store remotely.</description>
12
- <notes>Variation price update process improved</notes>
13
  <authors><author><name>Albert Andrejev</name><user>albert_andrejev</user><email>albert@linnsystems.com</email></author><author><name>Pavel Nikolajev</name><user>Pavel_LL2</user><email>pavel.nokolajev@linnsystems.com</email></author><author><name>Aleksandr Kornev</name><user>alex_LL2</user><email>alex.kornevs@linnsystems.com</email></author></authors>
14
- <date>2014-12-15</date>
15
- <time>13:21:24</time>
16
- <contents><target name="magelocal"><dir name="LinnSystems"><dir name="LinnLiveConnect"><dir name="Helper"><file name="Data.php" hash="5b967436961a83d0d2d28f661531d057"/><file name="Factory.php" hash="7e0a0e26fa3618917f3540b799b05840"/><file name="Settings.php" hash="086ba912d38dc66964a2f40f685394a5"/></dir><dir name="Model"><dir name="Api"><file name="V2.php" hash="a60247b30a00144ee34b77b74821266a"/></dir><dir name="Category"><file name="Api.php" hash="c01d5bb1dfb59a559c3b94615593e38d"/></dir><file name="Community.php" hash="4b189c380cf34ce0016d8e72304dd44e"/><file name="Main.php" hash="f0e9eff62c728f566e9a7da8730ac4d6"/><dir name="Product"><dir name="Api"><file name="V2.php" hash="0497a6775a80f0292b47aa0e64eee77d"/></dir><file name="Api.php" hash="721f80734374313c91d2cfbf46fb7a17"/><dir name="Attribute"><file name="Api.php" hash="d0678623a145bc2d76993819bd63bdb9"/><dir name="Media"><file name="Api.php" hash="62d58c61d93371793ebe94162755c4cd"/></dir></dir><dir name="Link"><file name="Api.php" hash="d42a76ca6368eabad4e4a96fd40a93a2"/></dir></dir></dir><dir name="etc"><file name="api.xml" hash="a4b2a568bf5b2def5f3fe32c06b4528c"/><file name="config.xml" hash="5d5da05c233d4d321e294ebdea55e944"/><file name="wsdl.xml" hash="2b450fd6a6332d20583aaa4fc52012b6"/><file name="wsi.xml" hash="ad8aa3b49ac9cd24a3d1a4bef61d846d"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="LinnSystems_LinnLiveConnect.xml" hash="19c48712cd0516815d6784592ada0881"/></dir></target></contents>
17
  <compatible/>
18
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
19
  </package>
1
  <?xml version="1.0"?>
2
  <package>
3
  <name>LinnLiveConnect</name>
4
+ <version>1.1.61</version>
5
  <stability>stable</stability>
6
  <license>GPL v2</license>
7
  <channel>community</channel>
9
  <summary>Extended SOAP WS-I compliant API to support integration with LinnLive2.</summary>
10
  <description>Extended SOAP WS-I compliant API to support integration with LinnLive2 (http://www.linnlive.com).&#xD;
11
  Contains some workarounds to avoid bugs in original Magento modules and additional functionality to operate Magento store remotely.</description>
12
+ <notes>Improve compatibility with third party extensions </notes>
13
  <authors><author><name>Albert Andrejev</name><user>albert_andrejev</user><email>albert@linnsystems.com</email></author><author><name>Pavel Nikolajev</name><user>Pavel_LL2</user><email>pavel.nokolajev@linnsystems.com</email></author><author><name>Aleksandr Kornev</name><user>alex_LL2</user><email>alex.kornevs@linnsystems.com</email></author></authors>
14
+ <date>2015-02-02</date>
15
+ <time>07:13:01</time>
16
+ <contents><target name="magelocal"><dir name="LinnSystems"><dir name="LinnLiveConnect"><dir name="Helper"><file name="Data.php" hash="02db378cf586e598b8302acacc68bc69"/><file name="Factory.php" hash="7e0a0e26fa3618917f3540b799b05840"/><file name="Settings.php" hash="086ba912d38dc66964a2f40f685394a5"/></dir><dir name="Model"><dir name="Api"><file name="V2.php" hash="a60247b30a00144ee34b77b74821266a"/></dir><dir name="Category"><file name="Api.php" hash="e1d52ef1f902a454c747f0d67d7dfb5e"/></dir><file name="Community.php" hash="4b189c380cf34ce0016d8e72304dd44e"/><dir name="Core"><file name="Store.php" hash="223c37a5156966322f1ef3d4b4530502"/><file name="Url.php" hash="f7480821c151b21f071b8853bf468f78"/></dir><file name="Main.php" hash="f0e9eff62c728f566e9a7da8730ac4d6"/><dir name="Product"><dir name="Api"><file name="V2.php" hash="2e5d74bff09976d7970ac514ec2babd1"/></dir><file name="Api.php" hash="eaa63183cb69e529322459cf3e86c6df"/><dir name="Attribute"><file name="Api.php" hash="fa77daa27c19a04d2a357a4da8222f16"/><dir name="Media"><file name="Api.php" hash="d343f56cbf15bbf5ae5a829be8c66d6d"/></dir></dir><dir name="Link"><file name="Api.php" hash="0ff8998682b9d85a84947215748dd94b"/></dir></dir></dir><dir name="etc"><file name="api.xml" hash="a4b2a568bf5b2def5f3fe32c06b4528c"/><file name="config.xml" hash="ccbdfb70492bbdfbb57fd02af6be1e88"/><file name="wsdl.xml" hash="2b450fd6a6332d20583aaa4fc52012b6"/><file name="wsi.xml" hash="ad8aa3b49ac9cd24a3d1a4bef61d846d"/></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="LinnSystems_LinnLiveConnect.xml" hash="19c48712cd0516815d6784592ada0881"/></dir></target></contents>
17
  <compatible/>
18
  <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php></required></dependencies>
19
  </package>