Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #10732 Back to Issue ]
Summary 0010732: Config Script problems
Revision 2010-12-10 09:16 by rafaroda
Steps To Reproduce 1) Create a Module with type Industry Template
2) Launch scripts :
ALTER TABLE c_city ADD CONSTRAINT it_nomecitta UNIQUE(c_country_id, c_region_id, name);
ALTER TABLE c_tax ALTER COLUMN isnotaxable SET NOT NULL;
3) ALTER TABLE C_DOCTYPE DISABLE CONSTRAINT C_DOCTYPE_NAME
4) Run script task "ant export.config.script"
Revision 2010-12-10 09:16 by rafaroda
Description I have a module with type "Industry Template",
I have launched this script on db :

ALTER TABLE c_city ADD CONSTRAINT it_nomecitta UNIQUE(c_country_id, c_region_id, name);
ALTER TABLE c_tax ALTER COLUMN isnotaxable SET NOT NULL;

When i launch task "ant export.config.script" i have at the end of the log this message :

Changes that couldn't be exported to the config script:
*******************************************************
AddUniqueChange. Name: IT_NOMECITTA
ColumnRequiredChange. Column: ISNOTAXABLE

But if isn't possible, it's a big limit for a Config Script, i can't customize the existing tables .


--- Added by rafaroda
Besides, disabling or removing an existing unique constraint does not get reflected in the config.script. For instance, remove C_DOCTYPE_NAME unique constraint from C_DOC_TYPE table.
Revision 2010-10-07 09:52 by rafaroda
Steps To Reproduce 1) Create a Module with type Industry Template
2) Launch scripts :
ALTER TABLE c_city ADD CONSTRAINT it_nomecitta UNIQUE(c_country_id, c_region_id, name);
ALTER TABLE c_tax ALTER COLUMN isnotaxable SET NOT NULL;
3) Run script task "ant export.config.script"
Revision 2010-10-07 09:52 by rafaroda
Description I have a module with type "Industry Template",
I have launched this script on db :

ALTER TABLE c_city ADD CONSTRAINT it_nomecitta UNIQUE(c_country_id, c_region_id, name);
ALTER TABLE c_tax ALTER COLUMN isnotaxable SET NOT NULL;

When i launch task "ant export.config.script" i have at the end of the log this message :

Changes that couldn't be exported to the config script:
*******************************************************
AddUniqueChange. Name: IT_NOMECITTA
ColumnRequiredChange. Column: ISNOTAXABLE

But if isn't possible, it's a big limit for a Config Script, i can't customize the existing tables .
 


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker