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

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
Details
Assignee
Shitian "Shelton" ZhangShitian "Shelton" Zhang(Deactivated)Reporter
Adam BrandizziAdam BrandizziLabels
Fix Priority
5Git Pull Request
Story Points
6Components
Fix versions
Affects versions
Priority
Medium
Details
Details
Assignee

Reporter

Labels
Fix Priority
Git Pull Request
Story Points
Components
Fix versions
Affects versions
Priority
Zendesk Support
Linked Tickets
Zendesk Support
Linked Tickets
Zendesk Support

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
Add a new, empty page to your portal. Name it "test"
Open Firefox; open the JavaScript console in Firefox.
Access the page passing the parameter
p_p_isolated=1
.For example, if your page is at http://localhost:8080/web/guest/test, access it using the link http://localhost:8080/web/guest/test?js_fast_load=0&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.