Sharepoint REST api: wasn’t $.Ajax supposed to make asynchronous calls?

I don’t understand why my code is running synchronous. At least it is what the attached print-screen shows. Are my assumptions correct?

<script src="../SiteAssets/js/lib/jquery-2.2.0.min.js"></script>  <script type="text/javascript" src="_layouts/15/sp.runtime.js"></script> <script type="text/javascript" src="_layouts/15/sp.js"></script> <script type="text/javascript" src="_layouts/15/sp.RequestExecutor.js"></script>  <script>     var oWeb = "";      $  (document).ready(function () {         getListItems();         executorGetListItems();     });      var endpointUrl = "_api/web/lists/getbytitle('acoes')/items/?$  select=Id,Title,DueDate,PercentComplete&$  top=200";     var acceptHeaders = {"Accept": "application/json; odata=minimalmetadata"}      function onFail (data, errorCode, errorMessage) {         console.log("Error:",errorMessage,errorCode,data);     }      function executorGetListItems() {             var executor;         executor = new SP.RequestExecutor(oWeb);          executor.executeAsync({             url: endpointUrl,             method: "GET",             headers: acceptHeaders,             error: onFail,             success: function (data){                 console.log("ok executor",JSON.parse(data.body).value; //data.body.constructor === String                      }         });     }      function getListItems() {             $  .ajax({             url: oWeb + ""+ endpointUrl,             method: "GET",             headers: acceptHeaders,             error: onFail,             success: function (data){                 console.log("ok ajax",data.value); //data.value === Object             }         });     }  </script> 

enter image description here

[ Etiquette ] Open Question : Is there anything I can do about this My boss never says “Thank You” or shows any appreciation when I do extra things (I wasn’t hired to do)?

1 Example was, A squirrel was seen (a few times) in the office. My boss was aggravated about it & told me indirectly to take care of this problem (although I was only hired to do computer work for him). I took care of the problem (working the exterminator) which took a few hours. When I told my boss I took care of the problem. My boss had a certain expression on his face that said he heard me. Aside from this my boss was silent as if I told him something that wasn’t important. I took care of the problem (working WITH the exterminator) which took a few hours.

Firefox “The address wasn’t understood” for unityhub

I’m trying to install Unity3D from their archive site using UnityHub. I’ve downloaded the latest version of UnityHub as an AppImage. When I tried to open UnityHub from the website’s URL, firefox said: “The address wasn’t understood”.

Firefox doesn’t know how to open this address, because one of the following protocols (unityhub) isn’t associated with any program or is not allowed in this context.  You might need to install other software to open this address. 

URL that I tried to download: unityhub://2018.4.5f1/7b38f8ac282e

I’ve tried the register protocol method, it didn’t work.

NB: Ubuntu 19.04 and Firefox 69

Version History shows field was updated, even though it wasn’t

In my SharePoint document library, I have a date column with a default date (i.e. today’s date). This works fine.

My problem is: whenever I update the document itself, or any other metadata besides this date column, the version history shows this date column has changed for every version – even though its value was not changed. It’s cluttering the view and will make auditing difficult.

enter image description here

What am I likely doing wrong here? Here is the field setup:

enter image description here

Magento 2 getting error “Broken reference: The element with the “customer” ID wasn’t found. Verify the ID and try again. [] []” in system.log

I am getting lots of

Broken reference: The element with the "customer" ID wasn't found. Verify the ID and try again. [] [] 

errors in the error.log. I’ve googled around and tried to trace it with NetBeans but I can’t track down what’s causing it. Everything seems to be working perfectly except this error is getting written repeatedly.

Has anyone any idea what’s causing it or how I might track it down?

As some background, I migrated my site from 1.8.1 to 2.3 (and have since upgraded to 2.3.1 but the error started in 2.3). I wonder if something hasn’t migrated correctly. Note it occurs in both developer and production mode.

Error Paypal thrown but it wasn’t a Paypal paiement

I have this error when I’m trying to pay an order :

Fatal error: Uncaught TypeError: Argument 1 passed to Magento\Paypal\Model\Adminhtml\Express::isOrderAuthorizationAllowed() must be an instance of Magento\Sales\Model\Order\Payment, null given, called in /var/www/axiane-portailclient/vendor/magento/module-paypal/Plugin/OrderCanInvoice.php on line 41 and defined in /var/www/axiane-portailclient/vendor/magento/module-paypal/Model/Adminhtml/Express.php:169 Stack trace: #0 /var/www/axiane-portailclient/vendor/magento/module-paypal/Plugin/OrderCanInvoice.php(41): Magento\Paypal\Model\Adminhtml\Express->isOrderAuthorizationAllowed(NULL) #1 /var/www/axiane-portailclient/vendor/magento/framework/Interception/Interceptor.php(146): Magento\Paypal\Plugin\OrderCanInvoice->afterCanInvoice(Object(Magento\Sales\Model\Order\Interceptor), false) #2 /var/www/axiane-portailclient/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Sales\Model\Order\Interceptor->Magento\Framework\Interception{closure}() #3 /var/www/axiane-portailclient/generated/code/Magento/Sales/Model/Orde in /var/www/axiane-portailclient/vendor/magento/module-paypal/Model/Adminhtml/Express.php on line 169

I don’t know why, because it’s not a paypal step.

I’m on magento 2.2.1

[ United States ] Open Question : Can a person legally claim you as a business expense if they sent you money over the internet, even if it wasn’t for work?

I am currently dealing with an issue that arose between me and my cousin, who owns his own business. I don’t want to go too much into detail, but basically he sent me some money (around $ 6,000) in 2018. Most of the money he sent was as a gift which i accepted because i was struggling financially and he offered to help. Recently, we’ve gotten into an argument and he’s trying to claim all of the money he sent me in 2018 on his tax returns. He said he is going to send me a 1099 form. I have worked 2 jobs all year (minus 2 months out of the year due to my move) and claim 0 allowances which should allow me to get a good refund this year given my circumstances. If he claims this money, chances are most, if not all. of my money will have to be paid back due to this reporting (I believe he is trying to claim me as a freelance writer for his website since i did some work for him for about a month total out of the year) He claims that since the money he sent came from his business account, it doesn’t matter what it was for that i have to pay taxes on it. My understanding is that you cannot claim gifts because they are not taxable. I know that he may be in some trouble with the IRS and is trying to write off as money expenses as possible. Can he legally claim these expenses (as work) even though we have no contract and he doesn’t have any information of mine except for my name?

Baby seat-belt wasn’t provided on takeoff – worth complaining?

On AirFrance flight form Paris to Montreal yesterday the AirFrance crew forgot to provide the baby seat belt before takeoff.

Moreover, no cabin check was performed in our segment before takeoff so we didn’t get the chance to ask for one.

I was still working on my laptop when the plane began moving and the electronic call to the crew was answered only after take-off; The crew apologized and gave us the seat-belt immediately for the rest of the flight

This is a security failure that could have ended in a tragedy.

Anything I can/should do about it? What can I hope to achieve?


Posted Sitemap on Google, They said it wasn’t correct?

I'm using the the Fluid store and Fluid WP themes. When I finished my store and submitted to google, I submitted the url to the sitemap (that was automatically generated in the fluid theme) without putting xml or php on the end.

I tried to resubmit, but google wouldn't allow it. weird. I'm hitting the end of my knowledge rope here.

Anybody know how to fix this?

Thanks, -FN