Textpattern Forum

You are not logged in. Register | Login | Help

#91 2008-11-25 07:37:52

wet
Developer
From: Lenzing, Austria
Registered: 2005-06-06
Posts: 3,099
Website

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.7

jstubbs wrote:

Robert, not meaning to be pushy, but have you seen my earlier post?

Sure. Are you able to add an additional new image?

Offline

#92 2008-11-25 07:45:11

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,183
Website

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.7

Yes, I am. It took the #id of 696, which is the next in line from what is displayed in the Images tab. However, I think #696 already existed in the folder :-(

In the images folder, I can see images up to #id 773 using Coda. The images open in preview too.


TXP Tips | @txptips | Me | @jonathanstubbs | Github

TXP Builders – finely-crafted code, design and txp @txpbuilders

Offline

#93 2008-11-25 07:54:03

wet
Developer
From: Lenzing, Austria
Registered: 2005-06-06
Posts: 3,099
Website

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.7

Precondition: The content of the /images folder is not the source for the image tab’s list. The image tab’s list is built by reading all entries in the txp_image database table.

So it looks like at one point in time the amount of “recorded” images (kept in the database) and the amount of image files in the folder started to diverge. Are you able to skim over the txp_image table with phpMySQL or a similar tool and verify the content and amount of rows there?

Offline

#94 2008-11-25 07:56:56

jstubbs
Moderator
From: Hong Kong
Registered: 2004-12-13
Posts: 2,183
Website

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.7

Yes Robert, I figured out the same thing. I imported the DB over, but not quite sure what happened with the txp_image table. I will work on it tonight when back from work, and report back. Thanks for your help.


TXP Tips | @txptips | Me | @jonathanstubbs | Github

TXP Builders – finely-crafted code, design and txp @txpbuilders

Offline

#95 2008-11-25 08:01:06

sthmtc
Member
From: CGN, GER
Registered: 2005-01-17
Posts: 586
Website

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.7

wet wrote:

No, but it could be a timing issue.

Thanks for clarifying, Robert. Missed your post. Downloaded and installed 4.0.6 on Nov., 18. (AFAIR)

Offline

#96 2008-11-25 08:10:57

wet
Developer
From: Lenzing, Austria
Registered: 2005-06-06
Posts: 3,099
Website

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.7

sthmtc wrote:

Downloaded and installed 4.0.6 on Nov., 18. (AFAIR)

This explains the symptom: We update development versions’ database structures by comparing some file modification dates to a date which is recorded when the site’s latest installation took place. By installing the older 4.0.6 “too late” the update procedure didn’t run. This would not happen in real life, neither with the final 4.0.7 release nor with an aged “real” 4.0.6 site from earlier this year.

Nothing to worry about.

Offline

#97 2008-11-25 14:04:29

ruud
Developer emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 4,501
Website

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.7

changeset 3016
Filenames should be preserved as much as possible now. It strips potentially harmful or illegal characters, but no longer attempts to create filenames that are free of url-encoded characters (the user can still do this himself by supplying an URL-friendly filename).

Offline

#98 2008-11-25 14:14:26

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 5,836
Website

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.7

ruud wrote:

Filenames should be preserved as much as possible now.

Good move, thanks… except I used that handy sanitizeForFile() function a few times in one of my upcoming plugins, and now the function’s been dropped… dammit!

No bother, I’ll just have to duplicate the regexes you’ve used inline in r3016 instead.

EDIT: unless you fancy putting those two lines inside a new sanitizeForFile() function so we have an official mechanism for dumbing down filenames… :-)

Last edited by Bloke (2008-11-25 16:53:05)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern.

Txp Builders – finely-crafted code, design and Txp

Offline

#99 2008-11-25 16:46:41

funtoosh
Member
From: Münster, Germany
Registered: 2006-10-09
Posts: 70
Website

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.7

… just a little typo in textpattern.css:
fieldset { …
border: 1px solid #ddd;;
}

;~)

Offline

#100 2008-11-25 17:21:57

wet
Developer
From: Lenzing, Austria
Registered: 2005-06-06
Posts: 3,099
Website

Re: Feedback to: Help us test the release candidate for the upcoming 4.0.7

Danke, Welt gerettet.

Offline

Board footer

Powered by FluxBB