• 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
Re: Nasty WO Builder 5.3 bug deletes components
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Nasty WO Builder 5.3 bug deletes components


  • Subject: Re: Nasty WO Builder 5.3 bug deletes components
  • From: Brendan Duddridge <email@hidden>
  • Date: Thu, 9 Jun 2005 12:13:41 -0600

H David,

Deleting the defaults only works if you've already set the preference in WO Builder.

I'm not sure why it's still happening for you when you don't have any Default Encoding specified. When I delete that setting, it works fine for me.

One thing you could try is to delete the entire com.apple.WebObjectsBuilder preference:

defaults delete com.apple.WebObjectsBuilder

Then try it again. That's the first thing the WO engineer asked me to do.

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 

On Jun 9, 2005, at 10:01 AM, David Teran wrote:

Hi,

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.
I've had the same problem, too. See my last post.

But your workaround does not work for me:

pb:~ david$ defaults delete com.apple.WebObjectsBuilder DefaultEncoding
2005-06-09 17:59:37.092 defaults[598]
There is no (DefaultEncoding) default for the (com.apple.WebObjectsBuilder) domain.
Defaults have not been changed.
pb:~ david$

So there was no such preference set.

Do you have another hint?

regards, David



 _______________________________________________
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:
    • Re: Nasty WO Builder 5.3 bug deletes components
      • From: David Teran <email@hidden>
References: 
 >Nasty WO Builder 5.3 bug deletes components (From: Brendan Duddridge <email@hidden>)
 >Re: Nasty WO Builder 5.3 bug deletes components (From: David Teran <email@hidden>)

  • Prev by Date: Re: [WO 5.3] HTML 4.01
  • Next by Date: Re: [WO 5.3] HTML 4.01
  • Previous by thread: Re: Nasty WO Builder 5.3 bug deletes components
  • Next by thread: Re: Nasty WO Builder 5.3 bug deletes components
  • Index(es):
    • Date
    • Thread