[
https://jira.jboss.org/jira/browse/JBIDE-4902?page=com.atlassian.jira.plu...
]
Viacheslav Kabanovich commented on JBIDE-4902:
----------------------------------------------
In the movie, there is no error indication 'Tag missing closing bracket
'>'', which should appear as soon as symbol '>' is removed, even
before saving file. So, maybe the bracket is not removed, but not displayed correctly
(that can happen if line endings are corrupted, for example instead of ending \r\n only \r
remains). Denis, could you please check line endings before corruption in some external
editor, and then, after corruption, save file and also check its content in that external
editor?
Alternative check without using external editors, after executing item 5: EXECUTE: replace
1 by 2 in Source tab and switch back to Session Factory. ASSERT: ui does not report xml
errors and Batch Size field is assigned to 2.
Hibernate Configuration XML becomes invalid after editing
'Session Factory/Properties/JDBC/Batch Size' property on Session Factory tab
--------------------------------------------------------------------------------------------------------------------------------------
Key: JBIDE-4902
URL:
https://jira.jboss.org/jira/browse/JBIDE-4902
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: Hibernate
Affects Versions: 3.1.0.M4
Environment: Ubuntu Linux 9.04
java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.6.0_16-b01
java.specification.name=Java Platform API Specification
java.specification.vendor=Sun Microsystems Inc.
JBT 3.1.0.M4-v200909170601N-H91-M4 built from trunk
Reporter: Denis Golovin
Assignee: Viacheslav Kabanovich
Priority: Critical
Fix For: 3.1.0.M4
Attachments: hib-config-editor-error.png, JBIDE-4902.swf
1. EXECUTE: Create Java Project
2. EXECUTE: Create Hibernate Console Configuration XML in it this project
3. ASSERT: Hibernate Console Configuration Editor is opened for created XML file
4. EXECUTE: Select 'Session Factory/Properties/JDBC' node and enter 1 in
'Batch Size' field
5. EXECUTE: Switch to Source tab
6. ASSERT: XML is well formed
Now it fails on step 6 and Closing session factory tag has no '>' (see
attached picture)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira