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.

Add documentation for page creation/import worklfow

See original GitHub issue

If someone tries to simply update a field on a page and save it like this:

page.field = value
page.save()

then it appears to work but only the live page will be updated and the editor will show the last revision that doesn’t have the most recent changes. So if I’m not mistaken this should be the following instead:

page.field = value
page.save_revision().publish()

And we should note that this doesn’t take into account unpublished pages, and published pages with unpublished content.

Issue Analytics

  • State:open
  • Created 8 years ago
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
balazs-endreszcommented, May 26, 2015

It’s not ready for a PR but just to give it some structure I’ve created a draft document outlining these issues: https://docs.google.com/document/d/1nd2PugY2g1-Fsw4dHnGrUvMQQuERtvueiu2cO3wulaM/edit

I’ll try to add some concrete examples later on but I’m not really sure about quite a few points there. And I think it would be nice to have this as a separate section in the docs too.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Importing a Workflow - Commvault Documentation
The Workflows page appears. In the upper-right corner of the page, from the All tasks list, select Import Workflow. Select the workflow file ......
Read more >
How to Create Workflows from Workflow Templates
To create a workflow from a workflow template · Choose the Lightbulb that opens the Tell Me feature. · Choose the New Workflow...
Read more >
Use a Document Generation Template to Start a Workflow
Click Admin at the top of the page. · Click Document Generation in the sidebar. · Click the Add Configuration button. · Enter...
Read more >
Importing / Exporting Projects and Workflows - Tray.io
1 - Create a demo project in the Destination account · 2 - Export the Destination account project · 3 - Open Source...
Read more >
Creating workflow templates to import data | Adobe Campaign
Create a new workflow template from Resources > Templates > Workflow templates. Add the following activities: Load file: Define the expected ...
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