getPageID returns not the pageID
Looks like it is returning a non-existant variable. A unit test would be nice to prevent that as well.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Looks like it is returning a non-existant variable. A unit test would be nice to prevent that as well.