Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0045334Openbravo ERPZ. Otherspublic2020-10-29 12:512020-10-29 12:51
pavanpullela 
Triage Omni OMS 
highmajoralways
newopen 
1010
2.50 
 
Google Chrome
User Interface Application
No
0045334: Getting an Error with Message "Mercurial revision in Database:0" while Exporting database with ant export.database command
It is happening when I am exporting database after created a database and restored the existing database in the PC laptop.
->after restoring database, copy the instance in specified folder,
->change the settings and path in Openbravo.properties file.
->run the command "ant export.database" in command prompt.

Model read in-memory, generating mapping...

Dal layer initialized

Database connection: jdbc:postgresql://localhost:5432/production. [^] User: tad

A file was modified in the database folder (this can happen if you update your repository or modify the files, and don't do update.database). Eliminate the differences (by either reverting the changes in the files, or reverting to the old revision of sources), and try to export again.

Mercurial revision in database: 0


BUILD FAILED
D:\production\build.xml:761: The following error occurred while executing this line:
D:\production\src-db\database\build.xml:155: Found modifications in files when exporting
No tags attached.
jpg export-database Failed.jpg (211,572) 2020-10-29 12:51
https://issues.openbravo.com/file_download.php?file_id=15058&type=bug
jpg
Issue History
2020-10-29 12:51pavanpullelaNew Issue
2020-10-29 12:51pavanpullelaAssigned To => Triage Finance
2020-10-29 12:51pavanpullelaFile Added: export-database Failed.jpg
2020-10-29 12:51pavanpullelaWeb browser => Google Chrome
2020-10-29 12:51pavanpullelaModules => User Interface Application
2020-10-29 12:51pavanpullelaTriggers an Emergency Pack => No

There are no notes attached to this issue.