Giter VIP home page Giter VIP logo

Comments (7)

bmoeskau avatar bmoeskau commented on June 18, 2024

For support like this please use the forums in the future: http://ext.ensible.com/forum/

That's a strange error -- I can't see why that commit would be causing an issue with the EventMappings object. If you are rebuilding the extensible-all file I believe the DateRangeLayout file still needs to be added to the jsb, so perhaps that's causing you an issue, though this does not seem like the error you would get from a missing component.

from extensible.

dusek avatar dusek commented on June 18, 2024

I am rebuilding the extensible-all.js (and extensible-all-debug.js) files. I too went through the commit diff, and though not versed in Extensible and Ext JS, could not find anything obvious what could cause the issue.

I will remember to use the forums for future issues :-)

from extensible.

bmoeskau avatar bmoeskau commented on June 18, 2024

I'll take another look this evening and see if I can reproduce the issue. In my local testing using the default examples everything still works fine though... :P

from extensible.

dusek avatar dusek commented on June 18, 2024

Thanks. I haven't tried the samples yet, so I will try them too.

from extensible.

dusek avatar dusek commented on June 18, 2024

It now works once I added the DateRangeLayout.js to extensible.jsb2. My notes from debugging without the correction might be interesting to you though - they are below. I don't know whether order of items in extensible.jsb2 matters, but adding it before DateRange.js worked fine. So if you would be so kind and commit that fix to your repo, that would be awesome.

When debugging my case with Web Inspector, these were my observations here (I was using extensible-debug-all.js):

  • in the localization file, Extensible.calendar.view, i.e. the view attribute of Extensible.calendar, does not exist, but the data, dd, form, gadget, menu, template and util attributes of Extensible.calendar all exist
  • Ext.define('Extensible.calendar.view.AbstractCalendar', {...}); does not add the view attribute to Extensible.calendar. Previous Ext.define(...); statements in extensible-all-debug.js did add all the attributes (at least those statements I watched, including the first one, and the last one before Extensible.calendar.view.AbstractCalendar). In previous commit, the Extensible.calendar.view.AbstractCalendar adds the appropriate attributes (i.e. Extensible.calendar.view and Extensible.calendar.view.AbstractCalendar exist).
  • strangely, in definition of AbstractCalendar, there are 2 requires attribute specifications, only the latter one takes effect according to the debugger

from extensible.

bmoeskau avatar bmoeskau commented on June 18, 2024

When I tested against extensible-all-debug.js the error I got was as expected "Missing required file Extensible.form.field.DateRangeLayout.js". Strange that you got that seemingly unrelated error. At any rate, I just committed the fix.

from extensible.

dusek avatar dusek commented on June 18, 2024

Great, thanks.

from extensible.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.