Bug: unauthorized inclusion speakerphone

steps:
1) have phone-enabled headset (standard headphones)
2) make a call on this phone
3) Turning off the headphones (pull out connector)
4) press the button to answer the call
result: 
  phone beeps like crazy through the speakerphone, despite the fact that the button "Handsfree" is not active.
ps.: sorry for my english.

Boot on safe mode and check again
http://talk.sonymobile.com/t5/FAQ/How-to-boot-your-phone-into-safe-mode/m-p/348008#U348008
"I'd rather be hated for who I am, than loved for who I am not." Kurt Cobain (1967-1994)

Similar Messages

  • [svn:osmf:] 16206: Fix bug in inclusion of ASDoc code sample, caused by ASDoc comment.

    Revision: 16206
    Revision: 16206
    Author:   [email protected]
    Date:     2010-05-18 17:42:03 -0700 (Tue, 18 May 2010)
    Log Message:
    Fix bug in inclusion of ASDoc code sample, caused by ASDoc comment.
    Modified Paths:
        osmf/trunk/docs/examples/org/osmf/logging/ExampleLogger.as
        osmf/trunk/docs/examples/org/osmf/logging/ExampleLoggerFactory.as
        osmf/trunk/docs/examples/org/osmf/logging/LoggerExample.as

    Tks for posting the resolution, it solve my problem too.
    keywords:
    ECLIPSE SSL ERROR "could not generate secret" TOMCAT 8
    java.security.NoSuchAlgorithmException: Algorithm DiffieHellman not available
    SOLUTION, In my case: REBUILD JDK over TOMCAT 8 configuration

  • Progress PDA Bug - Question for NI

    Hi,
    Any idea when this problem will be fixed (below)? I was hoping it would be in this quarter's Developer Suite update but the PDA module is still at version 8.6.
    Regards
    Simon
    -----Original Message-----
    From: [email protected] [mailto:[email protected]]
    Sent: 11 September 2008 14:17
    Subject: RE: (Reference#7210373) Standard | DevSuite Support E-Mail:
    LabVIEW
    PDA 8.6 Executable Crash
    Note:  Your reference number is included in the Subject field of this message.  It is very important that you do not remove or modify this reference number, or your message may be returned to you.
    Hi Simon,
    I have created a corrective action request with R&D, #125795. I will let you know once I hear back from them.
    Best wishes,
    Adnan Zafar
    National Instruments
    Applications Engineering
    www.ni.com/support

    Dear Simon,
    On behalf on national Instruments I apologise for this troublesome bug's inclusion in LabVIEW 8.6, and we thank you for bringing it to our attention.
    The corrective action request (CAR) my colleague made on your behalf has been accepted by R&D. This quarter's Dev Suite was what we call a "minor software release" - 8.6.1 being a revision of the 8.6's architecture. The issue has been forecast to be fixed in the next major LabVIEW release. Unfortunately, as we have yet to set official release dates, I am unable to speculate on when this will be available to you.
    I apologise I can not help you further. However, I assure you that the R&D team in the States are working on resolving the issue.
    Best wishes and kind regards,
    Rich R
    Applications Engineer
    National Instruments UK & Ireland

  • How can I find out about development of Thunderbird?

    I can't find any information on development of Thunderbird.
    Links on the Thunderbird homepage only take me to the general "Mozilla" pages instead of any Thunderbird-specific pages. https://www.mozilla.org/en-US/thunderbird/

    Thunderbird is a community project and while Mozilla's involvement is significantly reduced, that does not get the code base out on it's own. Thunderbird and SeaMonkey are basically the comm central folder in the Mozilla code base. Hence everything linking to Mozilla. Thunderbird shared the Geko layout engine with Firefox and to all intents and purposes that is almost indistinguishable from Firefox. The result is Thunderbird developers find themselves working on core to fix Thunderbird bugs, even though it is technically part of Firefox.
    Everything is controlled through bugzilla. enhancements, faults, poor usability and design. You do not need to do more that assign your self a bug and start coding. Although the involvement of the module owner or a peer helps get patches accepted. https://wiki.mozilla.org/Modules/Thunderbird
    Bugzilla is used to extract details of bugs fixed (including enhancement) for the documentation of release notes. Because flagging bug for inclusion in release notes is manual there are always those the just appear without a release notes.
    Talking or communicating with other developers appears to still be mostly IRC. (Global means Global at Mozilla with people in many countries collaborating)
    This wiki page https://wiki.mozilla.org/IRC after lots of instructions does tell you what channels are for what in Mozilla IRC.
    Links to mercurial, are on this page. https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Source_Code/Mercurial
    Downloadable source here https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Source_Code/Downloading_Source_Archives
    Is there a specific area you were looking at? perhaps I can point you to someone.

  • Bug- speakerphone dialing

    When dialing a call using the speaker phone, if you press the sleep button twice to turn the screen off, after 15 seconds (only if the phone is still ringing, and the person hasn't picked up) the speaker will shut off.
    If you press the home button to get the screen back on, the ringing over the speaker will resume. Its kinda odd, I'm assuming its just a weird bug and that the fix is easy.
    Has anyone else noticed this?

    Did you try speakerphone?
    Here is what I did
    1. Dial out a call. (Hopefully to someone who won't answer and has no answering machine)
    2. Press Speaker phone so you hear the ringing
    3. Press Sleep/Wake one time. You will get a slide to unlock, Press second time it goes to sleep.
    Got to press it in slow movements not super fast press. As I did that and was confused myself.

  • Jawbone Bluetooth / Speakerphone Bug

    I have the Jawbone hooked up to my iPhone. When I answer a call and pick speaker phone, the iPhone initially connects to the speakerphone and then, after a word, jumps the audio selection back to the Jawbone. Can anyone with an iPhone and Jawbone duplicate this bug?

    Actually, I have a similiar bug. My husband and I both have iPhones and JawBone headsets. We both have the following problems:
    1. If the headset and phone are paired, then if I make a call NOT using the headset, the following call (incoming or outgoing) will not be picked up by my jawbone headset -- even though the Bluetooth option says it is paired and when I make/receive that call, I do not get any audio source options. I have to unpair and repair every time this happens -- annoying!
    2. If I want to use the phone and not the ear piece, and I click the audio source as iPhone, it will still send it to my headset. I then have to click the iPhone audio source a second time. This is hard to manage since I'm expecting the call on the iPhone and have it up to my ear (and the screen turns off, of course).
    I hope this gets fixed!!

  • Speakerphone bug identified in 1.1.2

    While on a call using speakerphone, adjust volume while you talk. Your voice will completely drop out to the listener on the other end. Drop outs seem to last about 3-4 seconds, enough to drop 4-5 words or so each time you press the volume (in either direction).
    I'm told this is a mic gain problem, software in nature, and was worsened by 1.1.2. Even though the speaker and mic are so close together, they apparently can be adjusted to work together - Motorola has done it for years.

    (I assume with the recently added/edited articles link ;D)
    i eventually realised that trying to conduct the conversation using edits in my previous post wasn't tremendously helpful. yep ... that one showed up buried underneath all the KB docs related to Mac OS 10.4.6. we may yet see a few more explicit reports of bug-fixes coming through over the next few days via that link:
    Articles modified in last 7 days
    ... although i don't have as good a feel for that as i do for patterns of bug-fix reports after new itunes versions come out. (less practice.)
    love, b

  • Speakerphone Bug? Can't Replicate

    Interesting thing happened today,
    Was at work, and tried to make a phone call. Phone was stuck on speakerphone whether I hit the Speakerphone icon or not. Took the call anyway.
    Tried to replicate this issue and now it works properly. Did not have to do anything. Made a test call and it worked.
    Any idea what could have caused this?
    iPhone 4 (CDMA), iOS 5.0.1.

    This problem is fixed in the latest software (14.1.G.1.534) which is currently being rolled out.
     - Official Sony Xperia Support Staff
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

  • Inclusion of a bug report section in Forum

    I had contacted Sony on this matter, that a Bug report Forum should be created or this functionality should be added in the existing Forum.
    I sent them tem this:
    would like to suggest you that you should start an interactive forum like website just for software updates wherein all bugs in software can be reported directly to Sony and if on the spot solution is there then should be provided and the reported bugs should be quickly removed through quick and frequent OTA updates for all Xperia Phones. This is a humble request and a must do for Sony. Regards.
    And got this:
    Greetings from Sony Xperia support.
    We would like to take this opportunity to express our appreciation for your interest in Sony products and services.
    We have taken this as a valuable feedback and we have forwarded the same to the consumer feedback division for their due consideration.
    Any update in this regard will be posted on our web site.
    If you need any assistance or clarifications, please feel free to contact Sony Xperia Support at the Toll Free number 1800-3000-2800 (Working Timings-9:00am to 9:00pm: Mon-Sun) alternately, you can email us at [email protected]
    For the latest news, information and product support please visit www.sonymobile.com/in
    Always looking to serve you better.
    Kind Regards,
    So this has to be done, where users can report bugs for their Xperia devices and Sony making use of them should quickly swnd a small firmware upgrade as soon as possible , making the users wait for 6 months or so for a bug fix update.

    Thank you again for sending us your feedback.
    At the moment we don't have any specific board for this on our forum but you can always submit any reports or issues you may experience via your local support or here on the forum (in the concerned models board).
     - Community Manager Sony Xperia Support Forum
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

  • IPhone Bugs, Flaws & Wishlist (ADD YOURS TO LIST!!)

    iPhone Bugs, Flaws & Wishlist
    -AT&T’s EDGE cellular network: "excruciatingly slow"
    -Making calls can be a 6 step process if phone is off.
    -halfway decent internal speakers for listening if you set the thing down
    -iPod games are not compatible with iPhone?
    -No way to copy/paste text, are you kidding?
    -Voice call quality good, but not great
    -Can't record video, are you kidding?
    -Songs can't be set as ringtones? I think this issue will change in iTunes 7.3 though
    -can’t download songs or movies from itunes directly from phone?? c'mon
    -memory is not expandable, No SD card slot
    -no GPS, but close
    -no SmartTyping for Safari OR looking up contacts??? c'mon
    -No Microsoft Office, no “Significant” 3rd party apps
    -Isn’t the speaker & mic on BOTTOM of phone pretty useless when in dock? Don't know
    -iPhone’s web should run on AT&T’s fastest web technology, NOT EDGE
    -“true” world phone? maybe...
    -No black dock
    -8GB is an amazing accomplishment for a phone, but a huge downfall in “iPod world” when iPods are up to 80GB now
    -"runs on Mac OS X" is a pretty much a lie, can’t open OSX apps, can't store/save files or edit, no folders
    -no iChat, which means no instant messaging, just text messaging
    -no wireless sync
    -no way to have a backup battery or two; Apple would actually make more money if they sold batteries
    -Speakerphone / Vibrate are weak
    -No voice memos, voice dialing or call recording
    -Lacks video output to a TV
    -No disk mode
    -Can only use one of 25 preset ringtones????
    -iPhone can't be used as a wireless modem for your laptop
    -Keyboard hardly rotates when you want it to
    -lyrics for ipod
    -camera has no flash, zoom or self-portrait mirror
    -Notes from iPhone doesn’t sync/show up on computer
    -Safari does not support Java, Adobe Flash, stored passwords, RSS, streaming audio or video (except for some QuickTime videos) -- almost defeats purpose of “real internet in your pocket”
    -no engraving on back like iPods offered
    -Mail landscape view doesn’t work
    -No Mark as Read feature
    -Can’t send media through SMS text
    -Can’t send same text to multiple people
    -Can’t scan (wouldn’t that be cool?)
    -Date doesn’t show, except for the Calendar Icon sorta shows you date
    -Calendar should work a lot more like iCal (event categories missing, landscape view missing, to-dos missing, ability to tap time to create event)
    -Calendar not syncing correctly with iCal (at least for me using a Leopard seed)
    -Can’t custom resize video or zoom in
    -Keyboard doesn’t rotate
    -Notes doesn’t rotate
    -needs a file browser to be able to open docs and images that you've synced to your phone.. somehow.. (isync support?)
    -A file system needs to be apparent so you can easily do things like attach multiple files in an email
    -gets scorching hot if left on bed while you’re using it
    -Alarm doesn’t allow an alert message to go along with your alarm (reminder)
    -Weather app on home screen should change sun/moon/cloud images & temperature for your primary city without having to open the actual app, similar to how Calendar changes date without having to open app
    -no Empty Trash function for e-mail and voicemail
    -would be cool if had guitar tuning capability
    -can’t send files via Bluetooth. What the **** is it on the phone for then besides headset?
    -email is “non-landscapable”
    -no free rotate in move and scale mode or anywhere for that matter (with photos)
    -iPod Cover Flow doesn’t show custom-made album artwork (.jpg,.png, .tif, etc)
    -can’t log in to your YouTube account via YouTube app
    -mic should act as 2nd speaker when not used as mic (if possible)
    -Bluetooth not finding any devices (at least for me)
    -No undo, especially when editing your contacts makes it a nightmare
    -Add Field entries made under Contacts editing should be stored so user can easily use the entry again
    -Contacts need a default Comments or Notes label
    -In Contacts, user should be able to move/sort/arrange custom labels to their liking
    -option to hear sounds every time you press a button, not only keyboard
    -ability to choose sound for a particular function, for example, say you didn’t like the “New Voicemail” sound, you should be able to change it like you can do in a Treo
    -certain photos won’t show up ONLY in “Add Photo” mode when editing Contacts, you just get a black screen
    -iPhoto should not come to front of screen when syncing (it does for me in a Leopard seed I’m using)
    -Ability to check for new mail every minute, not a minimum of 15!
    -Option to keep current screen on when phone is locked for a certain amount of time, like a Treo
    -Wallpaper slideshow and video capability
    If Apple thinks that they can intentionally leave “key” features out of the iPhone just to make us think that the iPhone2 is a “significant update”, then Apple isn’t the company I thought it was. Make your phone the “best” it can possibly be for the time it comes out. Don’t leave out “standard” smartphone technology that will make people think twice about trashing their Treo or Blackberry. Adding true GPS or upgrading the internal memory is a different story, but things like the inability to copy and paste, the inability to record video, and the inability to use voice dialing should definitely not be issues with iPhone’s release, especially due to the fact that Apple had more than six months to test the thing. I really hope Apple fixes a lot of these “flaws” immediately or else iPhone won’t be as successful and as respected as it could have been.
    Just trying to help. Please forward this to the appropriate iPhone Development department.
    Thank You
    Brian Judah
    Proud ADC Member

    Please take your criticisms and suggestions to the new created iPhone feedback page.

  • Neighbor send-label - a possible bug in 12.4(24)T4 and newer

    Dear friends,
    I have stumbled across a different behavior of the neighbor send-label in BGP in IOS versions 12.4(24)T4 up to 12.4(24)T6 inclusive, and I wanted to ascertain whether it is a bug or just a new behavior I am not yet aware of.
    Consider the following scenario: Router X, Y and Z are peered in BGP according to the exhibit. Router X is in AS 2, routers Y and Z are in AS 1. X/Y are peered using their physical interface addresses, routers Y/Z are peered using their loopback addresses. Each peering is duly configured with neighbor send-label.
    The BGP configuration on router Y is as follows:
    Y# show run | sec router bgp
    router bgp 1
    bgp log-neighbor-changes
    neighbor 10.1.255.1 remote-as 1
    neighbor 10.1.255.1 update-source Loopback0
    neighbor 192.168.1.2 remote-as 2
    address-family ipv4
      redistribute ospf 1
      neighbor 10.1.255.1 activate
      neighbor 10.1.255.1 send-label
      neighbor 192.168.1.2 activate
      neighbor 192.168.1.2 send-label
      no auto-summary
      no synchronization
    exit-address-family
    Router Y is receiving a set of routes from X, in particular:
    Y# show ip bgp regexp _2
    BGP table version is 22, local router ID is 10.1.255.5
    Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
                  r RIB-failure, S Stale
    Origin codes: i - IGP, e - EGP, ? - incomplete
       Network          Next Hop            Metric LocPrf Weight Path
    *> 10.2.12.0/24     192.168.1.2              4             0 2 ?
    *> 10.2.23.0/24     192.168.1.2              3             0 2 ?
    *> 10.2.34.0/24     192.168.1.2              2             0 2 ?
    *> 10.2.45.0/24     192.168.1.2              0             0 2 ?
    *> 10.2.255.1/32    192.168.1.2              5             0 2 ?
    *> 10.2.255.2/32    192.168.1.2              4             0 2 ?
    *> 10.2.255.3/32    192.168.1.2              3             0 2 ?
    *> 10.2.255.4/32    192.168.1.2              2             0 2 ?
    *> 10.2.255.5/32    192.168.1.2              0             0 2 ?
    The show ip bgp label on router Y, however, produces rather interesting results:
    Y# show ip bgp labels
       Network          Next Hop      In label/Out label
       10.2.12.0/24     192.168.1.2     nolabel/16
       10.2.23.0/24     192.168.1.2     nolabel/17
       10.2.34.0/24     192.168.1.2     nolabel/18
       10.2.45.0/24     192.168.1.2     nolabel/imp-null
       10.2.255.1/32    192.168.1.2     nolabel/19
       10.2.255.2/32    192.168.1.2     nolabel/20
       10.2.255.3/32    192.168.1.2     nolabel/21
       10.2.255.4/32    192.168.1.2     nolabel/22
       10.2.255.5/32    192.168.1.2     nolabel/imp-null
    Note that while the routes are being received with MPLS labels, the router Y does not seem to allocate any local label bindings to these labels although all these routes are being further advertised to router Z via iBGP.
    On router Z, the results are also confusing. First of all, networks received from router Y are still learned with the original next-hop set to 192.168.1.2 instead of 10.1.255.5 (using send-label on router Y should imply next-hop-self):
    Z# show ip route bgp
         10.0.0.0/8 is variably subnetted, 18 subnets, 2 masks
    B       10.2.12.0/24 [200/4] via 192.168.1.2, 00:26:28
    B       10.2.23.0/24 [200/3] via 192.168.1.2, 00:26:28
    B       10.2.45.0/24 [200/0] via 192.168.1.2, 00:26:28
    B       10.2.34.0/24 [200/2] via 192.168.1.2, 00:26:28
    B       10.2.255.5/32 [200/0] via 192.168.1.2, 00:26:28
    B       10.2.255.4/32 [200/2] via 192.168.1.2, 00:26:28
    B       10.2.255.3/32 [200/3] via 192.168.1.2, 00:26:28
    B       10.2.255.2/32 [200/4] via 192.168.1.2, 00:26:28
    B       10.2.255.1/32 [200/5] via 192.168.1.2, 00:26:28
    Verifying the show ip bgp label on router Z shows another interesting behavior: although Y has claimed it has not allocated any labels itself, it has in fact advertised the eBGP routes to Z with the original labels as allocated by X (hence highlighted in the previous and current output):
    Z# show ip bgp labels
       Network          Next Hop      In label/Out label
       10.2.12.0/24     192.168.1.2     nolabel/16
       10.2.23.0/24     192.168.1.2     nolabel/17
       10.2.34.0/24     192.168.1.2     nolabel/18
       10.2.45.0/24     192.168.1.2     nolabel/imp-null
       10.2.255.1/32    192.168.1.2     nolabel/19
       10.2.255.2/32    192.168.1.2     nolabel/20
       10.2.255.3/32    192.168.1.2     nolabel/21
       10.2.255.4/32    192.168.1.2     nolabel/22
       10.2.255.5/32    192.168.1.2     nolabel/imp-null
    An ironic fact is that on router Y, the labels 16-22 are already allocated for different internal networks by LDP. If router Z uses the labels as advertised by router Y, this will cause the packets to be heavily misrouted from router Y to completely different destinations:
    Y# show mpls forwarding-table
    Local  Outgoing      Prefix            Bytes Label   Outgoing   Next Hop
    Label  Label or VC   or Tunnel Id      Switched      interface
    16     Pop Label     192.168.1.2/32    0             Fa0/0      192.168.1.2
    17     Pop Label     10.1.255.4/32     0             Fa0/1      10.1.45.4
    18     20            10.1.255.3/32     0             Fa0/1      10.1.45.4
    19     19            10.1.255.2/32     0             Fa0/1      10.1.45.4
    20     18            10.1.255.1/32     0             Fa0/1      10.1.45.4
    21     16            10.1.12.0/24      0             Fa0/1      10.1.45.4
    22     17            10.1.23.0/24      0             Fa0/1      10.1.45.4
    So, there are two suspicious facts about the behavior of router Y:
    It does not modify the next-hop attribute when advertising the eBGP routes along with MPLS labels via iBGP to another internal BGP neighbor.
    It does not allocate its own local MPLS label bindings, rather it simply re-advertises the labels as allocated by router Z, resulting in label value conflicts and misrepresentations
    An interesting fact is that after adding the command neighbor 10.1.255.1 next-hop-self to the router's Y configuration, the behavior becomes correct again:
    Y(config)# router bgp 1
    Y(config-router)# address-family ipv4
    Y(config-router-af)# neighbor 10.1.255.1 next-hop-self
    Y(config-router-af)# do show ip bgp label
       Network          Next Hop      In label/Out label
       10.2.12.0/24     192.168.1.2     24/16
       10.2.23.0/24     192.168.1.2     25/17
       10.2.34.0/24     192.168.1.2     31/18
       10.2.45.0/24     192.168.1.2     27/imp-null
       10.2.255.1/32    192.168.1.2     26/19
       10.2.255.2/32    192.168.1.2     28/20
       10.2.255.3/32    192.168.1.2     29/21
       10.2.255.4/32    192.168.1.2     30/22
       10.2.255.5/32    192.168.1.2     32/imp-null
    On Z:
    Z# show ip bgp labels
       Network          Next Hop      In label/Out label
       10.2.12.0/24     10.1.255.5      nolabel/24
       10.2.23.0/24     10.1.255.5      nolabel/25
       10.2.34.0/24     10.1.255.5      nolabel/31
       10.2.45.0/24     10.1.255.5      nolabel/27
       10.2.255.1/32    10.1.255.5      nolabel/26
       10.2.255.2/32    10.1.255.5      nolabel/28
       10.2.255.3/32    10.1.255.5      nolabel/29
       10.2.255.4/32    10.1.255.5      nolabel/30
       10.2.255.5/32    10.1.255.5      nolabel/32
    Router Y is a 2811 currently running 2800 Software (C2800NM-ADVIPSERVICESK9-M), Version 12.4(24)T6. I have originally came across this behavior with 12.4(24)T4. I have confirmed that this behavior is not present with ADVENTERPRISEK9-M 12.4(22)T, so if this is a bug, it must have been "added" in some intermediate versions.
    I currently do not have any option of testing newer IOSes from the 15.x series, as the router does not have the inordinate 512MB of RAM necessary for those IOS versions so I apologize for not testing this behavior on the most recent releases.
    Did anyone experience similar behavior? Is this really a bug? Will this be corrected in 12.4T train yet? Thank you for all suggestions!
    Best regards,
    Peter

    Hello Giuseppe,
    Thank you very much for your answer. I am not sure I understand it correctly - please let me reexplain my major point and let me ask you for your kind advice.
    Issue 1:
    All routers are configured with send-label, neither of them is configured with next-hop-self. Router Y receives labeled BGP routes from router X and the show ip bgp labels displays the following table:
    Y# show ip bgp labels
       Network          Next Hop      In label/Out label
       10.2.12.0/24     192.168.1.2     nolabel/16
       10.2.23.0/24     192.168.1.2     nolabel/17
       10.2.34.0/24     192.168.1.2     nolabel/18
       10.2.45.0/24     192.168.1.2     nolabel/imp-null
       10.2.255.1/32    192.168.1.2     nolabel/19
       10.2.255.2/32    192.168.1.2     nolabel/20
       10.2.255.3/32    192.168.1.2     nolabel/21
       10.2.255.4/32    192.168.1.2     nolabel/22
       10.2.255.5/32    192.168.1.2     nolabel/imp-null
    Note that while router Y knows remote bindings for these networks (the "Out label" column), it has not created any local label bindings to these networks (the "In label" column says nolabel to all networks). I can assume that this is done to prevent assigning local labels to BGP routes that may eventually be routed through a different ASBR and possibly misunderstood en route. In other words, the local label binding has a local significance only. If there is no guarantee the packets will go through Y (without the next-hop-self), local label bindings on Y should not be created nor advertised. Am I correct in this line of reasoning?
    Issue 2:
    With the same configuration, router Y has advertised the BGP routes to router Z, however, it has retained the same label bindings it has learned itself - i.e. Y has not created any local bindings itself, it just "forgot" to remove the label bindings when advertising the routes to router Z:
    Z# show ip bgp labels
       Network          Next Hop      In label/Out label
       10.2.12.0/24     192.168.1.2     nolabel/16
       10.2.23.0/24     192.168.1.2     nolabel/17
       10.2.34.0/24     192.168.1.2     nolabel/18
       10.2.45.0/24     192.168.1.2     nolabel/imp-null
       10.2.255.1/32    192.168.1.2     nolabel/19
       10.2.255.2/32    192.168.1.2     nolabel/20
       10.2.255.3/32    192.168.1.2     nolabel/21
       10.2.255.4/32    192.168.1.2     nolabel/22
       10.2.255.5/32    192.168.1.2     nolabel/imp-null
    Note that the outgoing labels on Z are exactly the same as with router Y. This is in my opinion a bug. Take, for example, the route towards 10.2.255.2. The bottom label will be 20, the upper label will be a label towards 192.168.1.2. In my particular topology, the PHP will pop this transport label correctly before the router Y, and Y will receive a packet labeled with label 20. However, on Y, the 20 is not a mapping assigned to the 10.255.255.2, as BGP has not created any local bindings itself, and instead, the label 20 corresponds to a totally different network somewhere inside the cloud between routers Y and Z, as evidenced by the following output on Y:
    Y# show mpls forwarding-table
    Local  Outgoing      Prefix            Bytes Label   Outgoing   Next Hop
    Label  Label or VC   or Tunnel Id      Switched      interface
    16     Pop Label     192.168.1.2/32    0             Fa0/0      192.168.1.2
    17     Pop Label     10.1.255.4/32     0             Fa0/1      10.1.45.4
    18     20            10.1.255.3/32     0             Fa0/1      10.1.45.4
    19     19            10.1.255.2/32     0             Fa0/1      10.1.45.4
    20     18            10.1.255.1/32     0             Fa0/1      10.1.45.4
    21     16            10.1.12.0/24      0             Fa0/1      10.1.45.4
    22     17            10.1.23.0/24      0             Fa0/1      10.1.45.4
    So the mere fact that the BGP on Y did not create local bindings is kind of understandable, however, the fact that it retained the remote label bindings as learned from X and advertised them without change to Z is, in my opinion, a grave bug. What is your opinion on this?
    Thank you very much!
    Best regards,
    Peter

  • ICal and Addressbook connecting to eGroupware - various bugs?

    Hi all,
    given CalDAV and CardDAV as standardized protocols, it shouldn't be too much of a problem to connect to private calendar and addressbook servers, you'd think... For some year's I'm running a eGroupware server, and while this product is far from being bug free, I believe it's basically massive bugs in Apple's Ca*DAV protocols that keep the synchronization from working. Let's start with iCal:
    Originally, eGroupware's CalDAV implementation returned fully qualified URIs (like https://www.example.com/egroupware/calendar/) for all kinds of properties, e.g. calendar-home-set. As a result, iCal sent requests with the path //www.example.com/egroupware/calendar - i.e. instead of properly parsing the URI, it just stripped off the protocoll indicator and tried to treat the remaining string as a path.
    As the CalDAV standard doesn't make any hint if URIs should be supplied as fully qualified or relative URIs, returning full URIs seems to be the safer bet, and iCal's reaction on this is IMHO as clearly a bug as it can be. Nevertheless, I patched eGroupware to supply relative URIs, and hey ho, iCal integrates fine with eGroupware now. By the way, eGroupware has some hard coded behaviour to supply only the events of one month back by default, but you can patch that behaviour as well, of course.
    Now to Addressbook, and that's where I'm beyond my wits First of all, it is not possible to configure a CardDAV server in Addressbook itself, as the GUI is massively broken (just try to setup a CardDAV server https://www.example.com/egroupware/addressbook/ and you'll end up with a configured URL https://www.exmaple.com:443/egroupware/addressbook/:443<null> or something even more broken. You need to edit the file "Application Support/AddressBook/Sources/78E03291-22C9-4E27-9852-8480AD6A0F03/Configuration. plist" manually.
    Now, still Addressbook sends a PROPFIND requst for current-user-privilege-set to /directory/ to the server. Don't know what kind of result the programmers expected from this, but on my CalDAV server nothing at all resides under that path, also it's not mentioned in the CalDAV as a general concept. After it got a 405 Method Not Allowed to this request, Addressbook continues sending more sensible requests, so it might not be an actual problem - I'm not sure.
    Next is a PROPFIND query for addressbook-home-set to /egroupware/groupdav.php/addressbook/ wich is a perfectly expected behaviour from the standard. But first, the server replies with 401 Unauthorized. Addressbook then repeats the request, this time including the correct HTTP BASIC authentication information. Now, the server tries its best to handle this request according to standards. I quote the full response here, perhaps some pro spots a mistake in the response I'm to dumb to see:
    HTTP/1.1 207 Multi-Status
    Date: Sun, 06 Sep 2009 14:51:58 GMT
    Server: Apache/2.2.12 (Debian)
    X-Powered-By: PHP/5.2.10-2.2
    Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
    Pragma: no-cache
    Expires: Thu, 19 Nov 1981 08:52:00 GMT
    X-Dav-Powered-By: eGroupWare CalDAV/CardDAV/GroupDAV server
    X-WebDAV-Status: 207 Multi-Status
    Content-Length: 486
    Keep-Alive: timeout=15, max=100
    Connection: Keep-Alive
    Content-Type: text/xml; charset="utf-8"
    <?xml version="1.0" encoding="utf-8"?>
    <D:multistatus xmlns:D="DAV:">
    <D:response xmlns:ns0="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/" xmlns:ns1="urn:ietf:params:xml:ns:carddav">
    <D:href>/egroupware/groupdav.php/addressbook/</D:href>
    <D:propstat>
    <D:prop>
    <ns1:addressbook-home-set><D:href>/egroupware/groupdav.php/addressbook/</D:href ></ns1:addressbook-home-set>
    </D:prop>
    <D:status>HTTP/1.1 200 OK</D:status>
    </D:propstat>
    </D:response>
    </D:multistatus>
    I read the CardDAV RFC over and over again, but this seems to be as correct a response as you could wish. Note: out of the box eGroupware doesn't generate the D:href sub-element to ns1:addressbook-home-set but directly puts the URI as content of that element. This is not correct according to the CardDAV standard, but iCal is ignoring exactly the same mistake of the CalDAV implementation of eGroupware. It doesn't make a difference for Addressbook either - both variants lead to the error message 'Von CardDAV-Server Fehler (207) für den Benutzer "xxx" erhalten.' This is a strange message to show, as 207 is not an error code. Of course I patched eGroupware to return 200 OK as HTTP status (contradicting the standard), and hey ho, in Konsole you'll see an error message stating "Expected multi-status response but got status code: 200".
    So - Addressbook actually expects and checks for 207 Multi-Status, i.e. the message on the GUI is giving us no indication on the actual problem. Some easy checks proved that Addressbook wouldn't react any different if the server replies with plain nonsense (e.g. syntax errors in the XML file). So, obviously, Addressbook can't cope with an aspect of the response it gets, fails to generate any log or message box about the problem, and sets a misleading error indication on the GUI.
    And now? Does anybody have a good hint what could Addressbook make work here? When can fixes to iCal and Addressbook realistically be expected, if at all?

    Hello Pelzi,
    Same problem here with iCal an eGroupware. Since I opgraded to SnowLeopard, my Calander isn't syncing anymore.
    *iCal sends this:*
    PROPFIND //192.168.3.199/egroupware/groupdav.php/calendar/ HTTP/1.1
    Host: 192.168.3.199
    User-Agent: DAVKit/4.0 (729); CalendarStore/4.0 (965); iCal/4.0 (1362); Mac OS X/10.6 (10A432)
    Authorization: Basic ******
    Depth: 1
    Content-Type: text/xml
    Content-Length: 143
    Connection: keep-alive
    <?xml version="1.0" encoding="utf-8"?>
    <x0:propfind xmlns:x0="DAV:">
    <x0:prop>
    <x0:getetag/>
    <x0:resourcetype/>
    </x0:prop>
    </x0:propfind>
    *And Groupdav replies:*
    HTTP/1.1 405 Method Not Allowed
    Date: Mon, 07 Sep 2009 13:41:34 GMT
    Server: Apache/2.2.3 (Linux/SUSE)
    Vary: accept-language,accept-charset
    Accept-Ranges: bytes
    Keep-Alive: timeout=15, max=100
    Connection: Keep-Alive
    Transfer-Encoding: chunked
    Content-Type: text/html; charset=iso-8859-1
    Content-Language: en
    1e
    <?xml version="1.0" encoding="
    af
    ISO-8859-1"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <head>
    <title>Method not allowed!</title>
    <link rev="made" href="mailto:"[email protected]" />
    <style type="text/css"><!--/--><![CDATA[/*><!--/
    body { color: #000000; background-color: #FFFFFF; }
    a:link { color: #0000CC; }
    p, address {margin-left: 3em;}
    span {font-size: smaller;}
    /]]>/--></style>
    </head>
    <body>
    Method not allowed!
    The
    PROPFIND
    method is not allowed for the requested URL.
    If you think this is a server error, please contact
    the webmaster.
    If anyone has a solution?
    Message was edited by: HansH8

  • Is the Refactor Bug fixed in 11.1.2?  I really need an Oracle opinion...

    Hello Everyone:
    I have been trying to utilize the performance enhancing Best Practise of creating a re-usable Business Components .jar file for everyone to use that creates a JDeveloper Application.
    This re-usable .jar file, originally created in 10g, had hours and hours of work spent on functionally grouping entities using refactor, re-naming ambiguously named database constraints into understandable descriptive associations using refactor, creating display types of checkBox and Uppercase (in Control Hints), include any simple Validations and labelling each and every column for inclusion in projects (in Control Hints). The intent was to have this Entity layer ready and done for people to pick up and use. Create their View Objects from, and fly from there. Every other tool we have used for Application Development has allowed us to have a database layer that is created once and then used by everyone.
    Unfortunately, we have not been flying with JDeveloper and there appears to be a Bug in the Refactor functionality. We started creating this .jar file in 10.1.3.3 and migrated it to 11.1.1.4 which is what we are still on.
    I believe that we are still having residual code from the 10g Refactor problem and it is detailed in this pretty much ignored (except for 2 kind individuals) forum post. These two individuals confirmed that they too have to go in and MANUALLY change the .xml files after refactoring using a "trail and error" method.
    Getting "Unable to find referenced object" at random when opening JDev
    So I have come to the conclusion that we need to start from scratch and re-do all this work. This question is to ask if the factoring in 11.1.2 works correctly. According to the following documentation (http://docs.oracle.com/cd/E16162_01/web.1112/e16182/refactoring.htm) Table 37.1, we SHOULD be able to do this with no problem.
    Because 11.1.2 now allows a database such as ours that does NOT have pre-populated keys (Primary keys from model (6894412)), I am figuring that I should re-do everything in 11.1.2 from scratch. So I am asking here if
    1) Has anyone done a LOT of refactoring in 11.1.2 and know it to work?
    2) Any input on the start from scratch approach?
    3) Is there some shortcuts to allow me to use things such as manipulating the code from the 10g Message Bundle files into the ModelBundle file so that all those months and months of work are not completely lost?
    4) If anyone knows how to easily bring over Display_Type = checkBox code from what I already have in our current 11.1.1.4 .jar file to a new, from scratch, 11.1.2 Business Components .jar file?
    I appreciate any response. To note, we have not converted over to 11.1.2 because we are waiting for the JHeadstart release that supports it as we use JHeadstart.
    Thanks very much.
    Mary
    UofW

    Frank:
    I am not trying to run anything in JHeadstart. I am only in the Model layer trying to create the re-usable Business Components that will eventually be imported into projects - some using Jheadstart, others not.
    The errors I am getting are explained in this post Getting "Unable to find referenced object" at random when opening JDev When I open JDeveloper and HAVE AN ASSOCIATION OPEN IN THE EDIT PANE, then I will get a "unable to reference object" error on some associations. This appears to be caused by our use of refactor in 10g in these entities which was then migrated over to 11g. 2 other people in that thread confirmed that they have had problems with refactor. There is a lot more detail in that thread.
    I am not sure what your Proof of Concept comment means. I am assuming POC means Proof of Concept. Correct me if I am wrong. Are you saying that Oracle is not aware that there has been a refactor problem and want me to check it out? I was hoping for some reassurance that Oracle was aware that there were problems with refactor in 10g, and they have been fixed in 11.1.2.
    Is Oracle not aware there have been problems with refactor and has anyone used refactor A LOT in 11.1.2 and know it to work correctly?
    Is starting from scratch the best idea?
    Are there any ideas about shortcuts to help me use the code that has had hours and hours of time invested in it and bring it over to 11.1.2?
    If you want me to check it out will I get Oracle consulting fees? :)
    Thanks.
    Mary
    UofW

  • Script to work around Illustrator bugs

    Newbee here,   We are working in Illustrator CS5.  I have put together some scripts & Actions to automate several parts of our work.
         I'll start with what we have now.  Plus what we have now works on both Mac & PC & if there is a way to work around these BUGS it will need to work on both the Mac's & PC's.
    1)  We have an .ai file (our default format) that we can open up & inside some text will automatically fill in when we run a script. (see custom script at bottom) Some text boxes will fill in the date based on the present date on our computer, some text boxes will fill in a name based on the name of the electronic .ai file.
    See red boxes.
    One difficulty that I worked out is, sometimes in one of the fields in the file, it needs to have a name consisting of only 4 sections (or 3 dashes). In example:  ILSLIM = 1,  EXAMPLE = 2, TEST = 3, & AA01 = 4.
    So when this happens then the last dash in this one text box on our format (Not any of the other text boxes) will need the 3rd dash removed (now it is only 3 sections because TESTAA01 are now one).
    So I created an Illustrator "Action" that will after the "ChangeFileNameDate" script is run, the "Action" will select the one text box & then run the "Find and Replace" to delete the 3rd dash as seen above.
    NOW THE PROBLEMS!  (Illustrator bugs)
    1)  In the Illustrator "Actions" when you record an "Action" & use the "Insert Menu Item..." to put a Script in, it will work.  BUT when you quit out of Illustrator & then relaunch it the custom Script will disappear. I looked into this & this is a known bug for years in Illustrator that is still not fixed.
    http://js4ai.blogspot.com/2012/03/how-to-permanently-tie-script-to-action.html
    Works untill you quit out & relaunch.
    BEFORE QUIT.
    AFTER RELAUNCH.
    SO the only work around I can get to work for now is to "Insert Menu Item..." "Other Script..." & this will stay even after relaunch BUT then every time we run the "Action" we have to manually select the script. (CRAP)
    Still here after relaunch.
    PLUS A BUG with recording the "Find and Replace".  In case you do not know, when you save "Actions" in Illustrator you can; save any of the actions that require a dialog box; 1) to either have the dialog box come up so you can enter whatever you need into it or 2) you can have the dialog box NOT come up & the action will just do what it had in it when you recorded it.  This feature is turned on or off by clicking the box next to the check mark on or off (see pic).
    So the BUG is, for my "Actions" that use the "Find and Replace" to delete the dash to work for some reason I have to have the first "Find and Replace" steps dialog botton ON so that the "Find and Replace" dialog box will open up.
         Let me explain, when you record to use the "Find and Replace" it will work fine even with the dialog box option clicked off; but if you quit Illustrator & then relaunch it & try to run the "Actions" that have the "Find and Replace" in them then Illustrator will crash.  So the only work around that I found for this CRAPPY BUG is to simply have the 1st "Find and Replace" in the recorded "Action" with the dialog box set to on (to open up when Action is run) & then we have to manually close it.  We don't have to type anything inside of it.  We simply have to have it open & then close.  Then for some reason the rest of the recorded "Actions" will run with out the dialog boxes opening with the deleteing of the 3rd dash as like when I 1st recorded it.
         So basically, if I want the "Actions" to work at this point I would have to do this;  every time I relaunch Illustrator I would need to manually load the custom script into the "Actions" & I would need to open & close the "Find and Replace" box.  This is CRAP the whole point of "Actions" & Scripts are so I can do everything MANUALLY, NO.  We should be able to have it work for us!
    OR maybe this would be the best solution!
         If inside the "ChangeFileNameDate" custom script it could simply open & then close the "Find and Replace" box (that would solve the crashing with "Find and Replace" in "actions")  then the custom script could cause the "Action" to play instead of the "Action" causing the custom script to play.  Then all we would have to do is drag down to the custom script from "File" & run that.  No crashing, No babysitting.
    DOES ANYONE KNOW HOW OR IF THIS IS POSSIBLE?  To add to the attached script:
    1)  At the beginning to open & close the "Find and Replace" box.
    2)  At the end to cause a saved "action" to run.
    WE WOULD BE SO VERY, INCREDIBLY, EXTREMELY GRATEFUL!
    //////////////////////////////////////////////////////////// english //
    // -=> WR-DateAndTime <=-
    // A Javascript for Adobe Illustrator
    // by Wolfgang Reszel ([email protected])
    // Version 0.9 from 22.9.2011
    // This script inserts the actual date or the actual time to a
    // predefined position in the document.
    // To define the position, you'll have to create an textobject and
    // execute this script while the object is selected. The whole object
    // has to be selected and not words or letters. You can mark more
    // objects, if you select each object separate and execute
    // the script on it.
    // With the placeholders {DATE} and {TIME} you are able to define a
    // particular point, where the date or the time should be replaced.
    // If there is no placeholder in the textobject
    // "{FILENAME}{FILEEXT} ({DATE}, {TIME})" will be used as standard placeholders.
    // To update the date and time execute this script without any object
    // selected.
    // There are some additional placeholders:
    //   {FILE}     - complete document-filename with path
    //   {FILEPATH} - only the documents filepath
    //   {FILENAME} - the filename of the document
    //   {FILEEXT}  - the file extension of the document inclusive dot
    // On my system this script can't see the path of the document, when
    // it was opened directly from windows Explorer (double click).
    // In Illustrator CS it is now possible to edit a DateAndTime-Object.
    // To enable the english messages and date-format change the "de"
    // into "en" in line 90.
    // Sorry for my bad english. For any corrections send an email to:
    // [email protected]
    //////////////////////////////////////////////////////////// Deutsch //
    // -=> WR-DateAndTime <=-
    // Ein Javascript fuer Adobe Illustrator
    // von Wolfgang Reszel ([email protected])
    // Version 0.9 vom 30.9.2011
    // Dieses Skript fuegt das aktuelle Datum und die aktuelle Uhrzeit an
    // eine vorher bestimmte Stelle im Dokument ein.
    // Um eine Stelle zu bestimmen, muss man ein Textobjekt erzeugen, es
    // markieren und dann dieses Skript aufrufen. Es muss das gesamte Objekt
    // ausgewaehlt sein, nicht etwa Buchstaben oder Woerter. Es lassen sich
    // nacheinander auch mehrere Objekte als Datum/Uhrzeit markieren.
    // Mit den Platzhaltern {DATE} und {TIME} (in geschweiften Klammern)
    // kann man bestimmen, wo genau im Text das Datum und die Uhrzeit
    // erscheinen soll. Sind die Platzhalter nicht vorhanden, wird
    // automatisch "{FILENAME}{FILEEXT} ({DATE} - {TIME})" verwendet.
    // Zum Aktualisieren des Datums/Uhrzeit muss man dieses Skript aufrufen
    // wenn kein Objekt ausgewaehlt ist.
    // Es gibt noch einige zusaetzliche Platzhalter:
    //   {FILE}     - kompletter Dateiname mit Pfad
    //   {FILEPATH} - nur der Verzeichnispfad des Dokuments
    //   {FILENAME} - der Dateiname des Dokuments
    //   {FILEEXT}  - die Dateiendung des Dokuments inklusive Punkt
    // Auf meinem System kann der Pfad nicht ermittelt werden, wenn das
    // Dokument vom Windows Explorer geoeffnet wird (Doppel-Klick).
    // InÿIllustrator CSÿkann man nun ein Datum/Uhrzeit-Objekt bearbeiten.
    // Um dieses Skript mit deutschen Meldungen und Datumsformat zu
    // versehen, muss in Zeile 90 das "en" durch ein "de" ersetzt werden.
    // Verbesserungsvorschlaege an: [email protected]
    //$.bp();
    var language="en";   // "de" fuer Deutsch
    var WR="WR-DateAndTime v0.9\n\n";
    var AIversion=version.slice(0,2);
    if (language == "de") {
      var format_preset = "{FILENAME}{FILEEXT} ({DATE} - {TIME})";
      var MSG_unsetmark = WR+"Dieses Objekt ist als aktuelles Datum/Uhrzeit markiert, soll die Markierung aufgehoben werden?";
      var MSG_setmark = WR+"Soll dieses Textobjekt als aktuelles Datum/Uhrzeit markiert werden?";
      var MSG_askformat = WR+"Soll das Textobjekt als Datum/Uhrzeit formatiert werden? Formate:\n{DATE}, {TIME}, {FILE}, {FILEPATH}, {FILENAME} und {FILEEXT}:"
      var MSG_editformat = WR+"Datums-/Uhrzeitformat bearbeiten (Leer = entfernen). Formate:\n{DATE}, {TIME}, {FILE}, {FILEPATH}, {FILENAME} und {FILEEXT}:"
      var MSG_notexto = WR+"Kein Textobjekt!";
      var MSG_selectedmany = "Zum Markieren als aktuelles Datum/Uhrzeit darf nur ein Textobjekt ausgew\xE4hlt sein und falls Sie die Daten aktualisieren wollen, darf kein Objekt ausgew\xE4hlt sein.";
      var MSG_nodocs = WR+"Kein Dokument ge\xF6ffnet."
      var Timeformat = 24;
      var TimeSep = ":";
      var AM = " am";
      var PM = " pm";
      var Dateformat = "dd.mm.yyyy";
    } else {
      var format_preset = "{FILENAME} ({DATE}, {TIME})";
      var MSG_unsetmark = WR+"This object is marked as actual date'n'time, do you want to remove the mark?";
      var MSG_setmark = WR+"Do you want to mark the selected textobject as actual date'n'time?";
      var MSG_askformat = WR+"Do you want to mark the textobject as actual date'n'time? Formats:\n{DATE}, {TIME}, {FILE}, {FILEPATH}, {FILENAME} and {FILEEXT}:"
      var MSG_editformat = WR+"Edit date'n'time (empty = remove). Formats:\n{DATE}, {TIME}, {FILE}, {FILEPATH}, {FILENAME} and {FILEEXT}:"
      var MSG_notexto = WR+"No textobject!";
      var MSG_selectedmany = "To mark as actual date'n'time, you have to select only one textobject. If you want to update the date'n'time-objects, there must be no object selected.";
      var MSG_nodocs = WR+"You have no open document."
      var Timeformat = 12;
      var TimeSep = ":";
      var AM = " am";
      var PM = " pm";
      var Dateformat = "yyyymmdd";
    var error=0;
    if (documents.length<1) {
      error++;
      alert(MSG_nodocs)
    if (error < 1) {
      date_n_time();
    function TodayDate()
      var Today = new Date();
      var Day = Today.getDate();
      var Month = Today.getMonth() + 1;
      var Year = Today.getYear();
      var PreMon = ((Month < 10) ? "0" : "");
      var PreDay = ((Day < 10) ? "0" : "");
      if(Year < 999) Year += 1900;
    var theDate = Dateformat.replace(/dd/,PreDay+Day);
    theDate = theDate.replace(/mm/,PreMon+Month);
    theDate = theDate.replace(/d/,Day);
    theDate = theDate.replace(/m/,Month);
    theDate = theDate.replace(/yyyy/,Year);
    theDate = theDate.replace(/yy/,Year.toString().substr(2,2));
    return theDate;
    function TodayTime()
      var Today = new Date();
      var Hours = Today.getHours();
      var Minutes = Today.getMinutes();
      var Suffix = "";
      if (Timeformat == 12) {
        if (Hours >= 12 ) {
    Suffix = PM;
    } else {
    Suffix = AM;
    if (Hours >= 13) {
    Hours = Hours - 12;
    if (Hours < 1) {
    Hours = Hours + 12;
      var PreHour = ((Hours < 10) ? "0" : "");
      var PreMin = ((Minutes < 10) ? "0" : "");
      return PreHour+Hours+TimeSep+PreMin+Minutes+Suffix;
    function DateUpdate(Name) {
      var docpath = activeDocument.path.fsName;
      var docname = activeDocument.name.replace(/(.*?)(?:\.([^.]+))?$/,'$1');
      var extension = activeDocument.name.replace(/(.*?)(?:(\.[^.]+))?$/,'$2');
      if (docpath.slice(2,3) == "\\") {
        docsep = "\\";
      } else {
        docsep = ":";
      var content = Name.slice(11);
      var content = content.replace(/\{FILE\}/,docpath+docsep+docname);
      var content = content.replace(/\{FILEPATH\}/,docpath);
      var content = content.replace(/\{FILENAME\}/,docname);
      var content = content.replace(/\{FILEEXT\}/,extension);
      var content = content.replace(/\{DATE\}/,TodayDate());
      var content = content.replace(/\{TIME\}/,TodayTime());
      return content;
    function date_n_time()
      if (selection.length == 1) {
        if (selection[0].typename == "TextArtItem" || selection[0].typename == "TextFrame") {
          if (selection[0].name.slice(0,11) == "actualDate:") {
            dateformat = selection[0].name.slice(11);
            Check = false;
            if (AIversion == "10") {
              Check = confirm( MSG_unsetmark );
            } else {
              dateformat = prompt(MSG_editformat, dateformat);
            if(dateformat != "" && Check) {
              selection[0].contents = selection[0].name.slice(11);
              selection[0].name="";
              selection[0].selected = false;
            if(dateformat == "" && !Check) {
              selection[0].name="";
              selection[0].selected = false;
            if(dateformat && dateformat !="" && !Check) {
              selection[0].name="actualDate:"+dateformat;
              selection[0].contents = DateUpdate(selection[0].name);
          } else {
            dateformat = selection[0].contents;
            if(dateformat.search(/\{DATE\}/) == -1 && dateformat.search(/\{TIME\}/) == -1 && dateformat.search(/\{FILE[A-Z]*\}/) == -1) dateformat = format_preset;
            Check = false;
            if (AIversion == "10") {
              Check = confirm( MSG_setmark );
            } else {
              dateformat = prompt(MSG_askformat, dateformat);
            if (dateformat || Check) {
              selection[0].name="actualDate:"+dateformat;
              selection[0].contents = DateUpdate(selection[0].name);
              selection[0].selected = false;
        } else {
          alert ( MSG_notexto );
      } else if (selection.length > 1) {
        alert ( MSG_selectedmany );
      } else {
        if (AIversion == "10") {
          var textArtItems = activeDocument.textArtItems;
          for (var i = 0 ; i < textArtItems.length; i++)
            if (textArtItems[i].name.slice(0,11) == "actualDate:") {
              textArtItems[i].selected = true;
              textArtItems[i].contents = DateUpdate(textArtItems[i].name);
        } else {
          var textFrames = activeDocument.textFrames;
          for (var i = 0 ; i < textFrames.length; i++)
            if (textFrames[i].name.slice(0,11) == "actualDate:") {
              textFrames[i].selected = true;
              textFrames[i].contents = DateUpdate(textFrames[i].name);

    Carlos or anyone,  I've been working on several ideas & think that I have come up with the best approach to work around these bugs.  But need it to work in java script.
    1)  In AppleSript I can build a script that will trigger an "Action" to run.  The "Action" will select an object by its "Attributes" "Note".  The selected text box in picture is called "UPPER FORDDOC NAME" so it will select this object only.
    activate application "Adobe Illustrator"
    on doAction(scriptName, actionSet)
              tell application "Adobe Illustrator"
      do script scriptName from actionSet
              end tell
    end doAction
    tell application "Adobe Illustrator"
              tell me to doAction("Save Part # Delete -", "TIC Color 03-13-12")
    end tell
    Can this be done in Java?
    If so then:
    2)  I built an AppleScript that can open the "Find and Replace" then simply close it; by using "System Events" to select the keystrokes.
    Is this possible to do in Java with out buying an extra program?  This AppleScript works great but need it to work also on the PC's.
    activate application "Adobe Illustrator"
    tell application "System Events"
      tell process "Adobe Illustrator"
      --This is the quick key to open the "Find and Replace" window
      keystroke "K" using {command down, shift down, option down}
      delay 1
      --This is the esc key
      key code 53
      end tell
    end tell
    I HOPE SO ssssssssoooooooo MUCH!

  • Bug with VI Template (.vit) behavior with express VI's in LV8.6.

    Hello,
    I have an application that was originally coded in LabVIEW 8.0, Windows XP.  One part of the program utilizes a VI template (.vit) to open multiple instances of a subVI for the user.  In versions prior to 8.6, when the VI was called via the VI server and then closed pragmatically, it did not spawn a "Save Changes..." dialog.  Upon upgrading the application from LabVIEW 8.5 to 8.6.1 the "Save VI..." dialog shows up when the .vit subVI's are closed.  After investigating the behavior, I have determined that inclusion of Express VI's (I haven't tested them all, but I've tested several) cause the "Save VI..." dialog to open when closing the .vit pragmatically.  What's interesting is that it exhibits this aberrant behavior even if the express VI is in the disabled pane of the diagram disable function.  (I thought that's supposed to remove the code from compilation completely?).
    I've attached an example program that illustrates the behavior.  Run "Call Template.vi". Select either the subVI with or without the express VI in the diagram disable function.  Note that when closing the VI via the "stop" button with the express function the "Save Changes..." dialog opens and it does not with the express VI absent.  I have only seen this behavior since upgrading to LabVIEW 8.6.1.
    My only current workaround is to remove all express VI's from my application.  Luckily this has been possible however I have had to use the "File Dialog" compatibility primitive (instead of the express VI file dialog) which claims not to be supported.  It took a while to find that function: I had to find an old program and copy the vi.
    Any other suggestions on fixing this issue?
    Attachments:
    VIT Bud lv8.6.zip ‏32 KB

    F. Schube,
    Excellent idea however there are a couple reasons this wouldn't work:
    1) I want the user to be able to close a sub-window without having to terminate the entire Application Instance.  There are other VI's running in the same instance that can't be closed.  So I can't really use this event.
    2)  For strictly academic reasons, I coded it up to see if it would work.  Even with Silent Shutdown wired as true, you still get the "Save Changes..." dialog when the event fires.  (It turns out the best way to get the event to fire is killing LabVIEW with the task manager.)  I've attached the modified example.
    Attachments:
    VIT Bug lv8.6.zip ‏39 KB

Maybe you are looking for

  • How to recover purchased music from itunes store

    my pc crashed and i had to reinstall itunes...i lost all of my purchsed items from the itunes music store....how can i get them back? they are still on the ipod, but not in itunes....also itunes won't recognize my ipod.....please help!!!!

  • Date from the given week nr and year

    hi to all With weeknr, yearnr i need to find STARTDATE (first day of the week), ENDDATE (last day of the week) The first day of the week is always a Monday. example 44 2007 week nr is 44 year is 2007 how to find it. is there any standard function mod

  • ORA-00600 [qmxtriCheckAndRewriteQb0] in 10.2.0.4 - NO_XML_QUERY_REWRITE

    In 10.2.0.4 on Windows, I'm getting an error ORA-00600 [qmxtriCheckAndRewriteQb0]. Does not occur in 11g. This sounds similar to bug 6491175 Stack overflow/dump under qmxtriCheckAndRewriteQb_rec from XDB, which suggests the workaround of SELECT /*+ N

  • ACS Wildcard Certificate Install for PEAP

    Does ACS support Wildcard certificate authentication, such as *.domain.com?  We installed the certificate through ACS using CA, but when using wireless devices, the certificate is still not verified.  Any information would be helpful before we go and

  • If My iPod Mini were to be STOLEN..

    If my iPod were to be STOLEN, do you think Apple can track the iPod through it's Serial Number, if the person tries to install iTunes/iPod onto their computer?   Windows XP Pro