orionjs / orioncms

[Old] Orion is an open source framework built on Meteor that makes complex as well as simple apps possible with minimal effort.
http://orionjs.org
MIT License
715 stars 129 forks source link

Pages can't update and del #405

Open amorist opened 8 years ago

amorist commented 8 years ago

why the Orion page cannot get updated?i can post the page and also can read it,but I cannot update it my code:

orion.pages.addTemplate({
    //layout: 'layout',
    template: 'pagesSimple',
    name: 'Simple',
    description: 'Simple template'
}, {
    content: orion.attribute('summernote', {
        label: 'Content'
    }),
    title: {
        type: String,
        label: "Title"
    }
})
orion.pages.addTemplate({
    template: 'pagesDefault',
    name: 'Default',
    description: 'defaultPage'
}, {
    content: orion.attribute('summernote', {
        label: 'Content'
    })
})

my packages versions:

accounts-base@1.2.5
accounts-password@1.1.7
aldeed:autoform@5.8.1
aldeed:collection2@2.9.1
aldeed:collection2-core@1.1.1
aldeed:schema-deny@1.0.1
aldeed:schema-index@1.0.1
aldeed:simple-schema@1.5.3
aldeed:tabular@1.6.1
allow-deny@1.0.3
anti:i18n@0.4.3
autoupdate@1.2.7
babel-compiler@6.6.1
babel-runtime@0.1.7
base64@1.0.7
binary-heap@1.0.7
blaze@2.1.6
blaze-html-templates@1.0.3
blaze-tools@1.0.7
boilerplate-generator@1.0.7
caching-compiler@1.0.3
caching-html-compiler@1.0.5
callback-hook@1.0.7
check@1.1.3
coffeescript@1.0.16
dburles:collection-helpers@1.0.4
dburles:mongo-collection-instances@0.3.5
ddp@1.2.4
ddp-client@1.2.4
ddp-common@1.2.4
ddp-rate-limiter@1.0.3
ddp-server@1.2.5
deps@1.0.11
diff-sequence@1.0.4
ecmascript@0.4.2
ecmascript-runtime@0.2.9
ejson@1.0.10
email@1.0.11
es5-shim@4.5.9
fastclick@1.0.10
fortawesome:fontawesome@4.5.0
geojson-utils@1.0.7
hot-code-push@1.0.3
html-tools@1.0.8
htmljs@1.0.8
http@1.1.4
id-map@1.0.6
jquery@1.11.7
kadira:blaze-layout@2.3.0
kadira:flow-router@2.11.0
lai:collection-extensions@0.2.1_1
launch-screen@1.0.10
less@2.5.7
livedata@1.0.17
localstorage@1.0.8
logging@1.0.11
matb33:collection-hooks@0.8.1
mdg:validation-error@0.5.1
meteor@1.1.13
meteor-base@1.0.3
meteor-platform@1.2.5
meteorhacks:inject-initial@1.0.4
meteortoys:toykit@2.2.1
minifier-css@1.1.10
minifier-js@1.1.10
minimongo@1.0.13
mobile-experience@1.0.3
mobile-status-bar@1.0.11
modules@0.5.2
modules-runtime@0.6.2
momentjs:moment@2.12.0
mongo@1.1.6
mongo-id@1.0.3
msavin:mongol@1.6.2
nicolaslopezj:options@1.0.1
nicolaslopezj:reactive-templates@1.2.1
nicolaslopezj:roles@2.1.2
nicolaslopezj:router-layer@0.0.11
npm-bcrypt@0.7.8_2
npm-mongo@1.4.42
observe-sequence@1.0.10
ordered-dict@1.0.6
orionjs:accounts@1.8.1
orionjs:attributes@1.8.0
orionjs:base@1.8.0
orionjs:bootstrap@1.8.0
orionjs:collections@1.8.0
orionjs:config@1.8.0
orionjs:core@1.8.0
orionjs:dictionary@1.8.0
orionjs:file-attribute@1.8.0
orionjs:filesystem@1.8.0
orionjs:image-attribute@1.8.0
orionjs:lang-en@1.8.0
orionjs:pages@1.8.0
orionjs:summernote@1.8.0
promise@0.6.6
raix:eventemitter@0.1.3
random@1.0.8
rate-limit@1.0.3
reactive-dict@1.1.6
reactive-var@1.0.8
reload@1.1.7
retry@1.0.6
routepolicy@1.0.9
rwatts:orionjs-dashboard@0.1.3
service-configuration@1.0.8
session@1.1.4
sha@1.0.6
softwarerero:accounts-t9n@1.3.3
spacebars@1.0.10
spacebars-compiler@1.0.10
srp@1.0.7
standard-minifier-css@1.0.5
standard-minifier-js@1.0.5
standard-minifiers@1.0.5
summernote:standalone@0.6.16
templating@1.1.8
templating-tools@1.0.3
tmeasday:publish-counts@0.7.3
tracker@1.0.12
twbs:bootstrap@3.3.6
ui@1.0.10
underscore@1.0.7
url@1.0.8
useraccounts:bootstrap@1.13.1
useraccounts:core@1.13.1
vsivsi:file-collection@1.3.3
vsivsi:orion-file-collection@0.2.4
webapp@1.2.7
webapp-hashing@1.0.8

my pic: screen shot 2016-04-08 at 3 19 38 pm screen shot 2016-04-08 at 3 18 38 pm

masca88 commented 8 years ago

+1

deepupathak commented 7 years ago

I have got the same error.

lleoooell commented 7 years ago

+1