<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hey<br>
    <br>
    I removed all query('servercontainer') and used getServer(). However
    I still get some errors when accessing the Chat app and when
    accessing the files app.<br>
    <br>
    Is it possible that this is caused by some core functions?<br>
    <br>
    <br>
    Thanks!<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 01/21/2015 08:07 AM, Lukas Reschke
      wrote:<br>
    </div>
    <blockquote
      cite="mid:7DBD7F62-5517-45DB-A110-FA842F1C6DBB@statuscode.ch"
      type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=windows-1252">
      <div>Either use the new automatic dependency assembly (<a
          moz-do-not-send="true"
href="http://doc.owncloud.org/server/8.0/developer_manual/app/container.html#use-automatic-dependency-assembly-recommended">http://doc.owncloud.org/server/8.0/developer_manual/app/container.html#use-automatic-dependency-assembly-recommended</a>)
        or do it like <a moz-do-not-send="true"
          href="https://github.com/owncloud/core/pull/13349/files">https://github.com/owncloud/core/pull/13349/files</a><br>
        <br>
        Sent from mobile device</div>
      <div><br>
        On 21 Jan 2015, at 07:47, Tobia De Koninck <<a
          moz-do-not-send="true" href="mailto:tobia@ledfan.be">tobia@ledfan.be</a>>
        wrote:<br>
        <br>
      </div>
      <blockquote type="cite">
        <div>
          <meta http-equiv="content-type" content="text/html;
            charset=windows-1252">
          Hi<br>
          <br>
          I'm working on improving the dependency injection in the
          ownCloud chat app.  Before I injected the whole DI container,
          now only the classes I need. However my log is spammed with
          these errors:<br>
          <br>
          <meta http-equiv="content-type" content="text/html;
            charset=windows-1252">
          {"reqId":"a24609b5ab5558936d2279bb80468a29","remoteAddr":"33.33.33.1","app":"no

          app in context","message":"Accessing the server container is
          deprecated. Use type annotations to inject core services
instead!","level":0,"time":"2015-01-21T06:43:49+00:00","method":"POST","url":"\/index.php\/apps\/chat\/och\/api"}<br>
          <br>
          I think they are caused by calls like these: <a
            moz-do-not-send="true" class="moz-txt-link-freetext"
            href="https://github.com/owncloud/chat/blob/master/app/chat.php#L221">https://github.com/owncloud/chat/blob/master/app/chat.php#L221</a>
          . <br>
          <br>
          PR: <a moz-do-not-send="true" class="moz-txt-link-freetext"
            href="https://github.com/owncloud/chat/pull/193">https://github.com/owncloud/chat/pull/193</a><br>
          <br>
          How can I solve this, without removing the DI container?<br>
          <br>
          Thanks!<br>
          <br>
          <pre class="moz-signature" cols="72">Met vriendelijke groeten / Best regards

Tobia De Koninck</pre>
        </div>
      </blockquote>
      <blockquote type="cite">
        <div><span>_______________________________________________</span><br>
          <span>Devel mailing list</span><br>
          <span><a moz-do-not-send="true"
              href="mailto:Devel@owncloud.org">Devel@owncloud.org</a></span><br>
          <span><a moz-do-not-send="true"
              href="http://mailman.owncloud.org/mailman/listinfo/devel">http://mailman.owncloud.org/mailman/listinfo/devel</a></span><br>
        </div>
      </blockquote>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Devel@owncloud.org">Devel@owncloud.org</a>
<a class="moz-txt-link-freetext" href="http://mailman.owncloud.org/mailman/listinfo/devel">http://mailman.owncloud.org/mailman/listinfo/devel</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">Met vriendelijke groeten / Best regards

Tobia De Koninck</pre>
  </body>
</html>