question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Flow-Router] Update Page Administration Broken

See original GitHub issue

Hello Guys, so first I want to thank for that awesome framework.

I am starting with Orion and I am unable to make the administration for a page update working. I precise that I can access normally to the administation and all of the functionnalities, including the page creation and pages listing.

There are no errors in the logs or console in the browser. I am developing on windows 8.1, meteor 1.2.1, tested on chrome 46.0.2490.86 m and firefox 42.0

Here is my (very minimal) code to reproduce the bug :

    orion.pages.addTemplate ({
    layout: 'layout',
    template: 'page',
    name: 'page',
    description: 'page'
    }, {
    content: {
        type: String,
        label: 'description'
    }
});


if (Meteor.isClient) {
    Template.layout.onRendered(function() {
        this.subscribe('pages');
    });
}

if (Meteor.isServer) {

}

My packages :

orionjs:core
aldeed:simple-schema
aldeed:collection2
kadira:flow-router
kadira:blaze-layout
orionjs:pages
orionjs:bootstrap
twbs:bootstrap
fortawesome:fontawesome 

and the result on the admin (update interface not showing the form, sorry cannot embed the picture as it is my first post here)

(everything else is good)

Am I missing something? Thanks!

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:13 (4 by maintainers)

github_iconTop GitHub Comments

5reactions
amoristcommented, Apr 8, 2016

I have one question need ur kind answer, why the Orion page cannot get updated? i can post the page and also can read it But I cannot update it

1reaction
BenjaDevcommented, Jun 16, 2016

+1 same here. First used flow-router, nether updating nor deleting worked. When I wanted to update, no error in console appeared, when I wanted to delete a page, an error appeared There is no route for the path: /admin/pages/delete . Now with iron-router I actually can update a page, but not deleting, no error appears if i try to.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Meteor: Using Flow Router for authentication and permissions
Whenever you change the path, your code won't break. Also notice how easy it is recognise your public routes because of the 'exposed'...
Read more >
Page reload on route change · Issue #65 · kadirahq/flow-router
Hello arunoda, I'm trying to switch from IronRouter to FlowRouter. I am using FlowLayout aswell. Here is my issue. Since there is no...
Read more >
Meteor ReactiveVar not updating template - help
Why reactive var doesn't work and template not getting updated? Here is my routes.js, which are imported only in client.js: import { FlowRouter...
Read more >
How to make FlowRouter wait for users collection on the client
The reason is that FlowRouter triggersEnter is not blocking templates from rendering and it makes checking roles before Roles collections are subscribed.
Read more >
Flow Router - some useful patterns - Blog
As well as redirecting on page load, any sensible app would want to redirect the user to an appropriate route when they log...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found