Iván, here you are an explanation of the issue to keep it clear. I guess that you already know what the issue is but perhaps this explanation is useful for other people.
Process requests defined in client=0 are defined as "Reference Data". It means that this information is loaded when the database is created but then this information is not updated during system updates. This is because Openbravo considers that information as "user data". So Openbravo pre-populates these tables when database is created. Later users are allowed to modify that information and keep ownership of it (Openbravo is not allowed to modify it after database is created). The point is that this information should not be exported every time we export the database. As stated above RD tables are "user data" and it applies also to development environments. If a developer adds a process request to test something it is a pain that export.database takes this change as an intended change in code when usually it is not. Now developers are forced to ignore those changes before commiting to the repository. The solution is to export RD information optionally and not to export it by default. Usually developers will not export RD because they do not plan to include those changes in OB source code. When a developer wants to modify data in RD (eg. because a new process request is intended to be preloaded at database creation) then exportRD option will be used, and this data will be exported and commited to the repository. It is not an urgent issue -we have been working like this for several months- so let's wait for Antonio to solve it. Regards, Ismael -----Mensaje original----- De: Iván Perdomo [mailto:[email protected]] Enviado el: jueves, 16 de julio de 2009 18:38 Para: [email protected] Asunto: Re: [Openbravo-development] AD_PROCESS_REQUEST and export.database Hi Asier, But this process request information is source data. Because we want the "Accounting process" scheduled by default. Cheers, On Thu, 16 Jul 2009 08:35:54 +0200 Asier Lostalé <[email protected]> wrote: > I think the problem is more generic: no data defined in RD should be > exported, at least by database.export task, as they are not part of > the sources. > > Iván Perdomo escribió: > > Hi Victor, > > > > I logged an issue for this problem: > > https://issues.openbravo.com/view.php?id=9911 > > > > Can you please look at it, and comment if something is missing. > > > > Best Regards, > > > > On Wed, 15 Jul 2009 12:24:27 +0200 > > Víctor Martínez <[email protected]> wrote: > > > > > >> Hi all, > >> > >> I have an easy question... > >> > >> Since a few weeks, whenever I export my database, the > >> src-db/database/sourcedata/AD_PROCESS_REQUEST.xml table is > >> exported. > >> > >> Shall I commit this file? Currently I always revert this file > >> because I thought it was a bug in the export.database task, but > >> after some days with this behaviour I'm not sure if I'm doing > >> wrong. > >> > >> Thanks! > >> > > > > > > > > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited > time, vendors submitting new applications to BlackBerry App World(TM) > will have the opportunity to enter the BlackBerry Developer > Challenge. See full prize details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > Openbravo-development mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/openbravo-development -- Iván Perdomo ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Openbravo-development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openbravo-development ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Openbravo-development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openbravo-development
