Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.0.5, 4.0.7, 4.1.4, 4.2.0, extension/ezoracle 1.8.2
-
None
-
eZ Publish 4.0.5
eZ Oracle 1.8.3
Oracle 11.1.0.6.0
Description
While trying to correct the database schema of the installation, eZ Publish complained about a huge list of things that are not correct. But the suggestions eZ Publish makes to resolve those issues are not correct in all cases. The following suggestions did not work:
—
WRONG:
ALTER TABLE ezcollab_group DROP INDEX ezcollab_group_depth_i;
FEHLER in Zeile 1:
ORA-00905: Schlüsselwort fehlt
CORRECT:
DROP INDEX ezcollab_group_depth_i;
—
WRONG:
ALTER TABLE ezcollab_simple_message MODIFY (data_text1 CLOB NOT NULL);
ALTER TABLE ezcollab_simple_message MODIFY (data_text2 CLOB NOT NULL);
ALTER TABLE ezcollab_simple_message MODIFY (data_text3 CLOB NOT NULL);
ALTER TABLE ezoperation_memento MODIFY (memento_data CLOB NOT NULL);
ALTER TABLE ezurlwildcard MODIFY (destination_url CLOB);
ALTER TABLE ezurlwildcard MODIFY (source_url CLOB);
FEHLER in Zeile 1:
ORA-22858: Ungültige Änderung des Datentyps
—
WRONG:
SQL> CREATE INDEX ezcontentobject_attribute_co_id_ver_lang_code ON ezcontentobject_attribute ( contentobject_id, version, language_code )
*
FEHLER in Zeile 1:
ORA-00972: Bezeichner ist zu lang
SQL> CREATE INDEX ezcontentobject_attribute_contentobject_id ON ezcontentobject_attribute ( contentobject_id )
*
FEHLER in Zeile 1:
ORA-00972: Bezeichner ist zu lang
SQL> CREATE INDEX ezcontentobject_attribute_language_code ON ezcontentobject_attribute ( language_code )
*
FEHLER in Zeile 1:
ORA-00972: Bezeichner ist zu lang
SQL> CREATE INDEX ezcontentobject_tree_path_ident ON ezcontentobject_tree ( path_identification_string )
*
FEHLER in Zeile 1:
ORA-00972: Bezeichner ist zu lang
SQL> CREATE INDEX ezenumobjectvalue_co_attr_id_co_attr_ver ON ezenumobjectvalue ( contentobject_attribute_id, contentobject_attribute_version )
*
FEHLER in Zeile 1:
ORA-00972: Bezeichner ist zu lang
SQL> CREATE INDEX ezenumvalue_co_cl_attr_id_co_class_att_ver ON ezenumvalue ( contentclass_attribute_id, contentclass_attribute_version );
FEHLER in Zeile 1:
ORA-00972: Bezeichner ist zu lang
SQL> CREATE UNIQUE INDEX ezmodule_run_workflow_process_id_s ON ezmodule_run ( workflow_process_id )
*
FEHLER in Zeile 1:
ORA-00972: Bezeichner ist zu lang
SQL> CREATE INDEX ezoperation_memento_memento_key_main ON ezoperation_memento ( memento_key, main )
*
FEHLER in Zeile 1:
ORA-00972: Bezeichner ist zu lang
SQL> CREATE INDEX ezproductcollection_item_contentobject_id ON ezproductcollection_item ( contentobject_id )
*
FEHLER in Zeile 1:
ORA-00972: Bezeichner ist zu lang
SQL> CREATE INDEX ezproductcollection_item_productcollection_id ON ezproductcollection_item ( productcollection_id )
*
FEHLER in Zeile 1:
ORA-00972: Bezeichner ist zu lang
SQL> CREATE INDEX ezproductcollection_item_opt_item_id ON ezproductcollection_item_opt ( item_id )
*
FEHLER in Zeile 1:
ORA-00972: Bezeichner ist zu lang
SQL> CREATE INDEX ezsearch_object_word_link_frequency ON ezsearch_object_word_link ( frequency )
*
FEHLER in Zeile 1:
ORA-00972: Bezeichner ist zu lang
SQL> CREATE INDEX ezsearch_object_word_link_identifier ON ezsearch_object_word_link ( identifier )
*
FEHLER in Zeile 1:
ORA-00972: Bezeichner ist zu lang
SQL> CREATE INDEX ezsearch_object_word_link_integer_value ON ezsearch_object_word_link ( integer_value )
*
FEHLER in Zeile 1:
ORA-00972: Bezeichner ist zu lang
SQL> CREATE INDEX ezsearch_object_word_link_object ON ezsearch_object_word_link ( contentobject_id )
*
FEHLER in Zeile 1:
ORA-00972: Bezeichner ist zu lang
SQL> DROP INDEX ezsrch_ret_cnt_ph_id_cnt;
CREATE INDEX ezsearch_return_cnt_ph_id_cnt ON ezsearch_return_count ( phrase_id, count );
SQL> CREATE INDEX ezurl_ol_coa_version ON ezurl_object_link ( contentobject_attribute_version )
*
FEHLER in Zeile 1:
ORA-00972: Bezeichner ist zu lang
SQL> CREATE INDEX ezwaituntildateevalue_wf_ev_id_wf_ver ON ezwaituntildatevalue ( workflow_event_id, workflow_event_version )
*
FEHLER in Zeile 1:
ORA-00972: Bezeichner ist zu lang
Steps to reproduce
Not possible. The database schema perhaps got corrupted during all the migrations from eZ Publish 2.x to 4.0.5 where in between different eZ Publish and ezoracle versions have been used.
AB can perhaps provide a database dump with the bad schema for testing.
Attachments
Issue Links
- relates to
-
EZP-15528 ezoracle: suggestion to alter table columns produces invalid SQL when a LOB is involved
- Closed
-
EZP-15694 oracle: database consystency check fails for INTEGER columns
- Closed
-
EZP-15697 bad definition of longtext fields in db_schema.dba
- Closed
-
EZP-15877 improve ezdbschema: database consistency checks for Oracle for autoincrement columns / triggers
- Closed