List Info

Thread: Why is delete without expire?




Why is delete without expire?
user name
2007-08-23 05:40:14
Hi all!

I want to know opinions of others whether your users are
also confused
that deleted stories are not physically away. For that,
expire is
needed.

My users *are* confused and can not accustom to "expire
+ publish"
before "delete".

Would it make sense to change this behaviour so that
auto-expire
happens when a story is deleted?

Or is there *anyone* who expects a deleted story to be
still
available?

Steffen
-- 
Steffen Schwigon <schwigonwebit.de>
Dresden Perl Mongers <http://dresden-pm.org/>

Deutscher Perl-Workshop <http://www.perl-work
shop.de/>

Re: Why is delete without expire?
user name
2007-08-23 06:33:20
Hi there,

On Do, 2007-08-23 at 12:40 +0200, Steffen Schwigon wrote:
> Hi all!
> 
> I want to know opinions of others whether your users
are also confused
> that deleted stories are not physically away. For that,
expire is
> needed.

For me it was a bit confusing too. But from a technical view
it is
logical. If you delete a story or or element there may still
be another
story/element that depends on it. This could be solved with
something
like foreign key constraints in databases (a user can only
delete an
asset if there are no dependencies left) but until a feature
like this
exists an element can't be physically deleted due to
database integrity.

But from a usability view i'd expect an element to vanish
physicaly if i
click the "delete" button.

Johannes


Re: Why is delete without expire?
user name
2007-08-23 06:59:49
On Thu, 23 Aug 2007, Steffen Schwigon wrote:
> I want to know opinions of others whether your users
are also confused
> that deleted stories are not physically away. For that,
expire is needed.
>
> My users *are* confused and can not accustom to
"expire + publish"
> before "delete".
>
> Would it make sense to change this behaviour so that
auto-expire
> happens when a story is deleted?
>
> Or is there *anyone* who expects a deleted story to be
still
> available?

For what it's worth, I would also expect the story to go
away
from the destination server if I deleted it.
Just like I'd also expect all stories, media, and
subcategories
under a category to be deleted if I deleted that category.
And if I moved a category, all stories, media, and
subcategories
under it should deleted and recreated on the destination
servers.
Also, if I delete an element type, any corresponding element
template
should be deleted and undeployed, and the elements with this
element
type in stories should be deleted from all stories using
it,
and the stories should all be republished or at least put
on
a publish desk.
Ideally, music by Wagner would be loudly playing
while all of this was going on.

Re: Why is delete without expire?
user name
2007-08-23 07:02:48
On Thu, 23 Aug 2007, Steffen Schwigon wrote:
> Would it make sense to change this behaviour so that
auto-expire
> happens when a story is deleted?

In a previous thread on this:
http://marc.info/?l=bricolage-general&m=1
13043335616981&w=2

Re: Why is delete without expire?
user name
2007-08-24 07:03:32
On Aug 23, 2007, at 8:02 AM, Scott Lanning wrote:

> On Thu, 23 Aug 2007, Steffen Schwigon wrote:
>> Would it make sense to change this behaviour so
that auto-expire
>> happens when a story is deleted?
>
> In a previous thread on this:
> http://marc.info/?l=bricolage-general&m=1
13043335616981&w=2

I like the idea of it being an option per David's comments:

"The best practice is to send a patch that adds a
bricolage.conf
directive that would, if enabled, cause the code that
deletes stories
and media to also expire them. "

Personally, I'd like to see them expired when deleted, but I
can  
think of a couple of scenarios where it would also make
sense not to  
do that.

Phillip.

--
Phillip Smith,
Simplifier of Technology
Community Bandwidth



Re: Why is delete without expire?
user name
2007-08-24 07:19:51
Phillip Smith <phillipcommunitybandwidth.ca>
writes:
> On Aug 23, 2007, at 8:02 AM, Scott Lanning wrote:
>
>> On Thu, 23 Aug 2007, Steffen Schwigon wrote:
>>> Would it make sense to change this behaviour so
that auto-expire
>>> happens when a story is deleted?
>>
>> In a previous thread on this:
>> http://marc.info/?l=bricolage-general&m=1
13043335616981&w=2
>
> I like the idea of it being an option per David's
comments:
>
> "The best practice is to send a patch that adds a
bricolage.conf
> directive that would, if enabled, cause the code that
deletes stories
> and media to also expire them. "
>
> Personally, I'd like to see them expired when deleted,
but I can
> think of a couple of scenarios where it would also make
sense not to
> do that.

I would like it optionally, too. Maybe after YAPC::EU I have
a look
whether I find a spot where to patch it.

GreetinX
Steffen 
-- 
Steffen Schwigon <schwigonwebit.de>

[1-6]

about | contact  Other archives ( Real Estate discussion Medical topics )