| Summary: | Truncate empty list items on the Packages site | ||
|---|---|---|---|
| Product: | Community | Reporter: | Edouard Poitras <edouard> |
| Component: | Website | Assignee: | Edouard Poitras <edouard> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| URL: | http://eclipse.org/downloads/packages7 | ||
| Whiteboard: | |||
| Bug Depends on: | |||
| Bug Blocks: | 432352 | ||
Fixed using array_filter() in the parse_nodes.php script. |
The packages site has numerous item lists displayed which have empty elements. This is caused by the splitting of strings when parsing the old packages site data. IE: explode('<br/>', 'old<br/>data<br/>here<br/>') creates an empty element at the end. This needs to be fixed in the import script/parse scripts.