|
ticket id 000031 |
status resolved |
priority high ★★★ |
assigned to Yuri |
Reported by: mmburke Component: saci |
Problem
The sputnik rock comes with default version of all "system" nodes, stored as modules. For instance:
http://gitorious.org/projects/sputnik/repos/mainline/blobs/master/sputnik/lua/sputnik/node_defaults/_history.lua
When you run Sputnik and those nodes are needed, they are saved as nodes. For instance, when you have installed Sputnik but haven't run it yet, your "wiki-data" directory would be empty. However, the moment you Sputnik for the first time, it will get populated with nodes such as "_config", "@Root", etc. (Note that _history won't be there until you try to access _history through the wiki.) Those are taken from modules in the rock, e.g.:
rocks/sputnik/8.01.01-0/lua/sputnik/node_defaults/_config.lua
The catch is this: Sputnik 8.02.20 may expect certain information from those "system" nodes, which Sputnik 8.01.01 didn't. So we make changes to the defaults, e.g.:
http://gitorious.org/projects/sputnik/repos/mainline/trees/master/sputnik/lua/sputnik/node_defaults
This makes sure that a fresh install of 8.02.20 runs. However, if you already have those "system" nodes in your wiki-data directory, then the default nodes are not copied. So, you have new code trying to make sense of old nodes.
Resolution
fixed
Extended "NOCREATE" behavior to all nodes by default.