ericmckean / living-stories

Automatically exported from code.google.com/p/living-stories
0 stars 0 forks source link

WordPress: Adding an event breaks the code #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install WordPress version of Living Stories
2. Create a new category
3. Assign a content type "event" to the category

What is the expected output? What do you see instead?
Expected: To see the event listed.
Occurred: Sidebar + all content did not display

Please provide additional information if necessary.
Using WordPress 3.0 beta.

Original issue reported on code.google.com by byjoeyba...@gmail.com on 1 May 2010 at 3:06

GoogleCodeExporter commented 9 years ago
I believe this is my problem too, though I'm using WP 2.9.2. The event shows up 
in
the time line, but when I click on the event post, it only shows a headline. 
Every
time I enter something in the excerpt field and update the page, it removes the 
text
from the excerpt field. 

Original comment by smyth...@gmail.com on 2 May 2010 at 9:26

GoogleCodeExporter commented 9 years ago
Hi guys, any chance you could include a screenshot of the page, and include 
some 
details about what fields you filled in on the event?  E.g. Title, Content, 
Excerpt, 
Date, Priority, etc.

Thanks!

Original comment by ericzh...@google.com on 3 May 2010 at 2:22

GoogleCodeExporter commented 9 years ago
Absolutely...Give me a couple of hours so I can take care of some other work, 
and
I'll post it here.

Original comment by smyth...@gmail.com on 3 May 2010 at 2:27

GoogleCodeExporter commented 9 years ago
Thanks Eric!

Fields filled in:
• title
• excerpt
• Body text
• category selected
• Event properties (date + time)
• related elements: selected a narrative + player (have tried w/o as well)

Original comment by byjoeyba...@gmail.com on 3 May 2010 at 3:52

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks.  It looks like the event stream isn't loading at all for you right now, 
which 
may be different from smythers' issue.

Can you do a view->source on the page and post the html as an attachment?

Original comment by ericzh...@google.com on 3 May 2010 at 4:07

GoogleCodeExporter commented 9 years ago
Thank you!

http://snipt.net/joeybaker/living-stories-source

Original comment by byjoeyba...@gmail.com on 3 May 2010 at 5:53

GoogleCodeExporter commented 9 years ago
I believe the problem is located in the Living Stories custom metadata plugin.

I created a living story and created an event that is categorized under that 
Living
Story. For the event I filled in the headline, excerpt, time and date. Then I 
click
"update/publish" -- and when the page refreshes, the excerpt field is blank. 

I deactivated the Living Stories plugin, which removes the "event" field and 
moves
the unlabeled simple body window at the top of the page. If I enter text in that
field, it works. 

Original comment by smyth...@gmail.com on 3 May 2010 at 7:22

Attachments:

GoogleCodeExporter commented 9 years ago
I have uninstalled all my other plugins to make sure they aren't interfering 
with the
Living Stories plugin, and that doesn't appear to change this. I also deleted 
all the
Living Stories plugins, reinstalled them and activated them in order so that 
Magic
Fields was installed before the Living Stories.

I'm not sure why, but the excerpt field is only one line deep now, and it can't 
be
expanded with the icon in the lower right hand corner. The button to show more 
of the
formatting buttons doesn't display the buttons either.

Original comment by smyth...@gmail.com on 3 May 2010 at 11:37

GoogleCodeExporter commented 9 years ago
I tested this on Safari and Chrome, and I thought the problem was Firefox 
because I was able to see the text in 
the excerpt field. However when I went back into Safari and Chrome and tried to 
work on my project, but it loses 
my changes every time I click update.

Original comment by smyth...@gmail.com on 4 May 2010 at 3:03

GoogleCodeExporter commented 9 years ago
@byjoeybaker: AH.  After some debugging with your data, it looks like the issue 
is 
actually a malformed timestamp in the narrative you created: you need to 
include an 
'AM' or 'PM' in that timestamp, otherwise the parsing code throws an exception 
which 
we don't catch.

I'm filing a separate bug about showing an error in the admin console about 
this 
rather than accepting the input and then silently failing.

@smythers: it sounds like your issue is slightly different from this one.  We 
haven't 
seen issues in the admin console with edits not getting saved, so that's a 
strange 
one.  Just to confirm, what version of the TinyMCE excerpt plugin are you 
using?  The 
one from our code tree, or one downloaded from wordpress.org?

Original comment by ericzh...@google.com on 4 May 2010 at 10:35

GoogleCodeExporter commented 9 years ago
FYI: http://code.google.com/p/living-stories/issues/detail?id=10

Original comment by ericzh...@google.com on 4 May 2010 at 10:37

GoogleCodeExporter commented 9 years ago
I'm using the version that was posted on your WP installation page. On the 
plugin
admin page it says it's version 1.31.

Original comment by smyth...@gmail.com on 4 May 2010 at 10:45

GoogleCodeExporter commented 9 years ago
@smythers ok, I've reproduced your issue.  Looks like a regression that was 
introduced 
when we made some changes to how the TinyMCE Excerpt plugin loads.  Working on 
a fix.

Original comment by ericzh...@google.com on 4 May 2010 at 11:20

GoogleCodeExporter commented 9 years ago
@smythers I've disabled the code that moves the excerpt box around; that was 
responsible for causing it to stop working.  Please download the new version of 
the 
living story plugin and give it a shot. (http://wordpress.living-
stories.googlecode.com/hg/living-story-plugin_1_02.zip)

Sorry for the trouble.

Original comment by ericzh...@google.com on 4 May 2010 at 11:42

GoogleCodeExporter commented 9 years ago
Thanks...I downloaded the new living stories plugin and tried it, but it didn't 
work.
Tried it on an existing event and a new one; same thing happened -- page 
refreshed
and content was gone. 

The "kitchen sink" button still doesn't work -- it expands the window but the 
second
row of buttons doesn't appear. I also can't expand the window like I can for the
other ones. Not sure if this helps you track it down.

I'll take another crack at it in the morning and make sure it's not something 
I'm
doing wrong. 

Original comment by smyth...@gmail.com on 5 May 2010 at 2:04

GoogleCodeExporter commented 9 years ago
the kitchen sink and box expansion both work for me, and now that I've removed 
the 
code to move the excerpt box around, nothing else should be interfering with 
the 
tinymce-excerpt plugin.

Is the kitchen sink button broken only for the excerpt box, or for the content 
box as 
well?

A few things to try:
1. Shift-refresh your pages you make sure you're not loading a cached version 
of the 
living stories script
2. Double check that all your plugins have the right permissions (rwxr-xr-x), 
in case 
that's causing some js to fail to load.
3. In the worst case, you can temporarily disable the tinymce-excerpt plugin 
and just 
enter html into the excerpt box for now.

Original comment by ericzh...@google.com on 5 May 2010 at 3:12