"TypeError: attrCfg is undefined" when passing p_p_isolated argument in query string

Description

The error message "TypeError: attrCfg is undefined" is presented when one access the portal passing 1 as the value to p_p_isolated argument in query string.

Steps to reproduce

  1. Add a new, empty page to your portal. Name it "test"

  2. Open Firefox; open the JavaScript console in Firefox.

  3. Access the page passing the parameter p_p_isolated=1.

Expected results

  • The page will be properly rendered; no error will appear in the console.

Actual results

  • The error message "TypeError: attrCfg is undefined" appears in the console.

    • It happens at line 1020 of file attribute-core.js

  • No JavaScript works in the page.

Activity

Show:

Shitian "Shelton" ZhangSeptember 17, 2014 at 8:04 PM

PASSED Manual Testing following the steps in the description.

Reproduced on:
Tomcat 7.0.42 + MySQL 5.5. Portal master GIT ID: 52ea68b829e4bc5f3737c1cd933c717a0b4f4fb4.

The error message "TypeError: attrCfg is undefined" appears in the console.

Fixed on:
Tomcat 7.0.42 + MySQL 5.5. Portal master GIT ID: a33d242ae66a4be54c56fa131083b62165686195.

No JS errors.

Nate CavanaughJuly 7, 2014 at 9:11 AM

I think there are two options we can use to fix this one:

1. Patch YUI to fix the issue in the widget-htmlparser.js file (I listed some possible fixes in the github issue).
or
2. Modify aui-component's metadata to always include widget-htmlparser as one of it's dependencies (which I believe should fix the issue as well).

Jose BalsasJuly 1, 2014 at 6:45 AM

This is probably a YUI bug. We've been able to reproduce it with this simple example http://jsfiddle.net/jbalsas/mtt9f/.

This has been reported to YUI at https://github.com/yui/yui3/issues/1890

Flagged
Fixed

Details

Assignee

Reporter

Fix Priority

5

Git Pull Request

Story Points

Components

Fix versions

Affects versions

Priority

Zendesk Support

Created June 27, 2014 at 8:11 AM
Updated June 25, 2023 at 10:33 PM
Resolved September 17, 2014 at 4:00 PM
Loading...