Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 301977

Progress bar creates doesn't stop on errors.

$
0
0

I am writing an install profile for D8. I had a problem with my yaml files which caused this error. The error (with my yaml) isn't the bug. The fact that the progress bar doesn't tell you that an error occurred is the bug.

Currently when this happens the progress bad just keeps going, stuck waiting for a response.

Firebug throws this error to the console.

TypeError: Drupal.AjaxError is not a constructor
[Break On This Error]

throw new Drupal.AjaxError(xmlhttp, pb.uri);                     progre...8.0-dev (line 91)

The response from the server is:

<!DOCTYPE html>
<html lang="en" dir="ltr">
  <head>
    <title>Home | Drupal</title>
    <meta charset="utf-8" />
<link rel="shortcut icon" href="http://localhost:8888/drupal/core/misc/favicon.ico" type="image/vnd.microsoft.icon" />
<meta name="Generator" content="Drupal 8 (http://drupal.org)" />
<meta name="robots" content="noindex, nofollow" />
    <style media="all">
@import url("http://localhost:8888/drupal/core/misc/normalize/normalize.css?0");
</style>
<style media="all">
@import url("http://localhost:8888/drupal/core/modules/system/system.base.css?0");
@import url("http://localhost:8888/drupal/core/modules/system/system.admin.css?0");
@import url("http://localhost:8888/drupal/core/modules/system/system.theme.css?0");
@import url("http://localhost:8888/drupal/core/modules/system/system.maintenance.css?0");
</style>
<style media="screen">
@import url("http://localhost:8888/drupal/core/themes/seven/style.css?0");
</style>

<!--[if lte IE 8]>
<link rel="stylesheet" href="http://localhost:8888/drupal/core/themes/seven/ie.css?0" media="all" />
<![endif]-->
    <script src="http://localhost:8888/drupal/core/themes/seven/js/mobile.install.js?0"></script>
  </head>
  <body class="maintenance-page in-maintenance db-offline one-sidebar sidebar-first">

 
  <header id="branding">
    <h1 class="page-title">Home</h1>  </header>

  <div id="page">

    <div id="sidebar-first" class="sidebar">
              <img id="logo" src="http://localhost:8888/drupal/core/themes/seven/logo.png" alt="Drupal" />
                    <h2 class="element-invisible">Installation tasks</h2><ol class="task-list"><li class="done">Choose language<span class="element-invisible">(done)</span></li><li class="done">Choose profile<span class="element-invisible">(done)</span></li><li class="done">Verify requirements<span class="element-invisible">(done)</span></li><li class="done">Set up database<span class="element-invisible">(done)</span></li><li class="active">Installation profile<span class="element-invisible">(active)</span></li><li>Configure site</li><li>Finished</li></ol>          </div>

    <main id="content" class="clearfix">
                  Attempt to create an instance of unknown field fc68de01-a24b-451a-8602-2b80cc5d46c0    </main>

  </div>

  <footer role="contentinfo">
      </footer>

  </body>
</html>

Viewing all articles
Browse latest Browse all 301977

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>