• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Nasty WO Builder 5.3 bug deletes components
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Nasty WO Builder 5.3 bug deletes components


  • Subject: Nasty WO Builder 5.3 bug deletes components
  • From: Brendan Duddridge <email@hidden>
  • Date: Thu, 9 Jun 2005 09:30:07 -0600

Hi,

I've filed a radar bug for this already (4142654).

Here's a nasty bug in the new WO Builder I found yesterday:

If you set your default encoding in WO Builder for WebObjects 5.3, then open a component, you'll first get an error saying that WO Builder doesn't understand "Unicode (UTF-8)" or whatever encoding you chose. Then, if you make any changes to your file and save, it will rename your component to your component name with a ~ at the end. e.g. MyComponent.wo~. Oh, and WO Builder will still have the dirty bit set in the red dot in the title bar. Thinking that WO Builder didn't save your changes, you save again. WO Builder will then delete the MyComponent.wo~ directory. There's no MyComponent.wo or MyComponent.wo~ anymore. Your component has been completely deleted.

I sat down with a WebObjects engineer at WWDC and showed him the problem, so they're aware of it. Guido Neitzer (sp?) was there with me at the time and he also was able to reproduce the problem and show the WO engineer.

Fortunately, there is a workaround. DON'T SET YOUR ENCODING in WO Builder preferences. Leave it at "NSMacOSRomanStringEncoding". If you've already done this, then quit WO Builder, open Terminal, then execute the following command:

defaults delete com.apple.WebObjectsBuilder DefaultEncoding

Then you can safely save your WO components. It even carries forward your .svn directory after it creates and deletes the ~ backup component.


Thanks,

____________________________________________________________________
Brendan Duddridge | CTO | 403-277-5591 x24 |  email@hidden

ClickSpace Interactive Inc.
Suite L100, 239 - 10th Ave. SE
Calgary, AB  T2G 0V9

http://www.clickspace.com 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • File download
      • From: Valerio Luccio <email@hidden>
    • Re: Nasty WO Builder 5.3 bug deletes components
      • From: "Masahiko Tani (A10)" <email@hidden>
    • Re: Nasty WO Builder 5.3 bug deletes components
      • From: David Teran <email@hidden>
  • Prev by Date: [WO 5.3] WOBuilder deletes WOComponents on save
  • Next by Date: Re: [WO 5.3] WOBuilder deletes WOComponents on save
  • Previous by thread: Re: [WO 5.3] WOBuilder deletes WOComponents on save
  • Next by thread: Re: Nasty WO Builder 5.3 bug deletes components
  • Index(es):
    • Date
    • Thread