-
-
Notifications
You must be signed in to change notification settings - Fork 436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix 1.9.3.x upstream merges #409
Fix 1.9.3.x upstream merges #409
Conversation
The upstream merges for some 1.9.3.x releases introduced a few inconsistencies: * cms_generate_breadcrumbs event is fired twice * related to the above dd41230 is applied to wrong code block * few locale .csv have now escaped single quote entries along with the entries where those got removed in OpenMage#46 * OpenMage#21 got reverted at some point * var/package dir has 5 obsolete xml files * slightly different configuration in Sales, SalesRule and Tax config.xml * Mage_SalesRule_Model_Validator is outdated compared with latest from 1.9.3.7
Good work!
Maybe, we need to double check some of these reverted/re-applied changes
against PHP7 support ... esp the Sales and SalesRule XML config
#62
As an example:
In a recent 193.x. install instance we were seeing the 1 cent rounding
error again ... that should have been long gone
…On Wed, Dec 6, 2017 at 9:34 PM, Erik Dannenberg ***@***.***> wrote:
The upstream merges for some 1.9.3.x releases introduced a few
inconsistencies:
- cms_generate_breadcrumbs event is fired twice
- related to the above dd41230
<dd41230>
is applied to wrong code block
- few locale .csv have now escaped single quote entries along with the
entries where those got removed in #46
<#46>
- #21 <#21> got reverted
at some point
- var/package dir has 5 obsolete xml files
- slightly different configuration in Sales, SalesRule and Tax
config.xml
- Mage_SalesRule_Model_Validator is outdated compared with latest from
1.9.3.7
The issues were found by extracting and applying the patch set on top of a
vanilla Magento 1.9.3.7 commit, finally doing a directory compare with the
current 1.9.3.x branch. The branch used for comparison can be found here
<https://github.com/edannenberg/magento-lts/commits/1.9.3.7>
#21 <#21> is not in this PR
in favour of #387 <#387>
------------------------------
You can view, comment on, or merge this pull request online at:
#409
Commit Summary
- Fix 1.9.3.x upstream merges
File Changes
- *M* app/code/core/Mage/Cms/Block/Page.php
<https://github.com/OpenMage/magento-lts/pull/409/files#diff-0> (16)
- *M* app/code/core/Mage/Sales/etc/config.xml
<https://github.com/OpenMage/magento-lts/pull/409/files#diff-1> (2)
- *M* app/code/core/Mage/SalesRule/Model/Validator.php
<https://github.com/OpenMage/magento-lts/pull/409/files#diff-2> (370)
- *M* app/code/core/Mage/SalesRule/etc/config.xml
<https://github.com/OpenMage/magento-lts/pull/409/files#diff-3> (4)
- *M* app/code/core/Mage/Tax/etc/config.xml
<https://github.com/OpenMage/magento-lts/pull/409/files#diff-4> (4)
- *M* app/locale/en_US/Mage_Adminhtml.csv
<https://github.com/OpenMage/magento-lts/pull/409/files#diff-5> (1)
- *M* app/locale/en_US/Mage_Paypal.csv
<https://github.com/OpenMage/magento-lts/pull/409/files#diff-6> (2)
- *M* app/locale/en_US/Mage_Review.csv
<https://github.com/OpenMage/magento-lts/pull/409/files#diff-7> (2)
- *M* app/locale/en_US/Mage_Rss.csv
<https://github.com/OpenMage/magento-lts/pull/409/files#diff-8> (3)
- *D* var/package/Lib_Js_Calendar-1.51.1.8.xml
<https://github.com/OpenMage/magento-lts/pull/409/files#diff-9> (18)
- *D* var/package/Lib_Js_TinyMCE-3.5.11.7.xml
<https://github.com/OpenMage/magento-lts/pull/409/files#diff-10> (18)
- *D* var/package/Lib_LinLibertineFont-2.8.14.8.xml
<https://github.com/OpenMage/magento-lts/pull/409/files#diff-11> (18)
- *D* var/package/Lib_ZF-1.12.10.7.xml
<https://github.com/OpenMage/magento-lts/pull/409/files#diff-12> (18)
- *D* var/package/Lib_ZF_Locale-1.12.10.7.xml
<https://github.com/OpenMage/magento-lts/pull/409/files#diff-13> (19)
Patch Links:
- https://github.com/OpenMage/magento-lts/pull/409.patch
- https://github.com/OpenMage/magento-lts/pull/409.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#409>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAn0a7awyLjM6Z6CAgLSRwM82kqLgEw2ks5s9vpggaJpZM4Q4jE->
.
|
The Inchoo extension added a cleaner fix for the .xml workaround, not sure about any BC issues with PHP5.6, else this would be a good addition for this repo as it fixes the issue at the root.
Not sure this can ever be truly fixed unless an effort is made to finally use the intended precision for product prices in the db. All that |
(not on topic, but mentioned here:
Inchoo/Inchoo_PHP7#50)
Interesting is that I see this exact xml snippet removed in the Inchoo
update
Inchoo/Inchoo_PHP7@1c1c5e4#diff-a4345d83fc8c1f52d7fe717e321e2619L10
We recently added this again in local.xml because by *magic* we were seeing
recent 1 cent rounding differences again ...
Not sure how/why .... just sharing
…On Thu, Dec 7, 2017 at 3:51 PM, Erik Dannenberg ***@***.***> wrote:
Maybe, we need to double check some of these reverted/re-applied changes
against PHP7 support ... esp the Sales and SalesRule XML config
The Inchoo extension added a cleaner fix
<Inchoo/Inchoo_PHP7@1c1c5e4>
for the .xml workaround, not sure about any BC issues with PHP5.6, else
this would be a good addition for this repo as it fixes the issue at the
root.
In a recent 193.x. install instance we were seeing the 1 cent rounding
error again ... that should have been long gone
Not sure this can ever be truly fixed unless an effort is made to finally
use the intended precision for product prices in the db. All that
deltaRound shenanigans could be avoided..
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#409 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAn0a5i2X_t4CmuGjW2pCpp5YN9QIJl-ks5s9_tegaJpZM4Q4jE->
.
|
+1 ignore my rounding issues ... this was solved. And dont want to block other good things in this change I will test again after merged (to see if my own problem persists) |
The upstream merges for some 1.9.3.x releases introduced a few inconsistencies:
The issues were found by extracting and applying the patch set on top of a vanilla Magento 1.9.3.7 commit, finally doing a directory compare with the current 1.9.3.x branch. The branch used for comparison can be found here
#21 is not in this PR in favour of #387