StateList

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
18 messages Options
Reply | Threaded
Open this post in threaded view
|

StateList

R. S.
Hi,
I changed the method "getStateList" in the file "CommonWorkers.java"

from: EntityCondition condition =
EntityCondition.makeCondition(EntityOperator.OR,
                EntityCondition.makeCondition("geoTypeId", "STATE"),
EntityCondition.makeCondition("geoTypeId", "PROVINCE"),
                EntityCondition.makeCondition("geoTypeId", "TERRITORY"));

to: EntityCondition condition =
EntityCondition.makeCondition(EntityOperator.AND,
                EntityCondition.makeCondition("geoTypeId", "STATE"), new
EntityExpr("geoId", EntityOperator.LIKE, "DE-%"));

It works fine and shows me all the 16 German states. But during the
build process I get a following warning:

classes:
  [javac15] Compiling 1 source file to
/home/.../ofbiz-9.04/framework/common/build/classes
  [javac15]
/home/.../ofbiz-9.04/framework/common/src/org/ofbiz/common/CommonWorkers.java:72:
warning: [deprecation]
EntityExpr(java.lang.String,org.ofbiz.entity.condition.EntityComparisonOperator,java.lang.Object)
in org.ofbiz.entity.condition.EntityExpr has been deprecated
  [javac15]                 EntityCondition.makeCondition("geoTypeId",
"STATE"), new EntityExpr("geoId", EntityOperator.LIKE, "DE-%"));
 
[javac15]                                                                      
^
  [javac15] 1 warning

My question is, what is the best Method to search and present things
like the 16 states to user. Like I did or to search for all states
(there are approximately 170) and then to filter the things I need in
the ftl?

Regards,
Rudolf
Reply | Threaded
Open this post in threaded view
|

Re: StateList

Atul Vani
Hi R.S.,

using this method "getAssociatedStateList()" should be appropriate
from the "CommonWorkers.java"

but seem like there's no supporting data of German States is present either.

So, you will need to Edit ofbiz_trunk/framework/common/dataGeoData_DE.xml
and add entries like below for each State
     <GeoAssoc geoId="DE" geoIdTo="DE-BW" geoAssocTypeId="REGIONS"/>
     <GeoAssoc geoId="DE" geoIdTo="DE-BY" geoAssocTypeId="REGIONS"/>

--
Thanks & Regards
Atul Vani
Enterprise Software Developer
HotWax Media Pvt. Ltd.
http://www.hotwaxmedia.com/
We are the Global Leaders in Apache OFBiz, Google 'ofbiz' and see for yourself.


R. S. wrote:

> Hi,
> I changed the method "getStateList" in the file "CommonWorkers.java"
>
> from: EntityCondition condition =
> EntityCondition.makeCondition(EntityOperator.OR,
>                EntityCondition.makeCondition("geoTypeId", "STATE"),
> EntityCondition.makeCondition("geoTypeId", "PROVINCE"),
>                EntityCondition.makeCondition("geoTypeId", "TERRITORY"));
>
> to: EntityCondition condition =
> EntityCondition.makeCondition(EntityOperator.AND,
>                EntityCondition.makeCondition("geoTypeId", "STATE"),
> new EntityExpr("geoId", EntityOperator.LIKE, "DE-%"));
>
> It works fine and shows me all the 16 German states. But during the
> build process I get a following warning:
>
> classes:
>  [javac15] Compiling 1 source file to
> /home/.../ofbiz-9.04/framework/common/build/classes
>  [javac15]
> /home/.../ofbiz-9.04/framework/common/src/org/ofbiz/common/CommonWorkers.java:72:
> warning: [deprecation]
> EntityExpr(java.lang.String,org.ofbiz.entity.condition.EntityComparisonOperator,java.lang.Object)
> in org.ofbiz.entity.condition.EntityExpr has been deprecated
>  [javac15]                 EntityCondition.makeCondition("geoTypeId",
> "STATE"), new EntityExpr("geoId", EntityOperator.LIKE, "DE-%"));
>  
> [javac15]                                                                      
> ^
>  [javac15] 1 warning
>
> My question is, what is the best Method to search and present things
> like the 16 states to user. Like I did or to search for all states
> (there are approximately 170) and then to filter the things I need in
> the ftl?
>
> Regards,
> Rudolf
Reply | Threaded
Open this post in threaded view
|

Re: StateList

R. S.
Thank You Atul,
I saw that the method "getAssociatedStateList()" doesn`t support German
states and that is the reason I asked.
The entries are already in the "dataGeoData_DE.xml" file. It seems that
"getAssociatedStateList()" use the "GeoAssocAndGeoTo" View Entity
and I don't know why the German States are not in this View Entity. Is
it possible to change this to show the German States in this View Entity
too? Temporally I did this in
"framework/common/webcommon/includes/states.ftl" :

<#assign states =
Static["org.ofbiz.common.CommonWorkers"].getStateList(delegator)>
<#list states as state>
    <#if '${state.geoId}'?starts_with("DE-")>
        <option
value='${state.geoId}'>${state.geoName?default(state.geoId)}</option>
    </#if>
</#list>

Regards
Rudolf




Atul Vani schrieb:

> Hi R.S.,
>
> using this method "getAssociatedStateList()" should be appropriate
> from the "CommonWorkers.java"
>
> but seem like there's no supporting data of German States is present
> either.
>
> So, you will need to Edit ofbiz_trunk/framework/common/dataGeoData_DE.xml
> and add entries like below for each State
>     <GeoAssoc geoId="DE" geoIdTo="DE-BW" geoAssocTypeId="REGIONS"/>
>     <GeoAssoc geoId="DE" geoIdTo="DE-BY" geoAssocTypeId="REGIONS"/>
>
Reply | Threaded
Open this post in threaded view
|

Re: StateList

Atul Vani
Hi R.S.,

When you will add the data mentioned
and re-install the data (or you can also use webtools' import facility),
the view entity will get populated automatically :)

--
Thanks & Regards
Atul Vani
Enterprise Software Developer
HotWax Media Pvt. Ltd.
http://www.hotwaxmedia.com/
We are the Global Leaders in Apache OFBiz, Google 'ofbiz' and see for yourself.


R. S. wrote:

> Thank You Atul,
> I saw that the method "getAssociatedStateList()" doesn`t support
> German states and that is the reason I asked.
> The entries are already in the "dataGeoData_DE.xml" file. It seems
> that "getAssociatedStateList()" use the "GeoAssocAndGeoTo" View Entity
> and I don't know why the German States are not in this View Entity. Is
> it possible to change this to show the German States in this View
> Entity too? Temporally I did this in
> "framework/common/webcommon/includes/states.ftl" :
>
> <#assign states =
> Static["org.ofbiz.common.CommonWorkers"].getStateList(delegator)>
> <#list states as state>
>    <#if '${state.geoId}'?starts_with("DE-")>
>        <option
> value='${state.geoId}'>${state.geoName?default(state.geoId)}</option>
>    </#if>
> </#list>
>
> Regards
> Rudolf
>
>
>
>
> Atul Vani schrieb:
>> Hi R.S.,
>>
>> using this method "getAssociatedStateList()" should be appropriate
>> from the "CommonWorkers.java"
>>
>> but seem like there's no supporting data of German States is present
>> either.
>>
>> So, you will need to Edit
>> ofbiz_trunk/framework/common/dataGeoData_DE.xml
>> and add entries like below for each State
>>     <GeoAssoc geoId="DE" geoIdTo="DE-BW" geoAssocTypeId="REGIONS"/>
>>     <GeoAssoc geoId="DE" geoIdTo="DE-BY" geoAssocTypeId="REGIONS"/>
>>
Reply | Threaded
Open this post in threaded view
|

Re: StateList

R. S.
Thank you Atul,
sorry I don't have your mail read correctly. Now I know what you meant :-)

Best Regards,
Rudolf



Atul Vani schrieb:
> Hi R.S.,
>
> When you will add the data mentioned
> and re-install the data (or you can also use webtools' import facility),
> the view entity will get populated automatically :)
>
Reply | Threaded
Open this post in threaded view
|

Re: StateList

Atul Vani
Hi All,

I wonder if the problem R.S. faced was actually a bug or done so
intentionally. If it's a mistake I would like to provide a patch and get
it fixed. Please share you opinions.

--
Thanks & Regards
Atul Vani
Enterprise Software Developer
HotWax Media Pvt. Ltd.
http://www.hotwaxmedia.com/
We are the Global Leaders in Apache OFBiz, Google 'ofbiz' and see for yourself.


R. S. wrote:

> Thank you Atul,
> sorry I don't have your mail read correctly. Now I know what you meant
> :-)
>
> Best Regards,
> Rudolf
>
>
>
> Atul Vani schrieb:
>> Hi R.S.,
>>
>> When you will add the data mentioned
>> and re-install the data (or you can also use webtools' import facility),
>> the view entity will get populated automatically :)
>>
Reply | Threaded
Open this post in threaded view
|

Re: StateList

R. S.
IMHO the Entity View uses an inner join and that is one of the reasons
why all the 16 German states doesn't appear in this view.
After I added <GeoAssoc geoId="DE" geoIdTo="DE-BW"
geoAssocTypeId="REGIONS"/> (and other 15 states) to the
"/framework/common/dataGeoData_DE.xml", rebuild and restart the server,
nothing happend in the "GeoAssocAndGeoTo" Entity View. To do an outer
join with "rel-optional="true"" brought also nothing. I don't know if it
is a bug or my disability :-) Maybe I make something wrong.
The other question is, why I get a deprecated warning after I add this

    "EntityCondition.makeCondition("geoTypeId", "STATE"), new
EntityExpr("geoId", EntityOperator.LIKE, "DE-%"));"

to CommonWorkers.java

Best Regards,
Rudolf


Atul Vani schrieb:
> Hi All,
>
> I wonder if the problem R.S. faced was actually a bug or done so
> intentionally. If it's a mistake I would like to provide a patch and
> get it fixed. Please share you opinions.
>
Reply | Threaded
Open this post in threaded view
|

Re: StateList

Atul Vani
Hi R.S.,

The deprecated warning is coz of "EntityExpr" you can use
"EntityCondition" instead.

About GeoAssocAndGeoTo, rel-optional is not something that would be of
help here. and with just the data loaded properly it should show up.

I tried it on demo-stable server and it works for me. you can verify it
from
https://demo-stable.ofbiz.apache.org:8443/webtools/control/FindGeneric?entityName=GeoAssocAndGeoTo


just in case, if you need steps,
1. goto https://localhost:8443/webtools/control/EntityImport
2. paste the data below and hit 'Import Text button.

     <GeoAssoc geoId="DE" geoIdTo="DE-BW" geoAssocTypeId="REGIONS"/>
     <GeoAssoc geoId="DE" geoIdTo="DE-BY" geoAssocTypeId="REGIONS"/>
     <GeoAssoc geoId="DE" geoIdTo="DE-BE" geoAssocTypeId="REGIONS"/>
     <GeoAssoc geoId="DE" geoIdTo="DE-BR" geoAssocTypeId="REGIONS"/>
     <GeoAssoc geoId="DE" geoIdTo="DE-HB" geoAssocTypeId="REGIONS"/>
     <GeoAssoc geoId="DE" geoIdTo="DE-HH" geoAssocTypeId="REGIONS"/>
     <GeoAssoc geoId="DE" geoIdTo="DE-HE" geoAssocTypeId="REGIONS"/>
     <GeoAssoc geoId="DE" geoIdTo="DE-MV" geoAssocTypeId="REGIONS"/>
     <GeoAssoc geoId="DE" geoIdTo="DE-NI" geoAssocTypeId="REGIONS"/>
     <GeoAssoc geoId="DE" geoIdTo="DE-NW" geoAssocTypeId="REGIONS"/>
     <GeoAssoc geoId="DE" geoIdTo="DE-RP" geoAssocTypeId="REGIONS"/>
     <GeoAssoc geoId="DE" geoIdTo="DE-SL" geoAssocTypeId="REGIONS"/>
     <GeoAssoc geoId="DE" geoIdTo="DE-SH" geoAssocTypeId="REGIONS"/>
     <GeoAssoc geoId="DE" geoIdTo="DE-SN" geoAssocTypeId="REGIONS"/>
     <GeoAssoc geoId="DE" geoIdTo="DE-SA" geoAssocTypeId="REGIONS"/>
     <GeoAssoc geoId="DE" geoIdTo="DE-TH" geoAssocTypeId="REGIONS"/>

3. verify the data from
https://localhost:8443/webtools/control/FindGeneric?entityName=GeoAssocAndGeoTo

--
Thanks & Regards
Atul Vani
Enterprise Software Developer
HotWax Media Pvt. Ltd.
http://www.hotwaxmedia.com/
We are the Global Leaders in Apache OFBiz, Google 'ofbiz' and see for yourself.


R. S. wrote:

> IMHO the Entity View uses an inner join and that is one of the reasons
> why all the 16 German states doesn't appear in this view.
> After I added <GeoAssoc geoId="DE" geoIdTo="DE-BW"
> geoAssocTypeId="REGIONS"/> (and other 15 states) to the
> "/framework/common/dataGeoData_DE.xml", rebuild and restart the
> server, nothing happend in the "GeoAssocAndGeoTo" Entity View. To do
> an outer join with "rel-optional="true"" brought also nothing. I don't
> know if it is a bug or my disability :-) Maybe I make something wrong.
> The other question is, why I get a deprecated warning after I add this
>
>    "EntityCondition.makeCondition("geoTypeId", "STATE"), new
> EntityExpr("geoId", EntityOperator.LIKE, "DE-%"));"
>
> to CommonWorkers.java
>
> Best Regards,
> Rudolf
>
>
> Atul Vani schrieb:
>> Hi All,
>>
>> I wonder if the problem R.S. faced was actually a bug or done so
>> intentionally. If it's a mistake I would like to provide a patch and
>> get it fixed. Please share you opinions.
>>
Reply | Threaded
Open this post in threaded view
|

Re: StateList

R. S.
Thank You, that works great. But what about the lines I added to the
"dataGeoData_DE.xml" file? Will they only be loaded when I run an
installation again?

The link
https://demo-stable.ofbiz.apache.org:8443/webtools/control/FindGeneric?entityName=GeoAssocAndGeoTo

causes an error like

org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
[component://webtools/widget/EntityScreens.xml#FindGeneric]:
org.ofbiz.base.util.GeneralException: Error running Groovy script at
location
[component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.groovy]
(  ............

Best Regards,
Rudolf


Atul Vani schrieb:

> Hi R.S.,
>
> The deprecated warning is coz of "EntityExpr" you can use
> "EntityCondition" instead.
>
> About GeoAssocAndGeoTo, rel-optional is not something that would be of
> help here. and with just the data loaded properly it should show up.
>
> I tried it on demo-stable server and it works for me. you can verify
> it from
> https://demo-stable.ofbiz.apache.org:8443/webtools/control/FindGeneric?entityName=GeoAssocAndGeoTo 
>
>
>
> just in case, if you need steps,
> 1. goto https://localhost:8443/webtools/control/EntityImport
> 2. paste the data below and hit 'Import Text button.
>
>     <GeoAssoc geoId="DE" geoIdTo="DE-BW" geoAssocTypeId="REGIONS"/>
>     <GeoAssoc geoId="DE" geoIdTo="DE-BY" geoAssocTypeId="REGIONS"/>
>     <GeoAssoc geoId="DE" geoIdTo="DE-BE" geoAssocTypeId="REGIONS"/>
>     <GeoAssoc geoId="DE" geoIdTo="DE-BR" geoAssocTypeId="REGIONS"/>
>     <GeoAssoc geoId="DE" geoIdTo="DE-HB" geoAssocTypeId="REGIONS"/>
>     <GeoAssoc geoId="DE" geoIdTo="DE-HH" geoAssocTypeId="REGIONS"/>
>     <GeoAssoc geoId="DE" geoIdTo="DE-HE" geoAssocTypeId="REGIONS"/>
>     <GeoAssoc geoId="DE" geoIdTo="DE-MV" geoAssocTypeId="REGIONS"/>
>     <GeoAssoc geoId="DE" geoIdTo="DE-NI" geoAssocTypeId="REGIONS"/>
>     <GeoAssoc geoId="DE" geoIdTo="DE-NW" geoAssocTypeId="REGIONS"/>
>     <GeoAssoc geoId="DE" geoIdTo="DE-RP" geoAssocTypeId="REGIONS"/>
>     <GeoAssoc geoId="DE" geoIdTo="DE-SL" geoAssocTypeId="REGIONS"/>
>     <GeoAssoc geoId="DE" geoIdTo="DE-SH" geoAssocTypeId="REGIONS"/>
>     <GeoAssoc geoId="DE" geoIdTo="DE-SN" geoAssocTypeId="REGIONS"/>
>     <GeoAssoc geoId="DE" geoIdTo="DE-SA" geoAssocTypeId="REGIONS"/>
>     <GeoAssoc geoId="DE" geoIdTo="DE-TH" geoAssocTypeId="REGIONS"/>
>
> 3. verify the data from
> https://localhost:8443/webtools/control/FindGeneric?entityName=GeoAssocAndGeoTo 
>
>
Reply | Threaded
Open this post in threaded view
|

Re: StateList

Atul Vani
Hi R.S.,

those steps were just another method of adding data to the database,
of course you don't need to that explicitly,
it's done automatically by "ant run-install" (or any other command which
loads seed data) if you have added the data to "GeoData_DE.xml"
(or may be you want to add it any other data file of your project, just
for the sake of not editing OOTB files)

--
Thanks & Regards
Atul Vani
Enterprise Software Developer
HotWax Media Pvt. Ltd.
http://www.hotwaxmedia.com/
We are the Global Leaders in Apache OFBiz, Google 'ofbiz' and see for yourself.


R. S. wrote:

> Thank You, that works great. But what about the lines I added to the
> "dataGeoData_DE.xml" file? Will they only be loaded when I run an
> installation again?
>
> The link
> https://demo-stable.ofbiz.apache.org:8443/webtools/control/FindGeneric?entityName=GeoAssocAndGeoTo 
>
>
> causes an error like
>
> org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen
> [component://webtools/widget/EntityScreens.xml#FindGeneric]:
> org.ofbiz.base.util.GeneralException: Error running Groovy script at
> location
> [component://webtools/webapp/webtools/WEB-INF/actions/entity/FindGeneric.groovy]
> (  ............
>
> Best Regards,
> Rudolf
>
>
> Atul Vani schrieb:
>> Hi R.S.,
>>
>> The deprecated warning is coz of "EntityExpr" you can use
>> "EntityCondition" instead.
>>
>> About GeoAssocAndGeoTo, rel-optional is not something that would be
>> of help here. and with just the data loaded properly it should show up.
>>
>> I tried it on demo-stable server and it works for me. you can verify
>> it from
>> https://demo-stable.ofbiz.apache.org:8443/webtools/control/FindGeneric?entityName=GeoAssocAndGeoTo 
>>
>>
>>
>> just in case, if you need steps,
>> 1. goto https://localhost:8443/webtools/control/EntityImport
>> 2. paste the data below and hit 'Import Text button.
>>
>>     <GeoAssoc geoId="DE" geoIdTo="DE-BW" geoAssocTypeId="REGIONS"/>
>>     <GeoAssoc geoId="DE" geoIdTo="DE-BY" geoAssocTypeId="REGIONS"/>
>>     <GeoAssoc geoId="DE" geoIdTo="DE-BE" geoAssocTypeId="REGIONS"/>
>>     <GeoAssoc geoId="DE" geoIdTo="DE-BR" geoAssocTypeId="REGIONS"/>
>>     <GeoAssoc geoId="DE" geoIdTo="DE-HB" geoAssocTypeId="REGIONS"/>
>>     <GeoAssoc geoId="DE" geoIdTo="DE-HH" geoAssocTypeId="REGIONS"/>
>>     <GeoAssoc geoId="DE" geoIdTo="DE-HE" geoAssocTypeId="REGIONS"/>
>>     <GeoAssoc geoId="DE" geoIdTo="DE-MV" geoAssocTypeId="REGIONS"/>
>>     <GeoAssoc geoId="DE" geoIdTo="DE-NI" geoAssocTypeId="REGIONS"/>
>>     <GeoAssoc geoId="DE" geoIdTo="DE-NW" geoAssocTypeId="REGIONS"/>
>>     <GeoAssoc geoId="DE" geoIdTo="DE-RP" geoAssocTypeId="REGIONS"/>
>>     <GeoAssoc geoId="DE" geoIdTo="DE-SL" geoAssocTypeId="REGIONS"/>
>>     <GeoAssoc geoId="DE" geoIdTo="DE-SH" geoAssocTypeId="REGIONS"/>
>>     <GeoAssoc geoId="DE" geoIdTo="DE-SN" geoAssocTypeId="REGIONS"/>
>>     <GeoAssoc geoId="DE" geoIdTo="DE-SA" geoAssocTypeId="REGIONS"/>
>>     <GeoAssoc geoId="DE" geoIdTo="DE-TH" geoAssocTypeId="REGIONS"/>
>>
>> 3. verify the data from
>> https://localhost:8443/webtools/control/FindGeneric?entityName=GeoAssocAndGeoTo 
>>
>>
Reply | Threaded
Open this post in threaded view
|

Re: StateList

R. S.
I have already entered a lot of data and so I wanted not to run "run
install". The use of the import function, was the best solution for me.
Thank you.

Best Regards
Rudolf


Atul Vani schrieb:
> Hi R.S.,
>
> those steps were just another method of adding data to the database,
> of course you don't need to that explicitly,
> it's done automatically by "ant run-install" (or any other command
> which loads seed data) if you have added the data to "GeoData_DE.xml"
> (or may be you want to add it any other data file of your project,
> just for the sake of not editing OOTB files)
>
Reply | Threaded
Open this post in threaded view
|

Re: StateList

Atul Vani
Hi R.S.,

Glad to know your work's done.

Just wanted to let you know that "ant run-install" doesn't remove old data,
it just updates the data from data files.

So if you have any new data in the database, like say you created a few
customers, then it will not be affected.

--
Thanks & Regards
Atul Vani
Enterprise Software Developer
HotWax Media Pvt. Ltd.
http://www.hotwaxmedia.com/
We are the Global Leaders in Apache OFBiz, Google 'ofbiz' and see for yourself.


R. S. wrote:

> I have already entered a lot of data and so I wanted not to run "run
> install". The use of the import function, was the best solution for
> me. Thank you.
>
> Best Regards
> Rudolf
>
>
> Atul Vani schrieb:
>> Hi R.S.,
>>
>> those steps were just another method of adding data to the database,
>> of course you don't need to that explicitly,
>> it's done automatically by "ant run-install" (or any other command
>> which loads seed data) if you have added the data to "GeoData_DE.xml"
>> (or may be you want to add it any other data file of your project,
>> just for the sake of not editing OOTB files)
Reply | Threaded
Open this post in threaded view
|

Re: StateList

R. S.
Great, Thanks. All the time I thought that "ant run-install" would
remove my old data.
You leave and Learn :-)

Atul Vani schrieb:

> Hi R.S.,
>
> Glad to know your work's done.
>
> Just wanted to let you know that "ant run-install" doesn't remove old
> data,
> it just updates the data from data files.
>
> So if you have any new data in the database, like say you created a
> few customers, then it will not be affected.
>
Reply | Threaded
Open this post in threaded view
|

Re: StateList

Jacques Le Roux
Administrator
R.S.

Would you consider to add the data you created in a patch attached to a Jira?
http://cwiki.apache.org/confluence/x/JIB2

TIA

Jacques
PS : 2d try, that's why I use a tiny link here. It seems plain links (even from https://cwiki.apache.org/confluence/display) have
trouble to get through these last times...

From: "R. S." <[hidden email]>

> Great, Thanks. All the time I thought that "ant run-install" would remove my old data.
> You leave and Learn :-)
>
> Atul Vani schrieb:
>> Hi R.S.,
>>
>> Glad to know your work's done.
>>
>> Just wanted to let you know that "ant run-install" doesn't remove old data,
>> it just updates the data from data files.
>>
>> So if you have any new data in the database, like say you created a few customers, then it will not be affected.
>>
>


Reply | Threaded
Open this post in threaded view
|

Re: StateList

Matt Warnock
In reply to this post by Atul Vani
However, it does seem to reset all the passwords to the install
defaults, which is important to know.  At least that was my experience.
--
Matt Warnock <[hidden email]>
RidgeCrest Herbals, Inc.

On Wed, 2010-06-02 at 15:08 +0530, Atul Vani wrote:

> Hi R.S.,
>
> Glad to know your work's done.
>
> Just wanted to let you know that "ant run-install" doesn't remove old data,
> it just updates the data from data files.
>
> So if you have any new data in the database, like say you created a few
> customers, then it will not be affected.
>

Reply | Threaded
Open this post in threaded view
|

Re: StateList

Atul Vani
In reply to this post by Jacques Le Roux
Hello Jacques, R.S.,

I have created the issue, here's the link
https://issues.apache.org/jira/browse/OFBIZ-3799

--
Thanks & Regards
Atul Vani
Enterprise Software Developer
HotWax Media Pvt. Ltd.
http://www.hotwaxmedia.com/
We are the Global Leaders in Apache OFBiz, Google 'ofbiz' and see for yourself.


Jacques Le Roux wrote:

> R.S.
>
> Would you consider to add the data you created in a patch attached to
> a Jira?
> http://cwiki.apache.org/confluence/x/JIB2
>
> TIA
>
> Jacques
> PS : 2d try, that's why I use a tiny link here. It seems plain links
> (even from https://cwiki.apache.org/confluence/display) have trouble
> to get through these last times...
>
> From: "R. S." <[hidden email]>
>> Great, Thanks. All the time I thought that "ant run-install" would
>> remove my old data.
>> You leave and Learn :-)
>>
>> Atul Vani schrieb:
>>> Hi R.S.,
>>>
>>> Glad to know your work's done.
>>>
>>> Just wanted to let you know that "ant run-install" doesn't remove
>>> old data,
>>> it just updates the data from data files.
>>>
>>> So if you have any new data in the database, like say you created a
>>> few customers, then it will not be affected.
>>>
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: StateList

Jacques Le Roux
Administrator
Thanks Atul!

Jacques

From: "Atul Vani" <[hidden email]>

> Hello Jacques, R.S.,
>
> I have created the issue, here's the link
> https://issues.apache.org/jira/browse/OFBIZ-3799
>
> --
> Thanks & Regards
> Atul Vani
> Enterprise Software Developer
> HotWax Media Pvt. Ltd.
> http://www.hotwaxmedia.com/
> We are the Global Leaders in Apache OFBiz, Google 'ofbiz' and see for yourself.
>
>
> Jacques Le Roux wrote:
>> R.S.
>>
>> Would you consider to add the data you created in a patch attached to
>> a Jira?
>> http://cwiki.apache.org/confluence/x/JIB2
>>
>> TIA
>>
>> Jacques
>> PS : 2d try, that's why I use a tiny link here. It seems plain links
>> (even from https://cwiki.apache.org/confluence/display) have trouble
>> to get through these last times...
>>
>> From: "R. S." <[hidden email]>
>>> Great, Thanks. All the time I thought that "ant run-install" would
>>> remove my old data.
>>> You leave and Learn :-)
>>>
>>> Atul Vani schrieb:
>>>> Hi R.S.,
>>>>
>>>> Glad to know your work's done.
>>>>
>>>> Just wanted to let you know that "ant run-install" doesn't remove
>>>> old data,
>>>> it just updates the data from data files.
>>>>
>>>> So if you have any new data in the database, like say you created a
>>>> few customers, then it will not be affected.
>>>>
>>>
>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: StateList

R. S.
In reply to this post by Atul Vani
Hello Atul, Hello Jacques,
I didn't have enough time to create the issue yesterday. Thank you Atul.

Regards
Rudolf

Atul Vani schrieb:
> Hello Jacques, R.S.,
>
> I have created the issue, here's the link
> https://issues.apache.org/jira/browse/OFBIZ-3799
>