Posted by
David E. Jones on
Mar 21, 2006; 4:25pm
URL: http://ofbiz.116.s1.nabble.com/Users-VOTE-userinterface-consistency-tp138005p138006.html
-1
In general I don't think any pattern or rule should be applied without consideration of the specific circumstance. Not ever. It's difficult to write any generality that is effective in most cases, and impossible to write one that is always effective.
For this specific general rule there may be cases where an assumed fromDate is just too much of an assumption and could cause problems when users are not paying attention.
As a bit of background the code that started this discussion is the safeAddProductToCategory which is a service that calls the same code as the addProductToCategory service, but it has a different service definition that requires the fromDate. The reason this "safe" service definition was added was to avoid cases in production deployments of OFBiz where products go live on a site accidentally.
If the current consensus is that we don't care about this particular case, then that's fine, let's change it.
Creating a general rule or pattern through voting without discussion in advance is something that I can't see being a good idea, as a general rule.... ;)
-David
Hans Bakker wrote:
> OFBiz users,
>
> When I was demo-ing the system to a potential customer i ran into a case where
> the startdate needed to be specified to be able the add a child category to a
> parent category although in general in the system the start date is filled
> with todays date if not supplied.
>
> So the question is, in the standard system should we have this principle of:
> "filling the startdate with todays date if not supplied" applied to
> everywhere?
>
> please let me know by the apache voting method +1 0 -1 if you have an opinion
> on this.
>
> The reason the date is mandatory here was that it shouldn't be to 'easy' to
> add a child category to a parent category...
>
> obviously i would like to vote too: +1
>
>
>
> ------------------------------------------------------------------------
>
>
> _______________________________________________
> Users mailing list
>
[hidden email]
>
http://lists.ofbiz.org/mailman/listinfo/users
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users