Location: Open Issues

Discussion: getCellChildren returning 'none'Reported This is a featured thread

Showing 2 posts

mattkaufman
getCellChildren returning 'none'
Oct 26 2008, 9:27 PM EDT | Post edited: Oct 26 2008, 9:27 PM EDT
The getCellChildren call returns "Subpages: None", but the getNavigation call shows that the cell does indeed have children. Does anyone know a possible reason for this discrepancy? 1  out of 1 found this valuable. Do you?    
Keyword tags: getCellChildren
boe_wetpaint
boe_wetpaint
1. RE: getCellChildren returning 'none'
Oct 30 2008, 5:58 PM EDT | Post edited: Oct 30 2008, 5:58 PM EDT
Hello Matt,

I believe this is a bug.

When I call http://wapi.wetpaint.com/CellService/getCellChildren.do?key=93ff5d49900eae9c88ec567d604f9b0c3a54003f3a4c50e37b784424d4961acf&ns=wp-injected-440bd500d3e5cd8ce4c7e40513e83acccb003de7&cell.cellId=parent-wpi-cell, it appears as though cell "parent-wpi-cell" does not have a parent. However, if I make this same call, and set "&output=api" to get structured XML, then the child cell appears!

I have filed a bug report on this (WTG-783). Thanks for finding this! As a workaround, try changing the call to http://wapi.wetpaint.com/CellService/getCellChildren.do?key=93ff5d49900eae9c88ec567d604f9b0c3a54003f3a4c50e37b784424d4961acf&ns=wp-injected-440bd500d3e5cd8ce4c7e40513e83acccb003de7&cell.cellId=parent-wpi-cell&output=api, which returns the expected XML.

Thanks for finding this!


boe_wetpaint
Do you find this valuable?