Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/IDE/Translation Tools/Translation Manager    [ Add a report in this area ]  
Report #:  38665   Status: Reported
Automatically quote strings fails on reopened project
Project:  Delphi Build #:  10.0.2288.42451
Version:    10.0 Submitted By:   Sebastian Modersohn
Report Type:  Basic functionality failure Date Reported:  1/13/2007 5:19:18 AM
Severity:    Commonly encountered problem Last Updated: 1/15/2007 7:30:21 AM
Platform:    All platforms Internal Tracking #:  
Resolution: None  Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
While initially the "Automatically quote strings" option now works after Update 2 for BDS2006 (see QC 13354), it does not work correctly when you reopen an ITE project. See Steps.
Steps to Reproduce:
1. Create a new VCL project
2. Save all
3. Add language (let it create, compile, save the group etc.)
4. Close all
5. Reopen the project group
6. Open the dfm of the language project in ITE
7. For the Forms Font name, enter a non-quoted string like Arial

exp: ITE should automatically quote the string
act: the string is not quoted

Now close ITE and reopen it by double-clicking on the dfm in project manager.

I'll get an OS Error "Schwerwiegender Fehler" (Fatal Error, might be exception code C0000005) with the following call stack:

+ $21[52C2DB98]{dfm100.bpl  } ITEDFMViewer.ITEDFMViewer.TDFMViewer.CreateForm (Line 187, "ITEDFMViewer.pas" + 32) + $21
+ $0[51F2A2A5]{rtl100.bpl  } System.System.@CheckAutoResult (Line 18061, "system.pas" + 6) + $0
+ $D[52C35843]{dfm100.bpl  } ITEDFMForm.ITEDFMForm.TITEDFMForm.LoadFile (Line 313, "itedfmform.pas" + 4) + $D
+ $15[217BD2D5]{itecore100.bpl} ITETranslatorForm.ITETranslatorForm.TITETranslatorForm.EditFile (Line 618, "ITETranslatorForm.pas" + 1) + $15
+ $3[217067A7]{iteide100.bpl} ITETranslationEditorForm.ITETranslationEditorForm.TTranslationEditorView.OpenFile (Line 155, "ITETranslationEditorForm.pas" + 0) + $3
+ $F[20BC45A0]{coreide100.bpl} ProjectModule.ProjectModule.TCustomCodeIProject.OpenModule (Line 2114, "ProjectModule.pas" + 1) + $F
+ $18[20BD85FE]{coreide100.bpl} Containers.Containers.TStdFileContainer.OpenItem (Line 2946, "Containers.pas" + 14) + $18
+ $5[20C0643A]{coreide100.bpl} ProjectMgr.ProjectMgr.TProjectManager.HandleDblClick (Line 723, "ProjectMgr.pas" + 3) + $5
+ $12[20BB8313]{coreide100.bpl} ProjectFrm.ProjectFrm.TProjectManagerForm.ProjectTree2DblClick (Line 1734, "ProjectFrm.pas" + 10) + $12
+ $14[52058F5D]{vcl100.bpl  } Controls.Controls.TControl.DblClick (Line 5231, "Controls.pas" + 1) + $14
Workarounds
Try to reopen ITE again. The exception only occurs every other time for me.
Attachment
None
Comments

None

Server Response from: ETNACODE01