canadasatellite-ca / site

The canadasatellite.ca website (Magento 2)
https://upwork.com/fl/mage2pro
0 stars 1 forks source link

`Interactivated_Quotecheckout` does not validate the customer's email address on the frontend, so it lead to the «Invalid email format» server-side error #242

Open dmitrii-fediuk opened 3 years ago

dmitrii-fediuk commented 3 years ago

Related to https://github.com/canadasatellite-ca/site/issues/115, https://github.com/canadasatellite-ca/site/issues/114, https://github.com/canadasatellite-ca/site/issues/108

{
    "channel": "main",
    "context": {
        "exception": {},
        "report_id": "665ed90508c53168b0df68b8c31fdd22e4df933e0b2cea4d240526a66afbecda"
    },
    "datetime": {
        "date": "2021-09-20 12:57:55.619244",
        "timezone_type": 3,
        "timezone": "UTC"
    },
    "level": 500,
    "level_name": "CRITICAL",
    "Mage2.PRO": [
        {
            "IP Address": "165.225.124.218",
            "mage2pro/core": "7.7.1",
            "Magento": "2.3.5-p2",
            "PHP": "7.2.34-8+ubuntu16.04.1+deb.sury.org+1",
            "Post": {
                "billing": {
                    "address_id": "",
                    "city": "Chennai",
                    "company": "Saint Gobain",
                    "confirm_password": "nanonews",
                    "country_id": "CA",
                    "customer_password": "nanonews",
                    "email": "Naveinah.Chandrasekaran",
                    "firstname": "Naveinah",
                    "lastname": "Chandraseakran",
                    "postcode": "",
                    "region": "",
                    "region_id": "",
                    "save_in_address_book": "1",
                    "street": [
                        "No - 1FA, Block-C, Phase 2, IIT - Madras Research Park, ",
                        "Kanagam Road, Chennai, Tamil Nadu 600113",
                        ""
                    ],
                    "telephone": ""
                },
                "cart": {
                    "118385": {
                        "qty": "1"
                    }
                },
                "form_key": "yXqxwMfszDhdQC0U",
                "isAjax": "1",
                "onestepcheckout_comments": "Please give us the quotation and lead time for the mentioned item",
                "ship_to_same_address": "1",
                "shipping": {
                    "address_id": "",
                    "city": "",
                    "company": "",
                    "country_id": "CA",
                    "firstname": "",
                    "lastname": "",
                    "postcode": "",
                    "region": "",
                    "region_id": "",
                    "save_in_address_book": "1",
                    "street": [
                        "",
                        "",
                        ""
                    ],
                    "telephone": ""
                },
                "updates": "{\"updateshippingtype\":true,\"updateshippingmethod\":true,\"loader\":[\"checkout-shipping-method-load\",\"checkout-shipping-method-load\",\"co-payment-form\",\"checkout-review-load\"]}"
            },
            "Referer": "https://www.asiasatellite.co/quotecheckout/",
            "Request Method": "POST",
            "URL": "https://www.asiasatellite.co/quotecheckout/index/save/",
            "User-Agent": "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36"
        }
    ],
    "message": "Invalid email format"
}
Location:    vendor/mage2pro/core/Framework/Log/Dispatcher.php:65
Callee:      df_log_l
*****************1******************
Location:    vendor/monolog/monolog/src/Monolog/Logger.php:344
Callee:      Df\Framework\Log\Dispatcher::handle
*****************2******************
Location:    vendor/magento/framework/Logger/Monolog.php:48
Callee:      Monolog\Logger::addRecord
*****************3******************
Location:    vendor/monolog/monolog/src/Monolog/Logger.php:740
Callee:      Magento\Framework\Logger\Monolog::addRecord
*****************4******************
Location:    vendor/magento/framework/App/ExceptionHandler.php:251
Callee:      Monolog\Logger::critical
*****************5******************
Location:    vendor/magento/framework/App/ExceptionHandler.php:74
Callee:      Magento\Framework\App\ExceptionHandler::handleGenericReport
*****************6******************
Location:    vendor/magento/framework/App/Http.php:156
Callee:      Magento\Framework\App\ExceptionHandler::handle
*****************7******************
Location:    generated/code/Magento/Framework/App/Http/Interceptor.php:37
Callee:      Magento\Framework\App\Http::catchException
*****************8******************
Location:    vendor/magento/framework/App/Bootstrap.php:267
Callee:      Magento\Framework\App\Http::catchException
*****************9******************
Location:    pub/index.php:40
Callee:      Magento\Framework\App\Bootstrap::run