Commit Graph
109 Commits
Author SHA1 Message Date
Jacob Brown 4a633e4039 ACPT-1742
Fixing static test failures.
2024-02-15 09:35:49 -06:00
Jacob Brown ca70693cfc ACPT-1742
Fixing static test failures
2024-02-14 15:24:32 -06:00
Jacob Brown 547d3a50e7 ACPT-1742
* Error\ProcessorFactory now uses existing ObjectManager when it exists
  This is required for compatiblity with ApplicationServer
  * Adding metadata to HTTP Response in Error Processor.
  * This new metadata is checked in
    Magento/PageCache/Model/App/Response/HttpPlugin to avoid caching
    errors, and avoid race condition
    * Changed usage of "require_once" to "require" in several places to
      make compatible with ApplicationServer
2024-02-14 13:34:41 -06:00
Pieter Hoste ec423ebeb8 Fixes integration tests 2023-06-06 21:05:40 +02:00
Pieter Hoste f01cf3b4e7 Fixed PHP 8.2 deprecation warnings: 'creation of dynamic property'. 2023-06-06 21:05:40 +02:00
Faizan Shaikh 70571a9245 AC-7790:PHP8.2 - Integration Failures/Unit Failures 2023-01-27 17:41:43 +05:30
Dmytro Voskoboinikov 78108e68e5 Merge branch '2.4.6-develop' into 2.4.6-develop-2.4-develop-sync-06282022
# Conflicts:
#	app/code/Magento/Checkout/i18n/en_US.csv
#	composer.lock
2022-06-28 15:14:20 -05:00
andrii.zinkevych c0e0818e58 AC-2784: Resized images by use command bin/grunt imagemin 2022-06-21 17:58:17 +03:00
venkatashivakumar ebab16f319 AC-1843: Fixed path traversal issue for error reporting 2022-01-13 22:37:44 +05:30
venkatashivakumar 8430a4d30a AC-1843: Fixed path traversal issue for error reporting 2022-01-13 01:06:21 +05:30
Stas Kozar f7b94572d5 MC-34727: Improve error path view file url 2020-06-09 09:02:37 +03:00
Magento Community Engineering 0a21e6ca38 Merge pull request https://github.com/magento/magento2/pull/25323 to https://github.com/magento/magento2/pull/25321 2019-10-31 16:12:08 -05:00
Rafael Corrêa Gomes 43bb56c4fc Report page > Changing input phone type to tel 2019-10-27 12:36:01 -03:00
Yevhen Miroshnychenko ad82991a82 MC-19421: Reduce q-ty of Reports Created in /app/*/var/report 2019-09-13 16:22:34 -05:00
Yevhen Miroshnychenko d3498b82ed MC-19421: Reduce q-ty of Reports Created in /app/*/var/report 2019-09-13 16:14:09 -05:00
Yevhen Miroshnychenko b8f70d2e7e MC-19421: Reduce q-ty of Reports Created in /app/*/var/report 2019-09-12 16:12:30 -05:00
Yevhen Miroshnychenko fba65dc8b9 MC-19421: Reduce q-ty of Reports Created in /app/*/var/report 2019-09-12 16:03:09 -05:00
Yevhen Miroshnychenko 8afbd8c977 MC-19421: Reduce q-ty of Reports Created in /app/*/var/report 2019-09-12 13:49:38 -05:00
Mathew Beane cbbdee7447 PHP_EOL in proper spot.
Moved PHP_EOL to file_put_contents so it is not serialized
2019-09-11 12:37:41 -04:00
Mathew Beane fec58c2063 Update processor.php
Added PHP_EOL to the report output.
2019-09-11 10:29:23 -04:00
Yevhen Miroshnychenko 091eb7b900 MC-19421: Reduce q-ty of Reports Created in /app/*/var/report 2019-09-10 14:21:07 -05:00
Lena Orobei 147d11d158 REPO-66: [EQP][Sniffs Consolidation] Deliver Magento Coding Standard to magento2ce
- review fixes
2019-03-29 09:04:55 -05:00
Lena Orobei 7421dfb0a2 REPO-66: [EQP][Sniffs Consolidation] Deliver Magento Coding Standard to magento2ce 2019-03-27 12:14:03 -05:00
Fabian Schmengler a0566abffe Deny access to XML and PHTML files in pub/errors
For apache via .htaccess and in nginx sample configuration
2019-01-14 08:25:47 +01:00
Stanislav Idolov aea718bf25 ENGCOM-3250: Replace intval() function by using direct type casting to (int) #18764 2018-10-26 08:59:17 +03:00
Stanislav Idolov a9035918c1 magento-engcom/magento2ce#2262: Code style fixes 2018-10-23 13:19:03 +03:00
vgelani 937f5bcde4 Replace intval() function by using direct type casting to (int) 2018-10-23 13:59:25 +05:30
Stanislav Idolov 52b7d5e876 ENGCOM-3170: Support of error pages behind a load balancer that serves HTTPS #18333 2018-10-23 10:30:58 +03:00
Logan Stellway 7d921b60f8 Removes white space from end of line 384 2018-10-09 07:52:02 -07:00
Logan Stellway 1e28a8e25d Updates docblock comment for _renderPage() method 2018-10-08 09:10:59 -07:00
Ihor Sviziev 320c0aab87 Support of error pages behind a load balancer that serves HTTPS
Use strict comparison
2018-10-07 08:48:28 +03:00
Logan Stellway 422d244443 Fix for #12969 - server port detection for errors
Updates `getHostUrl()` method to reference `HTTP_HOST` rather than `SERVER_PORT`.
2018-10-04 15:36:06 -07:00
stefank 53452fbe0d Support of error pages behind a load balancer that serves HTTPS but accesses the webserver on HTTP. Without this css is loaded on HTTP from a document loaded over HTTPS 2018-10-03 17:15:43 +02:00
stefank b1b39283c1 Support of error pages behind a load balancer that serves HTTPS but accesses the webserver on HTTP. Without this css is loaded on HTTP from a document loaded over HTTPS 2018-10-03 17:04:51 +02:00
stefank e12044867b Support of error pages behind a load balancer that serves HTTPS but accesses the webserver on HTTP. Without this css is loaded on HTTP from a document loaded over HTTPS 2018-10-01 22:33:31 +02:00
Myroslav Dobra b40d2f5615 MAGETWO-93031: Update Magento logo in emails and any other places 2018-09-06 15:55:18 +03:00
Dmytro Cheshun 09459f6f92 Fix HTML syntax in report.phtml error template 2018-06-03 10:28:54 +03:00
Daniel Ruf 435d241cbf chore: use random_int() in some places 2018-05-10 09:54:14 +00:00
Andrew Howden 72c502fd6c Modify Report processor to return 500
The report processor is currently returning a HTTP 503 status
code; generally used for temporarily failures to connect to a service
such as when that service is in maintenance mode, when an upstream
proxy is unavailable etc.

This commit modifies the report HTTP code to be a 500. The author
believes this to be a better reflection that the error is miscellaneous
in nature, and that action is required in order to change it (i.e.
it is not a temporary condition)
2018-03-20 09:17:14 +00:00
Taku acddcce65e fix ports number 2017-08-26 11:32:08 +09:00
David Alger 01e9cb4ff8 Convert long form tags with echo to short-echo tags
Also unify existing short-echo padding. Resolves #107. PR #1563.
2017-06-09 16:43:36 -05:00
Oleksii Korshenko 1b5dc60a26 MAGETWO-66875: Remove the copyright year from file headers #8648 2017-03-29 04:48:40 +03:00
Igor Melnikov c52b20dd5e MAGETWO-65521: Remove unserialize in \Magento\Framework\DB\Adapter\Pdo\Mysql
- fixing class annotation
2017-03-17 01:00:54 -05:00
Igor Melnikov 23b1f7b6d2 MAGETWO-65521: Remove unserialize in \Magento\Framework\DB\Adapter\Pdo\Mysql
- merging with remote tracking branch, conflicts:
pub/errors/processor.php
2017-03-16 22:05:25 -05:00
Tommy Wiebell 5c0461ac2e MAGETWO-65523: Remove serialize/unserialize call in \Magento\Framework\Error\Processor
- Roll back changes to loadReport and re-add to constructor
- Roll back fix to _scriptName setting
- Fix integration test to cover this change
2017-03-15 16:28:08 -05:00
Tommy Wiebell eaacd3a4b8 MAGETWO-65523: Remove serialize/unserialize call in \Magento\Framework\Error\Processor
- Replace generic \Exception
2017-03-15 12:07:48 -05:00
Tommy Wiebell ddd0903a16 MAGETWO-65523: Remove serialize/unserialize call in \Magento\Framework\Error\Processor
- ProcessorTest: Use fully qualified names to resolve static test failure. Add test for expected exception
- processor: Resolve issue with _scriptName being a layer too deep to correctly load assets when loading report
2017-03-15 11:35:28 -05:00
Oleksii Korshenko b8b8414703 Merge remote-tracking branch 'mainline/develop' into MAGETWO-65199-PR-8685
# Conflicts:
#	app/code/Magento/Catalog/Setup/UpgradeData.php
2017-03-15 10:07:31 -05:00
Joan He 4edec8f467 Merge remote-tracking branch 'upstream/develop' into MAGETWO-65176-unserialize-in-framework 2017-03-15 07:43:39 -05:00
Tommy Wiebell 81db04c866 MAGETWO-65523: Remove serialize/unserialize call in \Magento\Framework\Error\Processor
- Replace usage of setUp in test with creator method. Modified test to use this new method
- Remove redirects and exits from processor, and introduct exception to loadReport method
- Add logic removed from processor to the report
2017-03-14 17:54:18 -05:00