My iPhone is showing an orange dot in the status bar every time I make a phone call

Your iPhone has been updated to run iOS 14. iOS 14 has introduced a new privacy feature which causes an orange dot 🟠 indicator to appear in the iPhone status bar when the device microphone is used by an app.

Additionally, if an app is accessing the device camera, a green dot 🟢 is shown in the status bar.

You can learn more about it in the Apple Support document here:

If you see orange or green indicators in the status bar

With iOS 14, you might see an orange or green indicator in the status bar on your iPhone. These indicators appear when the microphone and/or camera are being used by an app.

iPhone status bar orange dot microphone access indicator

An orange indicator 🟠 means the microphone is being used by an app on your iPhone.

iPhone status bar green dot camera access indicator

A green indicator 🟢 means either the camera or the camera and the microphone are being used by an app on your iPhone.

This is intended to let the user know that an app is using the device microphone and to check against any unintended access to microphone.

java – HTTP Status 500 – Internal Server Error

Olá, estou construiecontrando o seguinte erro:

HTTP Status 500 – Internal Server Error
Type Exception Report

Message Error instantiating servlet class (main.webapp.controller.LoginServlet)

Description The server encountered an unexpected condition that prevented it from fulfilling the request.

Exception

javax.servlet.ServletException: Error instantiating servlet class (main.webapp.controller.LoginServlet)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:543)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:615)
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:818)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1626)
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
java.lang.Thread.run(Unknown Source)
Root Cause

java.lang.ClassNotFoundException: main.webapp.controller.LoginServlet
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1358)
org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1180)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:543)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:615)
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:818)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1626)
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
java.lang.Thread.run(Unknown Source)
Note The full stack trace of the root cause is available in the server logs.

package main.webapp.controller;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import main.webapp.model.LoginModel;

@WebServlet(“/login”)
public class LoginServlet extends HttpServlet {
private static final long serialVersionUID = 1;
private LoginController LoginController;

public void init() {
    LoginController = new LoginController();
}

protected void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {

    String username = request.getParameter("username");
    String password = request.getParameter("password");
    LoginModel LoginModel = new LoginModel();
    LoginModel.setUsername(username);
    LoginModel.setPassword(password);

    try {
        if (LoginController.validate(LoginModel)) {
            //HttpSession session = request.getSession();
            // session.setAttribute("username",username);
            response.sendRedirect("index.jsp");
        } else {
            HttpSession session = request.getSession();
            //session.setAttribute("user", username);
            //response.sendRedirect("login.jsp");
        }
    } catch (ClassNotFoundException e) {
        e.printStackTrace();
    }
}

}

8 – EventSubscriber returning correct content but status code is 404

As the title says, content is being returned correctly but the status code is 404.

I have checked the .htaccess file and the Apache config file as well. All seems to be fine.

I have the following in my module routing file:

my_module.news_list:
  path: /api/{state}/news
  defaults:
    _controller: Drupalmy_moduleControllerNewsController::index
  methods: (GET)
  requirements:
    _access: 'TRUE'

This is the function that does the redirect in my EventSubscriber

public function redirectRequestToModule(GetResponseEvent $event) {
            $request = $event->getRequest();
            $validPathBegins = ('/men', '/nat');
            // This is necessary because this also gets called on
            // node sub-tabs such as "edit", "revisions", etc.  This
            // prevents those pages from being redirected.
            $requestUri = $request->getRequestUri();
            if (!in_array(substr($requestUri, 0, 4), $validPathBegins)) {
                return;
            }
            
            $node = $request->attributes->get('node');
            
            // get the configured request query parameters for this content type
            
            $redirect_url = '/api' . $requestUri;
            $kernel = $event->getKernel();
            $response = $kernel->handle(Request::create($redirect_url));
            $event->setResponse($response);
        }

This is what I type in the browser: mysite.com/nat/news/

The content returned is correct but the status code is 404.

P.S There isn’t a reachable path on my Drupal website like /nat/news. The path mentioned is supposed to return a list of news articles.

updatelistitems – Capture static date & time when list item “status” column changed to “6-Completed”

Using a Sharepoint List to capture issues and tasks and need to be able to determine how long each item has spent in a specific “status”.

“Status” column has choices as below;

1-New
2-WIP
.....
6-Completed

How do i capture this information in a seperate column, that doesn’t change when any other changes are made to the list?

Have tried to set a flow when item is changed but cannot get it to work (newbie to Flow).
Have tried to use a formula to provide the Now() value in text in a seperate column – also couldn’t get it to work.

=IF(Status="6-Completed",TEXT(NOW(),"dd/mm/yyyy  hh:mm"),IF(ISBLANK(Status),"","NULL"))

I now have a list of “NULL” in every item in the Completed On column and it does not update or change when Status is changed.

Any ideas, it’s making my head hurt!

Thanks in advance – PCB