敏捷中央示例应用失败 [英] Agile Central example app failing

查看:95
本文介绍了敏捷中央示例应用失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

按照此处列出的说明进行操作后,我收到了Google Chrome开发人员工具中出现以下错误:

After following the directions listed here , I received the following error in Google Chrome's Developer Tools:

sdk-debug.js:147611 Error: success callback for Deferred transformed result of Deferred transformed result of Deferred threw: TypeError: Cannot read property 'project' of undefined
at Ext.define.getFullyQualifiedName (sdk-debug.js:163998)
at Ext.define.build (sdk-debug.js:164052)
at Ext.define.buildCompositeArtifact (sdk-debug.js:164152)
at Ext.define.getModel (sdk-debug.js:196664)
at Ext.define._buildColumnsFromModel (sdk-debug.js:196985)
at Ext.define._parseColumns (sdk-debug.js:196977)
at sdk-debug.js:146417
at Ext.define.notify (sdk-debug.js:146514)
at Ext.define.register (sdk-debug.js:146481)
at Ext.define.then (sdk-debug.js:146299)

我的订阅已启用JSONP,并且我已经收到消息以读出到我的控制台上。另外,我已经获得了可以成功响应请求的Web服务。这是我的新手。这种应该有效,但是没有。

JSONP is enabled on my subscription, and I have gotten messages to read out onto my console. Also, I have gotten web-services to successfully respond to requests. This one here is new to me. This "should" work, but it doesn't. Is this a bug with the example itself?

我实现的示例的完整源代码为此处

The full source-code of the example as I've implemented it is here.

推荐答案

哇,真尴尬。这绝对是Rally.ui.cardboard.CardBoard组件的错误。从好的方面来说,您可以通过在示例代码中简单地包含当前上下文来解决此问题。

Wow, how embarrassing. This is definitely a bug with the Rally.ui.cardboard.CardBoard component. On the plus side, you can work around it by simply including the current context in your example code.

var cardBoardConfig = {
    xtype: 'rallycardboard',
    types: ['Defect', 'User Story'],
    attribute: 'ScheduleState',

    context: this.getContext(), //<-- NEW CODE HERE

    storeConfig: {
        filters: [this.iterationCombobox.getQueryFromSelected()]
    }
};

通常情况下,最好还是为所有组件提供当前上下文,但是所有组件也应

It is generally good practice to provide the current context to all components anyway, but all components should also be smart enough to just use the default if it is not specified.

我将提出一个缺陷,以修复纸板组件以正确使用默认上下文,并修复该缺陷。该示例也显式传递上下文。感谢您报告此问题,也很抱歉造成麻烦!

I will file a defect to fix the card board component to use the default context correctly and to also fix the example to explicitly pass the context as well. Thanks for reporting this issue and sorry for the trouble!

这篇关于敏捷中央示例应用失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆