Momentics bug in beta 2: objectName unrecognized in GroupDataModel

Hello!

Below the written code reveals an error in the line where objectName is mentioned. But if you create and put the executable code on BB 10 Dev Alpha it works very well.

The error is annoying but not a show stopper.

Where can I report the bug?

Best regards, SOAman

            attachedObjects:
                [
                    GroupDataModel
                    {
                        id: ptGroupDataModel
                        objectName: "ptGroupDataModel"
                        sortingKeys: ["displayName"]
                    }
                ]

It's strange - objectName is clearly a QObject property, which is the parent class of GroupDataModel;

I would recomment you log a problem for this here:

https://www.BlackBerry.com/JIRA/secure/dashboard.jspa

See you soon,.

Martin

Tags: BlackBerry Developers

Similar Questions

  • bug Simulator Beta 2 auto scale?

    Hello

    My application properly on Simulator version 1 layout.

    I just install the new version of the Simulator and the same application is not put on the page properly.

    I discovered that my LabelButton seems too close to the right edge and the version of the Simulator 2 automatically scale to reduce my layout for a button that no more too don't close the border.

    Not sure anyone has such a problem?

    code like:

    var b:LabelButton = new LabelButton();
    
    b.x = 896;
    b.y = 8;
    b.width = 120;
    b.height = 47;
    

    make my whole layout will shrink.

    However, try to configure b.x = 850; no longer shrink...

    This only occur on the right side, not the left edge...? !!

    Hey,.

    of what happened in the past, applying a specific width and height to a sprite will cause a resize to all his children. so get out those lines:

    sprite.width = 1024;
    sprite.height = 600;
    

    After that, run your program. the width and height must be the same because of the shape object. hope that things cleared up. Good luck!

  • Simulator on 10.2 Momentics Mountain Lion boot problems

    Hello

    While using Momentics 10.2 Beta I encountered a problem trying to run Simulator run from the IDE. I installed a new image of Simulator via Momentics (BB10 10.1.0.2312). Have downloaded and installed without any erros and I cann see in the list of installed simulators.

    But it will fail to start and connect to the installed Simulator.

    First of all, I get this empty error message:

    And shortly after that the Out of Memory error message appears:

    I increased the memory availability for Momentics Java Runtime (-Xms args) but it still happens.

    Anyone know a fix for this?

    My previous pictures of installed BB10 - who is not managed by the IDE - work well so it's not blocking.

    I'm on Mac OS X 10.8.4 and VMWare Fusion 5.0.3.

    This should be corrected in the next version of the SDK native BlackBerry.

    If you download and install the Simulator separately, it should work.

    Download page for blackBerry Simulator

  • Can't see glimpses of threads on the forums vBulletin 3-4 b 2

    With forum sites that run using vBulletin, when you hover over the subject line of a thread in the forum, you get the first sentence or so of the post (about 80 or more characters). When you browse the Forums that are run on vBulletin, before the installation of Firefox 4 Beta 2, it works. However, after that I upgraded Firefox 4 beta 1, beta 2, it worked more. Someone know a fix for this, or is this a bug in Beta 2? I checked other sites that use vBulletin, and they have the same problem.

    URL of affected sites

    http://Forum.RPG.NET

    I found a solution in a post for a different issue, I've had - uninstall the Google toolbar has solved the problem.

  • TC6 Firmware - call disconnects after 2 hours

    Hi all

    Our client complains that after the firmware update on the endpoints of telepresence (C40, C60, EX90) to TC6.x, there are two questions:

    1 end with TC6.x points will disconnect after 120 minutes to be connected to any appeal initiated by the remote end.  They will not cut the minute 120 if the TC6.x Unit has initialized the call.

    2 end points with TC6.x cannot connect to units MXP running F6 or earlier.  Since we MXP Codec Software F6 and F5 this is causing problems with the calls point to point.

    They have units with the TC5.1.6 software which have no problem at all. The only thing among others as the routers and switches is a VCS controller.

    Anyone has any ideas on what is the cause?

    Thank you

    John

    In TC6, we turned silently on TCP KeepAlive for the session h225 running with the default time of linux tcp_keepalive_time of 7200 seconds.  That would probably explain the disconnection to 120 minutes which sees the John after moving from TC5.1.6.

    I would also say that if this is the case, there is something which is tcp to the current between the two devices.  The firewall is also my first thought.  Perhaps WAAS on a router?  Sometimes you can get a clue that this is occurring by comparing the tcp ack/seq/windowsize header to see if it is different between the sending to the receiving side for the same package.  Something like 'tcpdump-s0 w /tmp/h225.pcap port 1720' root must limit the collected output.

    The TC6 troubleshooting located here would be a good reference in newspapers and tcpdump to use for troubleshooting signaling related issues:

    http://www.Cisco.com/en/us/docs/Telepresence/endpoint/codec-c-series/TC6/troubleshooting_guide/tc_troubleshooting_guide_tc60.PDF

    The example uses this doc does not filter the traffic and John you do not want to limit the output of tcpdump only for signalling interesting to avoid problems with the size of the OCAP collected file.

    We have a bug open better control KeepAlive on the session h225 (CSCub20591) but not clear if/when it will be executed and for now if there is something that is expire tcp sessions in the network, changes will be made here to avoid this problem.

    For the 2nd question, I'm not aware either a problem with older MXP but your approach Martin to try a later version of the software would also be what I would recommend.  If you need to solve problems with old software MXP TC6, the same troubleshooting guide h323 newspapers are where you want to focus on to see where in the handshake the call fails and compare this output between TC6 and TC5.1.6 as to what has changed that can have an impact on this.

  • AE 13.7 which is not yet present in preview in real time.

    Hi all

    I have the latest after effects CC2015 (13.7), but I still can't previews my comps in real time? It's to play in real time only when I jump 01 framework on the preview!

    I have the 5K. iMac with retina display core i7 with 16G of ram and GPU ATI. with OSX El Capitan.

    I just want to see the simple RAM Preview. As before the 0 button on the keypad. is this possible?

    Best,

    Ali.

    This is a bug with the works of the new architecture (introduced in 13.5) with El Capitan (if the bug is Apple's fault or Adobe is irrelevant - it is a very annoying bug if you do not know workaround). We have a number of discussions here about it. And he has been mentioned in the blog of Adobe After Effects in a few messages.

    As I alluded to earlier, there is a very simple solution.

    Anchor another Panel under your control panel mounting. Like this:

    Note how the render queue is anchored in the timeline panel.

    That's all.

    This will allow you to get cached previews who read in real time with the space bar so of numpad 0 found. If you prefer to keep your queue of rendering also, choose another Panel, you worry less.

    Alternatively, you can apply the update fixed a bug of beta-testing the 13.7.1 intended to fix this bug: help test the update of the fix after effects CC 2015 (13.7.1)

  • Columns with the INTEGER type in the Dungeon of synchronization that appear in the synchronization script

    I change all the PK and FK which are numbers and number (12) in the field "primary key".
    This changes the ENTIRE data type. Which is what I want to do.

    When I run the synchronization generates on:
    ALTER TABLE EDW. SUBSCRIPTION_TYPE
    CHANGE (INTEGER ADDRESS_TYPE_SKID)
    ;

    Which is fine, I then run the script. When I Re run the synchronization script, the update continues to display in the script. Even if the column has been updated.
    If I change to a number then it works!

    Is this a known bug or just me being stupid?

    Hello

    Is this a known bug

    Bug or feature, not so easy to classify. You can see the solution here, field and Types
    I logged a bug for better handling of such cases.

    Philippe

  • Run a suite of tests (scenario) on a RemoteObject

    Hello

    I'm trying to run a suite of tests on a remote object.

    It works fine, but I want to do a 'scenario' with the asynchronous request.

    Here is my source:

    [Test (async)]
    public void ping (): void
    {
    _proxyTest.addEventListener (FaultEvent.FAULT, Async.asyncHandler (this, onWantTimeOut, null, onNotWantFaultEvent, SHORT_TIME,), false, 0, true);
    Async.failOnEvent (this, _proxyTest, FaultEvent.FAULT);
    _proxyTest.addEventListener (ResultEvent.RESULT, Async.asyncHandler (this, onNotWantTimeOut, null, onWantResultEvent, SHORT_TIME,), false, 0, true);
    _proxyTest.Ping ();
    }

    [Test (async)]
    public function pingTimeOut (): void
    {
    Async.failOnEvent (this, _proxyTest, ResultEvent.RESULT);
    _proxyTest.addEventListener (FaultEvent.FAULT, Async.asyncHandler (this, onWantTimeOut, null, onWantFaultEvent, SHORT_TIME,), false, 0, true);
    _proxyTest.pingTimeOut ();
    }

    /*
    Managers
    */

    ResultEvent and ResultEvent

    protected function onWantResultEvent (event: ResultEvent, passThroughData:Object): void
    {
    }

    protected function onNotWantResultEvent (event: ResultEvent, passThroughData:Object): void
    {
    Assert.Fail ("result back to request");
    }

    protected function onWantFaultEvent (event: ResultEvent, passThroughData:Object): void
    {

    }

    protected function onNotWantFaultEvent (e:FaultEvent, passThroughData:Object): void
    {
    Assert.Fail ("lack of demand:" + e.message);
    }

    Timeout

    protected function onWantTimeOut (passThroughData:Object): void
    {
    }

    protected function onNotWantTimeOut (passThroughData:Object): void
    {
    Assert.Fail ('timeout request');
    }

    My idea is to run the pingTimeOut test after the end of the ping Test. Because I'm listening to events even on both tests (result event).

    Could propose you a solution?

    Thank you

    Mikael

    The only suggestion on top of my head is to ensure that you are running the Beta 2 code. There was a bug in beta 1 around the designation of 'expected' versus 'expected '. In Beta 2, both of these words work to set an expected error.

    Mike

  • Visibility line thickness

    I've recently upgraded to MX and am finally beginning of ween (sp?) me off FH10.

    Having a hard time with the consistency of the operation panel objects, but somethg I can understand not everything is the behavior of the thickness of the lines. Even in a new doc, a hairline is a 1pt above and sometimes a 1pt resembles a pt 2.

    I noticed a postg JA re a bug in beta which I suppose is not fixed in my version. But I wonder why my layers all look the same or thicknesses of evil to smaller lineweights in a new (dissociated doc)?

    Am I missing somethg? Visibility of lineweight setting maybe...?

    THX

    Judy

    Yes, I see what you mean and that Obj box is now (some) sense.

    Thx again for your help...

    Q:

  • ListView filling does not

    Hi all

    ListView in my app is not filling, here is the code snippet

    ListView {
                        id:sectionlistview
                        objectName: "sectionlistview"
    
                        ///dataModel: groupDataModel
                        listItemComponents: [
                            ListItemComponent {
                                id:row
                                type: "item"
                                CustomListItem {
                                    dividerVisible: true
                                    highlightAppearance: HighlightAppearance.Default
                                    Container{
                                        opacity: 0.9
                                        background: Color.create("#c0c0c0")
                                        layout: StackLayout {
                                         orientation: LayoutOrientation.TopToBottom
                                        }
                                        Label {
                                            text: ListItemData.name
                                            textStyle.base: myStyle.style
                                            textStyle.color: Color.create("#ffffff")
                                        }
                                    }
                                }
    
                            }
                        ]
                    }
    
    void ApplicationUI::fetchData(){
            listView = root->findChild("sectionlistview");
            model = new GroupDataModel(QStringList() << "name");
            model->clear();
            model->setGrouping(ItemGrouping::None);
            model->insert(dataName);
            listView->setDataModel(model);
    }
    

    dataName is a QVariantMap variable. The data are available in the variable, I checked that.

    The following, almost identical to yours works for me. There are a few things in your code, which I don't see, so it is difficult to check every detail. First, create a new application and replace applicationui.cpp, applicationui.hpp and main.qml with my code and then test it. If it works, check if your code against mine. If not, let me know the device and the version of the OS that you are testing.

    #ifndef ApplicationUI_HPP_
    #define ApplicationUI_HPP_
    
    #include 
    
    namespace bb
    {
        namespace cascades
        {
            class Application;
            class LocaleHandler;
        }
    }
    
    class QTranslator;
    
    /*!
     * @brief Application object
     *
     *
     */
    
    class ApplicationUI : public QObject
    {
        Q_OBJECT
    public:
        ApplicationUI(bb::cascades::Application *app);
        virtual ~ApplicationUI() { }
        Q_INVOKABLE void fetchData();
    
    private slots:
        void onSystemLanguageChanged();
    private:
        QTranslator* m_pTranslator;
        bb::cascades::LocaleHandler* m_pLocaleHandler;
    
    };
    
    #endif /* ApplicationUI_HPP_ */
    

    applicationui. HPP

    #include "applicationui.hpp"
    
    #include 
    #include 
    #include 
    #include 
    #include 
    #include 
    
    using namespace bb::cascades;
    
    static AbstractPane *root = 0;
    
    ApplicationUI::ApplicationUI(bb::cascades::Application *app) :
            QObject(app)
    {
        // prepare the localization
        m_pTranslator = new QTranslator(this);
        m_pLocaleHandler = new LocaleHandler(this);
    
        bool res = QObject::connect(m_pLocaleHandler, SIGNAL(systemLanguageChanged()), this, SLOT(onSystemLanguageChanged()));
        // This is only available in Debug builds
        Q_ASSERT(res);
        // Since the variable is not used in the app, this is added to avoid a
        // compiler warning
        Q_UNUSED(res);
    
        // initial load
        onSystemLanguageChanged();
    
        // Create scene document from main.qml asset, the parent is set
        // to ensure the document gets destroyed properly at shut down.
        QmlDocument *qml = QmlDocument::create("asset:///main.qml").parent(this);
    
        // Create root object for the UI
        root = qml->createRootObject();
    
        // Set created root object as the application scene
        app->setScene(root);
    
        qml->setContextProperty("app", this);
    
    }
    
    void ApplicationUI::onSystemLanguageChanged()
    {
        QCoreApplication::instance()->removeTranslator(m_pTranslator);
        // Initiate, load and install the application translation files.
        QString locale_string = QLocale().name();
        QString file_name = QString("SupportListView_%1").arg(locale_string);
        if (m_pTranslator->load(file_name, "app/native/qm")) {
            QCoreApplication::instance()->installTranslator(m_pTranslator);
        }
    }
    
    void ApplicationUI::fetchData()
    {
    
        QVariantMap dataName;
        dataName["name"] = "Martin";
        ListView* listView = root->findChild((const QString) "sectionlistview");
        GroupDataModel* model = new GroupDataModel(QStringList() << "name");
        model->clear();
        model->setGrouping(ItemGrouping::None);
        model->insert(dataName);
        listView->setDataModel(model);
    }
    

    applicationui.cpp

    import bb.cascades 1.2
    
    Page {
        Container {
            //Todo: fill me with QML
            Label {
                // Localized text with the dynamic translation and locale updates support
                text: qsTr("Hello World") + Retranslate.onLocaleOrLanguageChanged
                textStyle.base: SystemDefaults.TextStyles.BigText
            }
            Button {
                text: "Fetch Data"
                onClicked: {
                    app.fetchData();
                }
            }
            ListView {
                id: sectionlistview
                objectName: "sectionlistview"
    
                ///dataModel: groupDataModel
                listItemComponents: [
                    ListItemComponent {
                        id: row
                        type: "item"
                        CustomListItem {
                            dividerVisible: true
                            highlightAppearance: HighlightAppearance.Default
                            Container {
                                opacity: 0.9
                                background: Color.create("#c0c0c0")
                                layout: StackLayout {
                                    orientation: LayoutOrientation.TopToBottom
                                }
                                Label {
                                    text: ListItemData.name
                                    textStyle.base: myStyle.style
                                    textStyle.color: Color.create("#ffffff")
                                }
                            }
                        }
    
                    }
                ]
            }
        }
    }
    

    hand. QML

    Good luck!

    Martin

  • ListView &amp; heads

    Hello!

    I'm having some difficulty with the definition of the properties of the my ListView header.

    Here are some of my code QML:

    ListView {
                id: threadView
                objectName: "threadView"
    
                dataModel: GroupDataModel {
                    id: modelPost
                    sortingKeys: ["timestamp"]
                    grouping: ItemGrouping.ByFullValue
                }
    
                listItemComponents: [
    
                    ListItemComponent {
                        type: "header"
                        Header {
                            id: header
                            title: ListItemData.author
                            subtitle: ListItemData.timestamp
                        }
                    },
    
                    ListItemComponent {
                        type: "item"
    
                        PostRenderer {
                        }   
    
                    }
                ]
            }
    

    As you can see, what I want to do is to sort items by time stamp. But the legend must be something else: the author of the message.

    And with the current code, the question I have, is that the header shows nothing... so just the gray rectangle + the blue line. No text.

    Strangely (to me), I don't see a content in the header if I write something like this:

    Header {
          id: header
          title: ListItemData
          subtitle: ListItemData.timestamp
    }
    

    And then he does not care about the subtitle, view just the title, and the title will be the sort key: the time stamp.

    I'm not sure that, in the doc:

    - http://developer.blackberry.com/native/reference/cascades/bb__cascades__header.html

    - http://developer.blackberry.com/native/reference/cascades/bb__cascades__listitemcomponent.html

    It seems that we could do it like this. Could someone tell me what I'm missing?

    BTW, I also see in the doc that the listItemComponent sometimes have a type "listItem", but in my experience, if it's not only "item" I won't be able to choose what will be displayed in the points...

    Could you tell me why?

    Thank you!

    Hello!

    GroupDataModel groups elements, in this case of timestamp. In the header of the function data() (ListItemData in QML) returns a common timestamp for this group of items. So he has no fields such as .title etc, it is just a timestamp. The fields are available only for items.

    As there can be multiple elements in the model with a given timestamp, additional logic will be necessary to search for a specific item, for example, while reiterating the and find a first point with this timestamp.

    Regarding "itemType" and "element":

    GroupDataModel returns the type "header" for the headers and 'article' for items. This can be replaced by the implementation of the function GroupDataModel::itemType() or declaring a function JavaScript itemType() QML and returning a string different for some (or all) indexPaths. ListView uses a ListItemComponent with corresponding itemType.

  • Apple contact/report a bug in mail beta?

    Hi, I was just wondering if Apple have an email address where I can contact them about bugs in the beta (so they can fix their) or simply a general support email?

    See you soon.

    You have received instructions as to file bugs when registering for the beta program.

    https://beta.Apple.com/SP/betaprogram/FAQ

  • What value is just using development builds (Beta, FDE, every night) If you don't submit bug reports?

    Simply surfing with a version beta (or most recent) version of FF actually do anything for MoCo? I really useless novelties that appear obviously earlier in these channels. In any case, I have a crash report that I submitted on 9 July to my topic: profile breaks down. I have all data with the activated options (choice of Options Options/Advanced/data) and have had all of these options enabled for longer that I can remember. IM wondering if this helps them to make a better browser (or at least confirm that the changes are NOT hurt the performance of the browser), or if they get no advantage out of bug reports.

    It will be really useful if you just use pre-release builds with these functions of data communication on without worrying if you provide a manual feedback. This will allow developers to detect performance regressions or issues of stability with some configurations before they will be available to the general public thanks to publish versions. Thank you!

  • Beta 4 - Momentics IDE seized semiautomatic does not work for Qt classes in the newly created projects?

    After you have uninstalled the Beta 3 Momentics IDE und install the new beta 4, I noticed that the autocompletion of the IDE not working anymore for Qt classes when I create a new project from a template (empty or non-empty). It seems that the IDE cannot find the Qt header files:

    But I can compile the project without problems.

    When I import my old projects created with the Beta 3 of the autocompletion also works for Qt classes. When I compared to them, I noticed that the Makefiles have changed completely.

    Of course I could stay with my old project structure, but the Release Notes for the Beta 4 mention something about the changes in the Qt libraries, pre-compiled headers and so on who might require changes in Beta 3 projects. To avoid problems, I thought I could just create new projects in Beta 4 and re-import my source files for my Beta 3 projects. But I want to keep the autocompletition for Qt classes.

    I guess it's just a problem in files created automatically from the project. Is there a way to remedy?

    Thanks for your replies. The trick to rebuild the index was useful, but does not solve the problem in itself.

    But comparing all files in some of my old projects of Cascades generated in Beta 3 and newly generated in Beta 4, I found that in the Beta 4 project files .cproject, missing several tags that setting the include path for Qt for the IDE headers. Note, I'm not referring to the railways include the settings of the compiler here. Just autocompletion and also the analysis of the code in the IDE has not worked.

    In any case, to solve this problem, I found the following solution:

    There are four instances of these tags in the file .cproject of a Cascades (beta 4) project:

    
    

    Where NNNNN is a number randomly. When I change all these 4 cases to:

    
    

    .. .then they review as they did in the Beta 3 and then refresh the project or restart the IDE autocompletion all started working again for new projects of Beta 4. When I then invoke Index-> reconstruction such as recommended in the other thread also the analysis of the C++ code for the work of syntax errors and semantics again (if you have enabled in the IDE).

    I suppose that these lines could also be included in the model files somewhere in the NDK of BB installation folder, but I didn't fix files it.

    I have submitted a new question here:
    https://www.BlackBerry.com/jira/browse/BBTEN-466

  • Server error Momentics 10.2 on submission of bug NDK

    Try to submit the previous bug using Momentics built in the error report and the returned error is;

    Reason:

    Internal server error

    The server is down or is it something my side? IE firewall

    Can try again you? We had hidden the tools project to simplify the submission of questions, but it seems to block the presentation of the IDE.

Maybe you are looking for