Skip to content

Instantly share code, notes, and snippets.

@eriktrom
Created June 24, 2017 02:40
Show Gist options
  • Save eriktrom/6174fbabf1d6bf35cd65ee6ea9f34266 to your computer and use it in GitHub Desktop.
Save eriktrom/6174fbabf1d6bf35cd65ee6ea9f34266 to your computer and use it in GitHub Desktop.
Re-render errors from updating ED from 2.13 -> 2.14

Re-render error that occur when going from ed 2.13 -> 2.14

Template 1

{{!--

  You modified "settings" twice on <superadmin@controller:accounts/show::ember940>
  in a single render. It was rendered in
  "template:superadmin/templates/accounts/show.hbs" and modified in "component
  :admin-assignment"

  &&

  Cannot convert undefined or null to object

 --}}
{{!-- <li><b>Assignee:</b>{{admin-assignment account=model currentAdmin=currentAdminId currentExec=currentExec}}</li> --}}\
{{!--

  You modified "model.recurlySubscription" twice on
  <superadmin@model:account::ember939:9> in a single render. It was rendered in
  "template:superadmin/templates/accounts/show.hbs" and modified in
  "template:superadmin/templates/accounts/show.hbs"

  You modified "settings" twice on <superadmin@controller:accounts/show::ember940>
  in a single render. It was rendered in
  "template:superadmin/templates/accounts/show.hbs" and modified in
  "template:superadmin/templates/accounts/show.hbs"

 --}}

{{!--

Plan Code: {{model.recurlySubscription.planCode}},
State: {{model.recurlySubscription.state}},
Qty: {{model.recurlySubscription.quantity}},
Unit: {{model.recurlySubscription.unitAmount}}<br>
{{model.recurlySubscription.addons}}

 --}}
{{!--

  You modified "model.revenue" twice on <superadmin@model:account::ember939:9> in
  a single render. It was rendered in
  "template:superadmin/templates/accounts/show.hbs" and modified in
  "template:superadmin/templates/accounts/show.hbs"

--}}

{{!--

  {{#if model.revenue.isFulfilled}}
      <li>Revenue Billed: {{model.revenue.revenue}} </li>

  {{/if}}

 --}}
{{!--

  You modified "model.referredAccounts" twice on
  <superadmin@model:account::ember939:9> in a single render. It was rendered in
  "template:superadmin/templates/accounts/show.hbs" and modified in
  "template:superadmin/templates/accounts/show.hbs"


  You modified "settings" twice on <superadmin@controller:accounts/show::ember940>
  in a single render. It was rendered in
  "template:superadmin/templates/accounts/show.hbs" and modified in
  "template:superadmin/templates/accounts/show.hbs"

 --}}

{{!--

  {{#each model.referredAccounts as |referred|}}
      <li><a href="{{referred.link}}"> {{referred.name}}</a></li>
  {{/each}}

 --}}
{{!--  

  {{#if model.recurlySubscription.canceled}}
      <span class="badge badge-warning">Recurly Subscription Canceled - Ends At:  {{model.recurlySubscription.canceledAt}}</span>
  {{/if}} 

--}}
6.

{{!--

  You modified "sortedNotes" twice on
  <superadmin@controller:accounts/show::ember940> in a single render. It was
  rendered in "template:superadmin/templates/accounts/show.hbs" and modified in
  "template:superadmin/templates/accounts/show.hbs"

  Cannot read property 'destroy' of null at Class.willDestroyElement (date-
  picker.js:116)

  You modified "settings" twice on <superadmin@controller:accounts/show::ember940>
  in a single render. It was rendered in
  "template:superadmin/templates/accounts/show.hbs" and modified in
  "template:superadmin/templates/accounts/show.hbs"

 --}}

{{!--

  {{#each sortedNotes as |note|}}
      <li>
        <pre>{{formatted-date note.createdAt}}:{{note.admin.email}}: {{note.category}} {{note.body}}</pre>
      </li>
  {{/each}}

 --}}
{{!--

  You modified "model.users" twice on <superadmin@model:account::ember939:9> in a
  single render. It was rendered in
  "template:superadmin/templates/accounts/show.hbs" and modified in
  "template:superadmin/templates/accounts/show.hbs"

  Cannot read property 'destroy' of null at Class.willDestroyElement (date-
  picker.js:116)

  You modified "settings" twice on <superadmin@controller:accounts/show::ember940>
  in a single render. It was rendered in
  "template:superadmin/templates/accounts/show.hbs" and modified in
  "template:superadmin/templates/accounts/show.hbs"

 --}}

{{!--

  {{#each model.users as |user|}}
    ...snip...
  {{else}}
    {{placeholder-text oneRow=true twoRow=true trailingRow=true}}
  {{/each}}

 --}}

Template 2

{{!--

You modified "account.admin" twice on <superadmin@model:account::ember1421:11>
in a single render. It was rendered in "component:admin-assignment" and modified
in "component:admin-assignment"

--}}


{{!--

{{admin-assignment account=modelItem currentAdmin=currentAdminId currentExec=currentExec}}

--}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment