magento2 – Problem with Mage Messages Cookie in the Iphone Safari

My device test (iPhone Safari) displays multiple notifications.

from the code message.js

initialize: function () {
this._super ();

this.cookieMessages = _.unique ($. cookieStorage.get (& # 39; mage-messages & # 39;), & # 39; text & # 39;)[_.unique($.cookieStorage.get('mage-messages'), 'text').length-1];

this.messages = customerData.get (& # 39; messages & # 39;). extend ({
disposableCustomerData: & # 39; messages & # 39;
});

if (! _. isEmpty (this.messages (). messages)) {
customerData.set (& # 39; messages & # 39 ;, {});
}

$ .cookieStorage.set (& # 39; mage-messages & # 39 ;, & # 39; & # 39;);

// $ (window) .on (& # 39; beforeunload & # 39;) function () {
// $ .cookieStorage.set (& # 39; mage-messages & # 39 ;, & # 39; & # 39;);
//});

}

Although I sit down Magicians News like empty in the end

$ .cookieStorage.set (& # 39; mage-messages & # 39 ;, & # 39; & # 39;);

The next time I reload, however, the first line of code gives me the old one Magicians News Embassy

$ .cookieStorage.get (& # 39; mage-messages & # 39;)

This problem is only prevalent in the iPhone Safari and works well on the desktop safari and chrome,

How can the problem be solved? Where does the previous cookie store go from, even if I delete it at the end of my script.

And why does this problem only happen on an iPhone device?

SQL Server 2012 – dtexec / val / proj my.ispac / pack my.dtsx / rep v will be returned immediately without any messages

I'm trying to set up a command call to dtexec to check packages using the project model. I call dtexec like this:

dtexec / val / proj my.ispac / pack my.dtsx / rep v 

The real paths to ispac and dtsx, however, are longer. When I do this, I only see on the console:

Microsoft (R) SQL Server utility for executing packages
Version 11.0.7001.0 for 32-bit
Copyright (C) 2016 Microsoft. All rights reserved.

Started at 10:40:01
PS D: >

The whole thing runs under a second, which makes me believe that it has done nothing. There are no messages, although I asked for detailed reporting.

Any ideas how that works?

How do you hide messages individually after they are visible for a specific time?

Tries to hide the messages one at a time, depending on the creation time
So far, I have this, but it does not work very well in a few moments, it does not wait for the 15s and in others it wipes them all together

I need that for all news

vendor / magento / module-ui / view / frontend / web / js / view / messages.js

I'm just overwriting a test

/ **
* Copyright © Magento, Inc. All rights reserved.
* For more information about the license, see COPYING.txt.
* /

/ **
* @api
* /
define([
    'ko',
    'jquery',
    'uiComponent',
    '../model/messageList'
], Function (ko, $, Component, globalMessages) {
# Use strictly & # 39 ;;

return Component.extend ({
Default settings: {
Template: & # 39; Magento_Ui / messages & # 39 ;,
// selector: & # 39;[data-role=checkout-messages]& # 39 ;,
// isHidden: false,
// listen: {
// isHidden: & # 39; onHiddenChange & # 39;
//}
},

/ ** @heritdoc * /
initialize: function (config, messageContainer) {
this._super ()
.initObservable ();

this.messageContainer = messageContainer || config.messageContainer || global messages;

this.initAutoHidden ();
return this;
},

// / ** @inheritdoc * /
// initObservable: function () {
// this._super ()
// .observe (& # 39; isHidden & # 39;);
//
// return that;
//}

/ **
* Checks the visibility.
*
* @return {boolean}
* /
isVisible: function () {
return this.messageContainer.hasMessages ();
},

/ **
* Remove all messages.
* /
removeAll: function () {
this.messageContainer.clear ();
},

/ **
* init hides all messages automatically
* /
initAutoHidden: function () {
setInterval (function () {

var date = new date ();
var now = date.getTime ();
//.Firmly
$ (# Div. Message: not (.error): visible #). each (function () {
var message = $ (this);
if (message.attr (& # 39; created time & # 39;)) {
var timeCreated = parseInt (message.attr (& # 39; time-created & # 39;)));
if (now - timeCreated> 15000) {
//message.removeAttr('time-created & # 39;);
message.hide (& # 39; blind & # 39 ;, function () {
message.remove ();
}, 500);

}
} else {
message.attr (& # 39; created time & # 39 ;, now);
}
});
}, 1000);
}
});
});

Send chat messages in real time

I am working on a chat application where I want to implement the delivery of the texts in real time. As in, the texts are sent as the user types them into their text box (just as Google Sheets show real-time changes).
The option can be activated / deactivated by the user.

I wonder what the impact of such a method might be on the broad UX.

Review PGP messages

Is it possible to check a PGP message?

Alice sends a PGP encrypted message to Bob.

I know Alice and Bob's public key, and I have their encrypted and plaintext message.

  1. Can I confirm that the PGP-encrypted message is identical to the plain-text message without knowing its private key?

  2. Can I confirm that the PGP encrypted message comes from alice or bob only with its public key?

I can not see any previous messages from an existing thread

I can not see any previous messages from an existing thread webhosting conversation

& # 39);
var sidebar_align = & right; & # 39 ;;
var content_container_margin = parseInt (& # 39; 350px & # 39;);
var sidebar_width = parseInt (& # 39; 330px & # 39;);
// ->

  1. I can not see any previous messages from an existing thread

    Hello,
    I was wondering if I'm the only one who can not see older threads in this forum


Similar topics

  1. Reply: 9

    Last contribution: 29.06.2006, 11:57 clock

  2. Reply: 4

    Last contribution: 11-01-2002, 09:05 clock

  3. Reply: 2

    Last contribution: 31.10.2002, 3.10 pm

  4. Reply: 0

    Last contribution: 31.10.2002, 09:29 clock

booking permissions

  • you not allowed post new threads
  • you not allowed post reply
  • you not allowed Post attachments
  • you not allowed Edit your posts

DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies ExtraProxies.com - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive Proxies-free.com New Proxy Lists Every Day Proxies123
Proxy Sites Proxy Tunnels Proxy List Working Proxy Sites Hotproxysite Proxy Sites Proxy Sites Anonymous Proxy Anonymous Proxies Top-Proxies.co.uk http://www.proxysitesnow.com Proxy Servers Free Proxies Free Proxy List Proxy List Zoxy Proxy List PR liste all proxy sites More Proxies netgofree netgofree Hide-MyIp - The Best Proxy List American Proxy List www.proxylisty.com/proxylist Web Proxy Submit Proxies Updated Proxy List Updated Proxy List aproxy.org Bypass Proxy Sites Free Proxies List Evolving Critic Business Web Directory Free Proxy List iShortIt MyProxyList Online Proxies Go Proxies Need Proxies PrivateProxies Proxies4MySchool Proxies4Work Free Proxy List Free Proxy Sites ProxyInside Wiksa Proxy ProxyLister.org Free Proxy List ProxyNoid Proxy List Free Proxy List Proxy Sites Proxy TopList ProxyVille UK Proxy WebProxy List RatedProxy.com - Listing the best Web Proxies Free Proxy List SchoolProxiesList Stay Anonymous Proxy List The Power Of Ninja Proxy List UNubstruct Free proxy sites Free proxy sites