Page 2 of 7

Re: New Editor Feedback & Bug Reports

PostPosted: Tue Feb 12, 2013 4:56 pm
by Scott
Delete photo seems to delete the entire section on the page?

Re: New Editor Feedback & Bug Reports

PostPosted: Tue Feb 12, 2013 6:22 pm
by Alpinist
Help! I edited my list of Online Gear Stores today and it broke all of the URLs. I pulled up the previous version through the View History link and tried editing it again using the Old Editor but the links are still broken. That's odd because the URLs appear when I'm editing the page but there are no hyperlinks when I save it...

Please let me know how to revert back to the previous version.

http://www.summitpost.org/online-gear-shops-us-canada/256792

Re: New Editor Feedback & Bug Reports

PostPosted: Tue Feb 12, 2013 7:15 pm
by Bob Sihler
Yikes! Whatever was done has made a mess of my page: http://www.summitpost.org/page-workshop/307131

Re: New Editor Feedback & Bug Reports

PostPosted: Tue Feb 12, 2013 7:24 pm
by mrchad9
How is it that your page workshop has 16 votes?

Re: New Editor Feedback & Bug Reports

PostPosted: Tue Feb 12, 2013 7:27 pm
by Bob Sihler
May also have affected this page by another member: http://www.summitpost.org/rattletale-wall/837951

Re: New Editor Feedback & Bug Reports

PostPosted: Tue Feb 12, 2013 7:27 pm
by Bob Sihler
mrchad9 wrote:How is it that your page workshop has 16 votes?


As you once said, asking people not to vote is a sure way to get them to. :wink:

Re: New Editor Feedback & Bug Reports

PostPosted: Tue Feb 12, 2013 7:56 pm
by Bob Sihler
Montana Matt wrote:
Bob Sihler wrote:Yikes! Whatever was done has made a mess of my page: http://www.summitpost.org/page-workshop/307131

That could have been me. I have made some changes to the image insertion code and I was playing around with that page when I did so.

Have you seen other pages with similar issues?


This one: http://www.summitpost.org/rattletale-wall/837951

But he has some code of his own inserted for the huge picture, so that may be the cause, but I doubt he'd have wanted the page to look that way.

Re: New Editor Feedback & Bug Reports

PostPosted: Tue Feb 12, 2013 10:47 pm
by Alpinist
Matt - I looked at the source code while the new editor was open. Here are the first couple of lines of code...

Code: Select all
<TABLE><br />
<table border=1 cellpadding=2><tr bgcolor=lightgrey><td align=left><font color=000066><b>Store Name</b></td><td align=center><font color=000066><b>Location</b></td><td align=center><font color=000066><b>Description</B></tr><tr><td align=left><font color=000066><br />
<br />
<a href=http://www.acmeclimbing.com/>ACME Climbing</a></td><td align=center><font color=000066>Spokane, WA</td><td align=center><font color=000066>Camping, climbing, footwear, snowsports, more</tr><tr><td align=left><font color=000066><br />


I don't see any problem with the URL tags. The only thing that looks different is the adition of "/" in the "<br>" tag. Is that causing the problem?

Is there any downside to just using the old editor? (Will that go away at some point in the future?)

Re: New Editor Feedback & Bug Reports

PostPosted: Wed Feb 13, 2013 12:17 am
by Josh Lewis
Both <br> and </br> should work just fine. Having the slash is completely optional and is 100% harmless.
BTW, that HTML looks sloppy if you ask me. I could see there being problems with it (for example no closing tag for the font).

Re: New Editor Feedback & Bug Reports

PostPosted: Wed Feb 13, 2013 5:43 am
by Josh Lewis
Matt, those images are destroyed. As in non existent in the database (nor is there a photo in the directory). I tested this by playing with the id's and the image sources. You mentioned that the images linked to deleted pages before? So is it possible those images existed as just images without a image page (Example of Image Page)? Perhaps some Spring cleaning took place to remove images that had no pages (removal of "orphan images"). My site has a removal tool for images in the directory without a page attached to it.

What do I mean by image attached to it? Let's pretend the image page example above is deleted but the image is stored in the image file directory. The raw image would still exist, but could not be queried when doing a search, nor voted on, nor a page displaying it. Typically when you delete a image page it deletes the original and such, but sometimes I've seen cases where other sized images lingered.

Re: New Editor Feedback & Bug Reports

PostPosted: Wed Feb 13, 2013 8:43 pm
by Josh Lewis
Montana Matt wrote:
Catamount wrote:(should have read Josh's post above)


Matt Matt... Always trying to figure it out on your own before looking at the evidence folks give you. :wink: It makes your job harder.

Re: New Editor Feedback & Bug Reports

PostPosted: Wed Feb 13, 2013 10:14 pm
by Alpinist
Montana Matt wrote:@Alpinist: Open it up in the new editor and take a look at how the HTML is cleaned up:
Code: Select all
<table border="1" cellpadding="2"><tbody><tr bgcolor="lightgrey"><td align="left"><font color="000066"><b>Store Name</b></font></td><td align="center"><font color="000066"><b>Location</b></font></td><td align="center"><font color="000066"><b>Description</b></font></td></tr><tr><td align="left"><font color="000066"><br>
<br>
<a href="http://www.acmeclimbing.com"></a>ACME Climbing</font></td><td align="center"><font color="000066">Spokane, WA</font></td><td align="center"><font color="000066">Camping, climbing, footwear, snowsports, more</font></td></tr><tr><td align="left"><font color="000066"><br>
<br>
<a href="http://www.alaskamountaineering.com"></a>Alaska Mountaineering and Hiking</font></td><td align="center"><font color="000066">Anchorage, AK</font></td><td align="center"><font color="000066">Camping, climbing, clothing, footwear, snowsports</font></td></tr><tr><td align="left"><font color="000066"><br>
<br>
<a href="http://www.alpenglowgear.com"></a>Alpenglow</font></td><td align="center"><font color="000066">Orono, ME</font></td><td align="center"><font color="000066">Camping, climbing, clothing, footwear, snowsports</font></td></tr><tr><td align="left"><font color="000066"><br>

I'm not sure what is causing the root of the problem because I haven't experimented with it at all. But Josh's guess about the non-closing of the <font> is a good one. As is the fact that none of the hrefs have double quotes around the URL.

Matt/Josh, thanks for your guidance. I got rid of the font tags for each cell and replaced them with the <table color> tag. However, when I added double quotes to the URLs within the table, for some reason it adds "http://www.summitpost.org" to all of the links when you click on them. For example, if you click on REI.com, it takes you to "www.summitpost.org/www.rei.com", which obviously doesn't exist... The quotes work fine for the links at the bottom of the page but not the URLs that are contained in a table.

For now, I omited the quotes for the URLs in the table. That's the only way it seems to work.

Re: New Editor Feedback & Bug Reports

PostPosted: Thu Feb 14, 2013 8:06 pm
by Scott
I am having some serious issues with my trip report!

http://www.summitpost.org/a-return-to-t ... aya/838418

Neither editor works. Please help.

Re: New Editor Feedback & Bug Reports

PostPosted: Thu Feb 14, 2013 8:11 pm
by Scott
Update:

I deleted everything and am starting over from cut and paste. Is there any way to use the old editor without having it add all this extra code stuff while adding photos? Trying to do something simple like add captions ruins the whole reports. If one typo is present it arranges all the photos/text and you can't go back and fix it like you used to.

Re: New Editor Feedback & Bug Reports

PostPosted: Thu Feb 14, 2013 9:17 pm
by Scott
I'm guessing you mean the "new editor" where you say "old editor" in this sentence?


No.

When I go into old editor, I am getting this:

<div align="center" class="image" style="width: 506px;"><a href="/thamserku/833072"><img alt="Thamserku" height="375" width="500" src="/images/medium/833072.JPG"></a>
<span class="caption">Thamserku finally breaks through the clouds.</span></div>

Instead of this:

[img:833073:aligncenter:medium:Sunset on Ama Dablam from Tengboche.]

I'm guessing that once you use the new editor once, it reverts everything to the former, even when using the old editor.

I need a little more information Scott and, preferably, an example of the problem. I've not had any problems adding captions.


I should have screen shot it, but I'll explain the best I can. I was going to leave it the way it was to get some help fixing, but I just ended up reposting everything.

Something I did in the new editor (and I don't know what) caused the entire rest of the trip report to show up as a photo caption. I went in to try and edit this and when I couldn't figure it out, it deleted the photo. In turn, rather than keeping all the photos in their proper sections, it shifted all of them into the next section up.

In the past, the old editor, the same thing would happen if there was an invalid photo id (typo) in one of the image tags, i.e., [img:833073:aligncenter:medium:]. Once the image tag was fixed in the old system, all photos would then display in their proper locations (this is what I meant by I couldn't go back and fix it like I used to be able to do). This time, using the new editor, the shift took place (from whatever I did) and even when I reverted back to the old editor, it physically moved all the photos into the wrong section.

I tried to cut and paste them into the proper sections (old editor), but something was causing most of the report to show up as a photo caption. I couldn't see anything different in the long code that caused this, so I dumped all the photos and copy/pasted much of the text and started over.

Does that explain anything? Sorry I didn't screen shot it. Any idea what happened (whatever initially happened, it did so when I was trying to add a photo caption)?

Thanks Matt.