Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
2.0-beta-5
-
None
-
None
Description
If I update site.xml (e.g. add new menu-items) and regenerate my existing site, the index gets updated but other existing pages are not rebuild and therefore show the menus in the state before the site.xml has changed (so new menus are missing). This causes a confusing site where menus appear and disappear while surfing.
I only use xdos (and they are in a subfolder) so I can not tell if this happens with apt as well. I reproduced the problem with "mvn site" and "mvn site:stage".
As a workaround I can delete the old site before building. Since I stage the site directly to the final destination on the local machine where it is served this is not very suitable because then the site is broken until it is completely rebuild.
If you consider to fix this issue please beware that site.xml can inherit stuff in multiproject envronments.
So it is unclear if the optimization to only re-generate if something has changed makes sense at all. It might be quite complicated to determine this - the question is how much time is saved by this at all.
Attachments
Issue Links
- is duplicated by
-
MSITE-436 regenerate every page when site.xml (direct or parent) is changed
- Closed