Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-05-04 21:51:51

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

r2313: replacing an image loses previously entered values

If you have and existing image uploaded in txp and you have selected the category, alt text, etc… when you replace that image and click upload you lose all those previously entered values. All the form fields are cleard out. This happens in the official 4.0.4 release also.

Offline

#2 2007-05-05 13:25:22

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 699
Website

Re: r2313: replacing an image loses previously entered values

Yes, I pointed to those issues before 4.0.4 release, and I remember developers noted the message (I can’t find it now, but it’s there in the Deep Forum…). So I wonder if this is meant to be a feature. One could think: “If you change the image, probably you also want to change the alt and caption”.

This may be true, but I experienced more replacing different version of the same image (size, quality), than replacing an image with a totally different one. So for me it would be nice to hold the values.

What do you (the devs) think? Any chance?

Z

Offline

#3 2007-05-06 00:02:49

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: r2313: replacing an image loses previously entered values

Fixing this properly means enough changes that might break something (like plugins, for instance), so we’ll have to leave it for crockery.

Offline

#4 2007-05-06 07:58:07

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,088
Website

Re: r2313: replacing an image loses previously entered values

Wet just added a fix to svn that seems to do the trick here.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#5 2007-05-08 08:38:13

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,324
Website Mastodon

Re: r2313: replacing an image loses previously entered values

The forum feed was apparently unstable in the last few days, so I missed this whole thread while I commited the change set mentioned above by a random coincidence. If somebody is aware of a plugin which relies on the previous behaviour, please shout, I will then postpone this change set to crockery.

From a usability POV, I think it’s desirable to keep the meta data upon an image change, as it’s easier to manually zap/overwrite an input field than to retype lost and forgotten descriptions, imho.

Offline

#6 2007-06-25 03:09:44

Logoleptic
Plugin Author
From: Kansas, USA
Registered: 2004-02-29
Posts: 482

Re: r2313: replacing an image loses previously entered values

Any news on whether this might make it into 4.0.5? I’ve been bitten by this bug more than once, and recently had a client experience the same problem.

Offline

#7 2007-06-25 03:23:12

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: r2313: replacing an image loses previously entered values

It looks like it is in the code slated for 4.0.5.

Offline

#8 2007-06-25 03:41:01

Logoleptic
Plugin Author
From: Kansas, USA
Registered: 2004-02-29
Posts: 482

Re: r2313: replacing an image loses previously entered values

Groovy! Thanks for the update, Jeff.

Offline

#9 2007-06-25 05:38:08

tinyfly
Member
From: Dallas, Texas
Registered: 2004-05-10
Posts: 462
Website

Re: r2313: replacing an image loses previously entered values

Sure thing, see the Textpattern Blog. The fix is in this release.

Offline

Board footer

Powered by FluxBB