Open sentry-io[bot] opened 5 years ago
This can be solved by updating the add-on over here: https://github.com/NYCPlanning/labs-ember-search/blob/master/addon/templates/components/labs-bbl-lookup.hbs#L11
It looks like in the add-on, it adds a css class disabled
if there's nothing to submit. However, since it uses a native form, it should also add disabled
as an attribute.
Fixing this via the add-on is complicated by an issue I'm having with upgrading the labs-ember-search add-on in zola:
Template Compiler Error (TemplateCompiler) in ember-basic-dropdown/templates/components/basic-dropdown-content.hbs
Compile Error: Element modifiers are not allowed in components
Stack Trace and Error Report: /var/folders/g0/l926clqx2zn2wgvvx_r8xs700000gp/T/error.dump.fddc39e69ed349897f35be98c720b379.log
...
broccoliBuilderErrorStack: Error: Compile Error: Element modifiers are not allowed in components at JavaScriptCompiler.closeComponent (/Users/mattgardner/labs-zola/node_modules/ember-source/dist/ember-template-compiler.js:2640:15) at /Users/mattgardner/labs-zola/node_modules/ember-source/dist/ember-template-compiler.js:2556:21 at Array.forEach (
) at JavaScriptCompiler.process (/Users/mattgardner/labs-zola/node_modules/ember-source/dist/ember-template-compiler.js:2548:20) at Function.process (/Users/mattgardner/labs-zola/node_modules/ember-source/dist/ember-template-compiler.js:2540:23) at Function.compile (/Users/mattgardner/labs-zola/node_modules/ember-source/dist/ember-template-compiler.js:3045:33) at precompile (/Users/mattgardner/labs-zola/node_modules/ember-source/dist/ember-template-compiler.js:3635:26) at Object.precompile (/Users/mattgardner/labs-zola/node_modules/ember-source/dist/ember-template-compiler.js:7684:37) at TemplateCompiler.processString (/Users/mattgardner/labs-zola/node_modules/labs-ember-search/node_modules/ember-basic-dropdown/node_modules/ember-cli-htmlbars/lib/template-compiler-plugin.js:68:55) at Object.processString (/Users/mattgardner/labs-zola/node_modules/labs-ember-search/node_modules/ember-basic-dropdown/node_modules/broccoli-persistent-filter/lib/strategies/persistent.js:45:36)
- code: [undefined]
If users click the "disabled" submit button on BBL lookup dialogue box, it still issues a network request with no parameters, throwing a 404:
Sentry Issue: LABS-ZOLA-A