Ticket #8195 (closed Bug: fixed)
plone.app.contentmenu bad generated id (bad XML syntax)
| Reported by: | dmunicio | Owned by: | garbas |
|---|---|---|---|
| Priority: | minor | Milestone: | 3.3 |
| Component: | Infrastructure | Keywords: | newbie |
| Cc: |
Description
There are some id attributes like "_advanced", "_folderChangeDefaultPage", etc. that are non XML syntax compliant (an id attribute should not start with and underscore).
You can see it easily with HTML Validator (Firefox plugin) when logged in Plone 3.0.6
I attach monkey patch. I could not find any feature that relies on these ids, so it seems to be safe.
Thanks
Attachments
Change History
Changed 4 years ago by dmunicio
-
attachment
Patches.py
added
comment:1 Changed 4 years ago by limi
- Owner limi deleted
- Component changed from Accessibility to Infrastructure
I'll let the infrastructure people evaluate this.
comment:2 Changed 4 years ago by hannosch
- Keywords newbie added; contentmenu xml syntax removed
The monkey patch isn't very readable, but the ticket description is clear enough.
Eliminate all ids starting with an underscore and test that all behavior is still working fine (or grep for those ids in the codebase).
comment:4 Changed 3 years ago by garbas
- Status changed from assigned to closed
- Resolution set to fixed
removed ids with underscore in front od them. grep for those ids if there apear somewhere else
comment:5 Changed 3 years ago by garbas
- Status changed from closed to reopened
- Resolution fixed deleted
open it to close it with commit
from #plone-tuneup: 21:04 < DigitalD> garbas: if you mention the ticket number in the form of (fixes #ticketnum) in your svn commit the tracker will automatically close the ticket
comment:6 Changed 3 years ago by garbas
valid patches are:
- 31branch_plone.app.contentmenu_8195.patch
- 31branch_CMFPlone_fix_8195.patch
this is done for 3.1 branch (trunk comming in few minutes)
comment:7 Changed 3 years ago by claytron
- Status changed from reopened to new
- Owner changed from claytron to garbas
comment:8 Changed 3 years ago by garbas
valid patches for plone trunk are:
- trunk_Products.CMFPlone_fix.patch
- trunk_plone.app.contentmenu_fix.patch

plone.app.contentmenu monkey patch