Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Upload Column & NULL/NOT NULL Troubles

Quote Reply
Upload Column & NULL/NOT NULL Troubles
Hi,

I think this is a bit of a logic problem.

I add a new field to the Links table - Image - and I set it to NOT NULL because I want every link to have an associated image. If I go to add a new image, it then requires me to upload one. So I add one.

Now, I go to modify the link file. I update the description, because that's all I want to change. But, it won't let me - "because I need to upload an image".

I think the code needs to check when modifying a link - "do I already have an upload?" - yes, don't ask for it. No - ask for it.

It would clean things up a bit.

Cheers,
Regan.
Quote Reply
Re: [ryel01] Upload Column & NULL/NOT NULL Troubles In reply to
Hi Regan,

Can I refer you to the following thread?

http://gossamer-threads.com/...58476=View+Flat+Mode

Cheers,
Aki
Quote Reply
Re: [Aki] Upload Column & NULL/NOT NULL Troubles In reply to
Thanks Ali,

I'll give the fix a go.

Cheers,
Regan.