BUG:
Question
Version: "0.16.30
Are you able to reproduce the bug from the demo?
[ x] Yes (the news letter demo)
What is the expected behavior? Image resize handles should resize image without throwing an exception.
Describe the bug detailed Clicking on any of the image resize handles throws an Uncaught TypeError.
PropertyView.js:504 Uncaught TypeError: Cannot read property 'get' of undefined at r.isTargetStylable (PropertyView.js:504) at r.checkVisibility (PropertyView.js:326) at r.targetUpdated (PropertyView.js:269) at Et (index.js:759) at r.<anonymous> (index.js:772) at r.<anonymous> (index.js:113) at m (backbone.js:371) at v (backbone.js:356)
at d (backbone.js:151)
at r.c.trigger (backbone.js:346)
Error occurs in:
/**
* Check if target is stylable with this property
* The target could be the Component as the CSS Rule
* @return {Boolean}
*/
isTargetStylable: function isTargetStylable(target) {
var trg = target || this.getFirstTarget(); // *** Target returned is undefined
var model = this.model;
var id = model.get('id');
var property = model.get('property');
var toRequire = model.get('toRequire');
var unstylable = trg.get('unstylable'); // *** error thrown on unchecked variable
var stylableReq = trg.get('stylable-require');
var requires = model.get('requires');
var requiresParent = model.get('requiresParent');
var sectors = this.sector ? this.sector.collection : null;
var selected = this.em ? this.em.getSelected() : null;
var stylable = trg.get('stylable'); // Stylable could also be an array indicating with which property
// the target could be styled
...Answers (1)
Thanks for the report, it'll be fixed in the next release.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #3291
BUG (v0.16.41): the duplicate icon from the icon toolbar is modifying the original element too
Version: v0.16.41 Are you able to reproduce the bug from the demo? [ ] Yes What is the expected behavior? The elements duplicated not shoul...
Issue #3134
BUG: Canvas scroll to top of the page when I try to drag an element from the last sections
Version: 0.16.27 Are you able to reproduce the bug from the demo? [ X] Yes [ ] No What is the expected behavior? When a try to drag a compo...
Issue #2911
BUG: Infinite Recursion by dragging and dropping an component into itself on firefox
Version: 0.16.18 Are you able to reproduce the bug from the demo? [X ] Yes [ ] No What is the expected behavior? You should not be able to...
Issue #2887
BUG: Embedding Youtube Playlist Breaks the URL
Version: v.0.16.18 Are you able to reproduce the bug from the demo? [x] Yes [ ] No What is the expected behavior? It should render the play...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.