Replies: 9 comments 3 replies
-
Have you verified that your timezone is set correctly? If not the published date might be UTC and if you are located somewhere else the page might not be public yet |
Beta Was this translation helpful? Give feedback.
-
Good point but no ... it's not a matter of timezones I think :) Here are 2 datasets of alchemy_page_versions:
And that from the alchemy_elements:
You see ... it refers to page_version_id 17 instead of 18 |
Beta Was this translation helpful? Give feedback.
-
elements get copied from one page version to another during publish. not sure what the actual issue is you are describing here. can you provide an example application and show where the actual problem is? what are you trying to do? |
Beta Was this translation helpful? Give feedback.
-
what are |
Beta Was this translation helpful? Give feedback.
-
I only created a page, added an element (article_elements) to the page with some example content and published the page (and off course deleted the cache). At the end the workflow isn't complicated so that I can mess up something very easy ... this isn't the first CMS I use ;-) . The conclusion is, that this should be a bug. Tbh I'm not fully sure how the code works yet. article_elements is a element consisting of a headline, an image and a text. |
Beta Was this translation helpful? Give feedback.
-
Please make sure to join elements over the But you can just use the again. but sure what you are trying to accomplish. since we deployed dozens of production sites that do not have issues in that regard I do not see this as an Alchemy issue. Converting to conversation instead. |
Beta Was this translation helpful? Give feedback.
-
I traced down the querys from the development.log and tried the SQL queries in the dbconsole. |
Beta Was this translation helpful? Give feedback.
-
Can this issue you are describing replicated with a freshly installed Alchemy? Or is it an issue with your local install? In another issue you were describing that you installed alchemy into an existing Rails app that used a different CMS before. Maybe during the install something went off?
Something you could check for is background processing. The publish page job is an active job. Do you have background processing set up? usually in development mode active job is set to run in process, but asynchronous.
just guessing here.
and again. this is more a discussion for the public boards or slack, but not an issue/bug until proven on a fresh install.
we also have a wast test suite ;)
you could also provide a failing test case as well.
|
Beta Was this translation helpful? Give feedback.
-
I've investigated this a bit more. It worked with a fresh installed rails + alchemy. But I'm not sure what's different because. Thx for your comments. I'll investigate it further. Unfortunately I have no slack account and don't want to have one ... I have Github. :-) |
Beta Was this translation helpful? Give feedback.
-
Steps to reproduce
Create a new page and add an element, save and publish everything. The page isn't shown public
Expected behavior
Elements get loaded and shown public
Actual behavior
Nothing is shown
System configuration
I think I've tracked down the problem. On creating a page there is also a page_version been created. After publishing the page a new version is created. The elements in the page unfortunately referencing to the first page_version but not to the published one.
Beta Was this translation helpful? Give feedback.
All reactions