JSF Design Time View Not working correctly for ADF/JSF components

My project is not using any external tag libraries. It is based purely on ADF core/html and JSF core/html components. The design time view does not show the appropriate presentation, everything is shown as nexted frame containers (I suppose how you would show a component that does not have a visual representation).
If I create a new project and copy my jsp (jsf) pages over they show perfectly. I did this activity and all was going well in the new project and then I lost the design time view again. I cannot tell you what I did to cause the issue, maybe it was a modification to the web.xml as has been suggested in some other threads. Can anyone tell me what I should be looking for that causes this problem, what corrective actions I might take to eliminate the issues

Ok I have isolated this issue. In my phase listener I had this line of code:
private static final Logger _logger =  Logger.getLogger(EigRequest.class.getPackage().getName());
and I changed it to
private static final Logger _logger =
Logger.getLogger(EigRequest.class.getName());
and design mode started to work. I guess either of the above works for me although I do not understand why the line works when you run the application but not in design mode.
Moral to the story is if something fails in any one of these types of decorators you will drop into a raw view mode. The question I have is if errors are occuring how do I figure out where they may be. There is no indication that anything is wrong with the exception that you lose most of the design mode functionality.
This was not a compile issue, this was not a runtime issue. It took me quite a few hours of writing a test program to validate that it was not just writing a phase-listener issue; then launching, editing, relaunching the application to find the problem. I will say that a good portion of the code came from a Eclipse project. If you add the offending lines of code while using JDeveloper you do not loose design mode immediately. You only see the problem the next time you start JDeveloper which complicates finding the problem.

Similar Messages

  • Sorting not working correctly for date field in alv report

    Hi All,
    My report displays many rows also containing date type fields of bldat,budat .
    When I sort the report selecting field of type bldat budat the sorting is not correct for the year.
    Ex:
    Invoice doc dat
    01-25-2011
    01-21-2011
    02-02-2011
    10-25-2010
    11-20-2010
    If I use ascending then it is sorted as :
    Invoice doc dat
    01-21-2011
    01-25-2011
    02-02-2011
    10-20-2010
    10-25-2010
    Why the sorting is not working correct for year.(2010 records should have been first).
    The field wa_tab-bldat is of type char10.
    It is populated as wa_tab-bldat = bsak-bldat.
    Kindly suggest what can be done.

    The field wa_tab-bldat is of type char10
    Then what it does is correct.
    Refer to type datum...it will work

  • Email pushing not working correctly for office email - 3 seperate devices/carriers

    We switched email hosts several months ago and since our email pushing has not worked correctly. Our host/IT guy has been very unwilling to help me through this (I get the pleasure of being the in-house IT source)
    I personally am on AT&T have no problems with the other 3 emails I have set up on my blackberry. However I receive my work account one time a day at roughly 6:15. Another user is on Alltel and he receives spotty emails throughout the day, but his gmail account comes through instantly. The third user is on nextel and he receives his 2-3 times per day.
    I began to think this was an email host issue since the three of us are all on different carriers, until I found out a fourth user, also on nextel, receives his emails fine.
    Users 1-3 are on Outlook 07 on various versions of the Curve. We have all our messages to stay on the server.
    User 4 is on the older nextel blackberry push to talk, and is not on outlook. 
    We do not have an exchange server. Our emails were all set up through our devices.
    Any suggestions? The answers I have received through our carriers is to make sure that our messages are set to be left on the server. Everyone else at the office has given up - but for me this is the quest for the Holy Grail.......I'm determined find the answer!
    Thank you in advance for any suggestions.
    Caitlin Talbot 

    Potential solution for windows for a side-by-side install. This works for me.
    To setup a firefox install side by side so that links from external programs (like email) can open (so you don't get a "Firefox is already running but is not responding" message) do the following.
    The solution entails the use of the -no-remote switch. Don't use it for the default browser. Use it for the non default browser.
    I'll use firefox 3.6 and firefox 4.0 as examples but this should work for future versions.
    + Install firefox 3.6 and Firefox 4.0 in different directories. Eg.
    C:\Program Files\Mozilla Firefox\firefox.exe
    C:\Program Files\Mozilla Firefox 4\firefox.exe
    + Open profile manager. Start > Run : firefox.exe -ProfileManager
    + In profile manager create Two Profiles.
    firefox3.6
    firefox4
    + In profile manager select firefox 4 as your default (assuming you want to default to the latest) and tick "Don't ask at startup"
    + Create two windows shortcuts.
    * General: Mozilla Firefox 4 (default). Shortcut > Target: "C:\Program Files\Mozilla Firefox 4\firefox.exe". Shortcut > Start In: "C:\Program Files\Mozilla Firefox 4"
    * General: Mozilla Firefox 3.6. Shortcut > Target: "C:\Program Files\Mozilla Firefox\firefox.exe" -p firefox3.6 -no-remote. Shortcut > Start In: "C:\Program Files\Mozilla Firefox"
    That's it. Links from external programs should now open in your default browser.
    Further details see. [http://kb.mozillazine.org/Opening_a_new_instance_of_your_Mozilla_application_with_another_profile Opening a new instance of your Mozilla application with another profile]

  • 'Get Variant' button not working correctly for report

    Hi,
    I have created an internet service for a custom report.  For some reason, when I click the 'Get Variant' button I get a popup, but it does not have any entries to choose from.  It is blank.  In SE80, the button works correctly.  Any ideas?

    I figured it out myself.  I didn't have the parameter ~webgui set.

  • JSP Custom tag not working correctly for multiple users

    I am doing some support work for an existing web system. When doing single user access (a custom tag is called within the JSP); the output of the Custom tag is fine. However, during multiple user access to the JSP, as I could see on the log files, 2 users access the custom tag at exactly the same time- the output of one of the users was incorrect. The custom tag btw, uses TreeMap, Stringbuffer and does not have a body, only attributes passed to it. It takes an input file and a Hashmap as input attributes and it sets a string in the page context which is later being used in the JSP. No error is logged, its just that the string produced(placed in the page context) is incorrect. This only happens when this tag is called at same time(when multiple users accessing the page) Has anyone encountered this problem? Is there a known pooling/thread problem with custom tags?

    in a servlet/jsp (a jsp is compiled into a servlet),
    the class atrributes are shared. only the
    variables declared in the doservice (doGet or doPost)
    method are threadsafe.
    post your jsp plzhere's the snippet of the jsp code:
    <%@ page language="java"
    errorPage="Error.jsp"
    autoFlush="false"
    buffer="128kb"
    import="java.text.*,
    java.math.BigDecimal,
    java.rmi.RemoteException,
    java.util.*,
    java.io.*,
    %>
    <%@ include file="Secure.jsp" %>
    // a set of request.getParameter are being called here
    HashMap myMap = new HashMap();
    myMap.put(xmlDPhoneNumber, dPhoneNumber);
    myMap.put(xmlDPhoneType, "D");
    myMap.put(xmlDPhoneExt, dExtension);
    myMap.put(xmlDPhoneDigits, dPhoneDigits);
    // other myMap putting of key values are called here
    %>
    <test:applyCustomerSearchValues id="resultXml" xmlTemplate="/xml/message/CustomerUpdateRequest.xml"
    xmlMap="<%= myMap %>" />
    <test:transformXMLString id="customerUpdateRequest"
    xmlString="<%= resultXml.toString() %>"
    xslFileName="/xsl/message/CustomerCreateRequest.xsl"
    paramMap="<%= PMap %>"/>
    now here's the thing: the xml produced by test:applyCustomerSearchValues is resultXml which is used in test:transformXMLString. I got no problem with the output of test:transformXMLString. I am sure that a phone number is being passed into the former as part of the HashMap key-value. However when test:applyCustomerSearchValues is called when 2 users access the jsp, it seems like the the first xml produced does not have the phone number in it - but the other has it. The xml is OK for both users, its just that the values of the HashMap do not seem to be passed correctly into the xml produced.
    --- here's the snippet of the log, the first httpWorkerThread-80-6 does not have the phone number, however the second one-httpWorkerThread-80-7 has the phone number. The first one should also have a phone number as in the start of the log, the number was listed, but as the system called the test:applyCustomerSearchValues tag, the number was not included. There are different phone numbers for the 2 users. The odd thing here is, the userID which is the 'LastUpdatedBy' element has been set correctly. The userID is being fetched from a session attribute while the phone number is fetched from a request parameter, both are being placed in the HashMap attribute passed to the custom tag.
    2007-06-05 10:55:41,954 DEBUG [httpWorkerThread-80-6] (?:?) - ApplyCustomerSearchValuesTag : String produced is :<Values><Customer>
    <Status>
         <CustomerType></CustomerType>
         <FirstContactDate>2007-06-05</FirstContactDate>
         <StatusFlags>
              <Fraud>N</Fraud>
              <BadCheck>N</BadCheck>
              <BadCredit>N</BadCredit>
              <DoNotMerge>N</DoNotMerge>
              <ARHoldRefundCheck>N</ARHoldRefundCheck>
         </StatusFlags>
         <LastUpdatedDateTime>2007-06-05 10:55:41</LastUpdatedDateTime>
         <LastUpdatedBy>5555</LastUpdatedBy>
         <OPAlertClass></OPAlertClass>
         <MailListStoreID></MailListStoreID>
         <OriginatingSource>CSA</OriginatingSource>
    </Status>
    <DPhone id="D">
         <DPhoneNumber></DPhoneNumber>
         <DPhoneDigits></DPhoneDigits>
         <DPhoneType></DPhoneType>
         <DExtension></DExtension>
         <DAreaCode></DAreaCode>
         <DPhoneCountryCode></DPhoneCountryCode>
    </DPhone>
    </Customer>
    </Values>
    2007-06-05 10:55:41,954 DEBUG [httpWorkerThread-80-7] (?:?) - ApplyCustomerSearchValuesTag : String produced is :<Values><Customer>
    <Status>
         <CustomerType>N</CustomerType>
         <FirstContactDate>2007-06-05</FirstContactDate>
         <StatusFlags>
              <Fraud>N</Fraud>
              <BadCheck>N</BadCheck>
              <BadCredit>N</BadCredit>
              <DoNotMerge>N</DoNotMerge>
              <ARHoldRefundCheck>N</ARHoldRefundCheck>
         </StatusFlags>
         <LastUpdatedDateTime>2007-06-05 10:55:41</LastUpdatedDateTime>
         <LastUpdatedBy>1840</LastUpdatedBy>
         <OPAlertClass></OPAlertClass>
         <MailListStoreID></MailListStoreID>
         <OriginatingSource>CSA</OriginatingSource>
    </Status>
    <DPhone id="D">
         <DPhoneNumber>(123) 123-4788</DPhoneNumber>
         <DPhoneDigits>1231234788</DPhoneDigits>
         <DPhoneType>D</DPhoneType>
         <DExtension></DExtension>
         <DAreaCode>123</DAreaCode>
         <DPhoneCountryCode>US</DPhoneCountryCode>
    </DPhone>
    </Customer>
    </Values>
    Message was edited by:
    Mutya

  • ATP FUNCTIONALITY NOT WORKING CORRECTLY FOR ATO Model

    Guru's,
    Currently I am facing issue in ATP Inquiry to arrive at schedule ship date, we have set up an ATO Model and its low-level parts for multi level ATP, including ATP rules, item attributes, bom attributes, and lead times and ATP check is based on planned output and enabled 24X7 plan.
    When try to perform ATP inquiry either from ASCP/OM responsibility, Instead of showing complete drill down of material constraint at the part level, it "stops" at the model level and shows no availability until the inifinte supply timefence, then unlimited availability after that.
    I was earlier able to view the complete ATP pegging details with ATP dates well within ITF, but however when we re run the plan to include additional SO the above behavior is observed.
    Can some one help me to reslove the issue, as I am not sure what exactly which is triggering this behavior.
    Thanks,

    Thanks for the reply, but this note was not addressing the above stated issue. In this note for matched configuration, they are not able to view pegging else they are able to perform multilevel atp check.
    Can anyone help me to reslove this issue.
    Thanks
    Edited by: user604737 on Jun 18, 2011 4:48 AM
    Edited by: user604737 on Jun 19, 2011 11:50 PM

  • [Solved] calibre ebook-viewer not working correctly

    In the last few days the ebook-viewer packaged along with calibre has started behaving strangely by inserting gaps or spaces randomly all over books. Calibre itself and the other tools seem to be OK.
    EDIT: Screenshots
    Calibre's ebook-viewer: http://i.imgur.com/ypGBTlI.png
    Calibre's ebook-editor: http://i.imgur.com/WnPjFkx.png (Note - no spaces in the source files or rendering of the page)
    After looking around for a bit - I've discovered that the newest version of calibre switched from the regular releases (which on Arch stopped at version 1.40) to beta releases (Arch package version 1.204.1-2).
    It seems the official Arch package is now the beta of calibre.
    I've tried downgrading to previous version and the newset one that works is the 1.40 version.
    I would very much like to have the latest, official version of calibre rather than the old 1.40.
    Unfortunately calibre seems like a complex beast.
    I suspect the problem is with qt5-webkit (that I guess is what is rendering the book.)
    This must be a **new** dependency as I don't have a version installed before August 3rd when calibre was upgraded.
    $ grep -i qt5-calibre /var/log/pacman.log
    [2014-08-03 11:34] [PACMAN] upgraded calibre (1.40.0-1 -> 1.204.0-1)
    $ grep -i qt5-webkit /var/log/pacman.log
    [2014-08-03 11:34] [PACMAN] installed qt5-webkit (5.3.1-1)
    I don't have an older version - I only have qt5-webkit-5.3.1.
    Calibre dependencies
    chmlib
    icu
    imagemagick
    libmtp
    libusbx (libusb)
    libwmf
    podofo
    pyqt4-common
    python2-apsw
    python2-chardet
    python2-cherrypy
    python2-cssselect
    python2-cssutils
    python2-dateutil
    python2-dnspython
    python2-html5lib
    python2-lxml
    python2-mechanize
    python2-netifaces
    python2-pillow
    python2-psutil
    python2-pyqt5
    python2-six
    qt5-svg
    qt5-webkit
    shared-mime-info
    ipython2 (optional) - to use calibre-debug
    python2-pycountry (make)
    qt5-x11extras (make)
    There seems to be a strange mix of qt4 and qt5 here:
    pyqt4-common, python2-pyqt5, qt5-svg, qt5-webkit, qt5-x11extras
    What I would like is to have the latest version of calibre 1.47 and have it nicely integrated with Arch rather than just install it somewhere in my home directory and maintain it manually.
    Unfortunately I'm stumped and I have no idea how to do that.
    Is anyone else having problems with the beta calibre and its ebook-viewer?
    Can anyone offer some suggestions or help out?
    Last edited by bhrgunatha (2014-08-08 06:39:16)

    Scimmia wrote:
    Calibre 1.xx simply won't build with current versions of pyqt4. The official package had to either stay at 1.40 or jump to the 2.0 betas. The maintainer decided to package the betas.
    It's working perfectly here. I wonder if it's simply a font problem.
    I've tried changing fonts (both Serfi and Sans Serif) and sizes but it's the same for any font I choose at any size.
    Since 1.40 uses pyqt4 and calibre now won't work with that, then perhaps its a problem on my system with the mix of qt4 and qt5.
    Maybe I'm missing some vital qt5 library?
    $ pacman -Qs qt5
    local/attica-qt5 5.0.0-1 (kf5)
    local/libdbusmenu-qt5 0.9.3+14.10.20140619-1
    local/phonon-qt5 4.7.2-1
    local/phonon-qt5-gstreamer 4.7.2-1
    local/polkit-qt5 0.112-1
    local/pyqt5-common 5.3.1-1
    local/python2-pyqt5 5.3.1-1
    local/qt5-base 5.3.1-1 (qt qt5)
    local/qt5-declarative 5.3.1-1 (qt qt5)
    local/qt5-location 5.3.1-1 (qt qt5)
    local/qt5-quickcontrols 5.3.1-1 (qt qt5)
    local/qt5-script 5.3.1-1 (qt qt5)
    local/qt5-sensors 5.3.1-1 (qt qt5)
    local/qt5-svg 5.3.1-1 (qt qt5)
    local/qt5-webkit 5.3.1-1 (qt qt5)
    local/qt5-x11extras 5.3.1-1 (qt qt5)
    local/qt5-xmlpatterns 5.3.1-1 (qt qt5)
    Last edited by bhrgunatha (2014-08-07 02:41:28)

  • Database file views not working correctly

    I have recently set up an Access database on my local
    coldfusion server. When I go to the application panel and go to the
    'databases' tab, I can see a list of my databases just fine. The
    problem is that, when I open the individual tables of a database
    I've created, the files show up as the path to the file and not the
    file name as it normally should. For example, I'm working through a
    lynda.com tutorial and have build a database called 'teacloud'.
    When I open the teacloud tables in Dreamweaver, they should show
    the individual names of the tables, like the following:
    Products
    ProductTypes
    Reviews
    Users
    UserTypes
    Instead, I get the following:
    C:\CFusionMX7\wwwroot\database\teacloud.Products
    C:\CFusionMX7\wwwroot\database\teacloud.ProductTypes
    C:\CFusionMX7\wwwroot\database\teacloud.Reviews
    C:\CFusionMX7\wwwroot\database\teacloud.Users
    C:\CFusionMX7\wwwroot\database\teacloud.UserTypes
    How do I get rid of the file path structure to where
    Dreamweaver simply shows the Table name only? This is very
    annoying, as it prevents me from being able to see the individual
    table names in many of the functions within Dreamweaver.

    The problem was introduced during the CF 7.01 update. I
    understand that the
    7.02 update fixes the issue.
    Paul Whitham
    Certified Dreamweaver MX2004 Professional
    Adobe Community Expert - Dreamweaver
    Valleybiz Internet Design
    www.valleybiz.net
    "JTuran" <[email protected]> wrote in
    message
    news:f0lhv9$1p9$[email protected]..
    >I have recently set up an Access database on my local
    coldfusion server.
    >When
    > I go to the application panel and go to the 'databases'
    tab, I can see a
    > list
    > of my databases just fine. The problem is that, when I
    open the
    > individual
    > tables of a database I've created, the files show up as
    the path to the
    > file
    > and not the file name as it normally should. For
    example, I'm working
    > through
    > a lynda.com tutorial and have build a database called
    'teacloud'. When I
    > open
    > the teacloud tables in Dreamweaver, they should show the
    individual names
    > of
    > the tables, like the following:
    >
    > Products
    > ProductTypes
    > Reviews
    > Users
    > UserTypes
    >
    > Instead, I get the following:
    >
    > C:\CFusionMX7\wwwroot\database\teacloud.Products
    > C:\CFusionMX7\wwwroot\database\teacloud.ProductTypes
    > C:\CFusionMX7\wwwroot\database\teacloud.Reviews
    > C:\CFusionMX7\wwwroot\database\teacloud.Users
    > C:\CFusionMX7\wwwroot\database\teacloud.UserTypes
    >
    > How do I get rid of the file path structure to where
    Dreamweaver simply
    > shows
    > the Table name only? This is very annoying, as it
    prevents me from being
    > able
    > to see the individual table names in many of the
    functions within
    > Dreamweaver.
    >

  • Filter Between in QAAWS not working correctly for period, how to resolve?

    I created universe based on query on bw and then created query in QaaWs.
    I trying to query summary of sale amount for the periods that selected on the prompts screen.
    I put sale amount in Result Ojbects pane and put periods in Filter Objects pane.
    And set periods option to prompts in between. When I entry periods 008.2009 - 009.2009
    The result of sale amount is not correct. It's seem only show the value of one period.
    Does anybody know about this issue and maybe how to resolve?
    Thanks.

    Hello David,
    I use an OLE DB connection to a MS SQL Server 2005.
    Connection Details say:
    Version 2.0.0.29
    Build 12.1.0.882
    Network Layer OLE DB
    DBMS Engine MS SQL Server 2205
    Database used is MS AdventureWorksDW sample database (data warehouse sample)
    I noticed that only with this database, ranking is selectable (not with the AdventureWorks non-DW sample database).
    Ranking itself seems to work, if I activated ranking (e.g. Top 10 customers) everything is ok.
    (Also if I  send a direct SQL command with ranking to the DBMS, it seems ok.)
    Issue arise if I add year filter. Combination of rank and year filter does not seem to work properly.
    Any idea why? Or do you wanted to say that this issue might also be related to DBMS support? I would hope / expect to get a straight "ranking not supoorted" and not incorrect data back ...
    Thanks for your answer anyway!
    Regards,
    Stefan

  • PSE 11 - MacOX 10.7.5  -MORE-Printer and Profiles Not Working Correctly for first print

    As suggested by adobe support contacted Epson.   What I expected no help.  Since it works ok with PSE10, PSE 9, CS5 it could not be their problem. 
    However PSE 11 have changed something in the sequence of events.
    I then downloaded a trial version of Lightroom 4.   no problem everything works.
    I have been offered a refund for PSE11.     That is not encourageing.  Does that mean wait for PSE12?????
    I developed a bypass - every time I start up PSE11  I just print a dummy image thumb nail size.   then go on to regular printing and all works.
    original discussion
    Macosx 10.7.5
    When I start up PSE11  and go to print I set up the paper size then select a Printer Profile.  When print the image it is a mess and seem to be black and white it is as if I printed on the wrong side of the paper.
    I then go and try to print it again.   Now it all works as it should beutiful colours and spot on.  all other print following this works.
    Then I shut down PSE11.   Start it up again.  Guess what  first print is a mess again.   all others after are fine.
    I uninstalled PSE11, deleted prefs.  and reinstalled PSE11.    Same thing..   first print a mess all others ok.
    the issue can be replicated consistantly......
    no problems with PSE10 or PSE9
    any suggestions?????
    cheers elo

      It does seem like strange behavior but thanks for sharing the work around.

  • Album view not working correctly

    I just bought two albums via the Store (first two albums by Men At Work). Whenever I view them, iTunes insists on separating the first track from all the other tracks. (It does this in all three viewing modes - List, Grid, or Cover Flow.)
    The albums themselves are organized as they should be...iTunes isn't actually separating the albums, only the viewing of them. (Meaning, if I play the first track, then let it go, it'll go on to the second track, just like any other album.) What's going on? How can I stop iTunes from doing this?
    Also, in List mode, iTunes only does this when I tell it to show the Artwork column. Why would it do this? The album art itself is exactly the same for all tracks.
    Neither of these are compilations, BTW. Also, the tracks all have exactly the same name for the artist, album artist, etc. (Believe me, I checked that too.)

    Did you look at One album, still too many covers? Select all the tracks from one of the albums, change the Artist & *Album Artist* to *Men At WorkX* and add a trailling X to the Album title. On the Sorting tab put ticks against the *Sort Artist*, *Sort Album Artist* & *Sort Album* boxes then click OK to apply the changes. This should merge the album into one entity. Now put back the back the correct values and the album should stay joined up.
    tt2

  • Pre-approved Overtime (IT2007) Not Working Correctly for Night Shift WSR

    Hi All,
    I have come across this issue in pre-approved overtime (IT2007) for night shift WSR.
    The planned working time for an employee on 04-Jan-14 is from 22:30, 04-Jan-14 to 06:30, 05-Jan-14.
    The employee clocks in at 22:30 on 04-Jan-14 and continues work till 10:30 on 05-Jan-14. Hence, he has worked 4 hours of overtime from 6:30 am - 10:30 am on 05-Jan-14 for the night shift of 04-Jan-14.
    A pre-approved overtime quota was created in IT2007 for 05-Jan-14 from 06:30 am to 10:30 am.
    However, the overtime doesn't get calculated because in IT2007, there is no previous day indicator to assign 06:30 am - 10:30 am on 05-Jan-14 to the night shift of 04-Jan-14.
    The time pair in TIP table of 04-Jan-14 will have overtime timings from 30.5000 to 34.5000.
    The overtime approval will be for 05-Jan-14 from 6.5000 to 10.5000. Hence, there won't be any overtime wage types generated.
    If there was previous day indicator in IT2007, then the pre-approval timings will be from 30.5000 to 34.5000. This will ensure the pre-approved overtime timings will match with the overtime worked and will generate overtime.
    Please refer the below screenshot for reference.
    It seems that this issue was reported last year too in SCN. Below is the link for the same:
    http://scn.sap.com/thread/3343292
    I have raised this issue with SAP and waiting for their response. So far, it hasn't been satisfactory.
    Does anyone have any solution to this?
    Thanks and regards,
    Vivek Barnwal

    Hi Johannes,
    SAP actually provides a standard functionality for this requirement. Actually, it was stupid of me not to do enough research and come to the conclusion that this is not possible in standard SAP.
    For pre-approved overtime for night shift where timings are considered, please write as below:
    GOT  TO20   01   TEX
    TEX will ensure that the approval for next date gets considered for current day.
    I hope this resolves your query.
    Thank and regards,
    Vivek Barnwal

  • Additional Results Condition Not Working Correctly For Parameters

    TestStand 2014
    Trying to log a parameter only if the step status is "Failed" won't log the parameter when the step actually fails.  However, variables with the same condition will log just fine.
    The attached sequence demonstrates this.  Basically I have a subsequence that returns a random number and a string as parameters.  I use the random number to evaluate against my limits for the test call.  I want to log the string parameter only if the step fails.  So I set it as an additional result and set the condition to
    Step.Result.Status == "Failed"
    The data never shows on the report.
    But when I put an explicit additional result with the same local variable and put the exact same condition it shows on the report when the step fails.
    I'm baffled as to why parameters won't log with this condition but explicit additional results work just fine with the same condition.
    Any thoughts?
    Thanks,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~
    Solved!
    Go to Solution.
    Attachments:
    ParameterWontLog.seq ‏7 KB

    The condition for the parameter's additional result is evaluted before the sequence call's status is set to failed. The 'out' parameter additional results are probably being evaluated right after the code module call, so if the the step's status isn't changed by the code module call, then it will still be "Running".
    I can see how it would be nice if it worked the way you are asking, but keep in mind for in/out parameters it's typically the same expression/variable in both the 'in' and 'out' additional result, so the time at which the result is logged is important. It has to be done before the code module call for 'in' parameters and after the code module call for 'out' parameters in order to accurately reflect the state of the variables at those points in time. I think the intent is that the additional result for parameters should reflect the state of the variables at the point in time immediately right before the call for 'in' parameters and immediately after the call for 'out' parameters. Thus if you want to conditionally log a value based on the status (where the status is not changed directly by the code module), then using a regular additional result like you discovered is probably the best way to go.
    Perhaps for out parameters we could delay logging until the very end, but that might result in a change in behavior if the variable state changes again before that. If you would like for us to consider that or have another idea for how to handle this better please let us know or perhaps post something to the Idea Exchange.
    Another possibility is that we could temporarily log the results before and after the code module call, but then not evaluate the condition until the very end and throw out the logged result if the condition is false. That might still cause a change in behavior though if the "Value to Log" expressions have side-effects.
    Hope this helps clarify things.
    -Doug

  • ToComp is not working correctly for Particular and Element 3d (pics included to demonstrate problem)

    So, Im using AE CS6. The two plugins concerned are Element 3d and Trapcode Particular.
    Im going to include alot of information since I'm not sure what would come in handy to know to solve this.
    The final goal is to have the particle emitter follow the left wing of the object when the object is moved using the null named 'Scythe'. (See first photo)
    'Scythe' is the brownish null at the center of the object.
    I have used the follwing expression line on the Particles X,Y emitter:
    thisComp.layer("Element Position 2").toComp([0,0,0]);
    'Element Position 2' is the green Null you see in this picture, and is also the proper position for the particle emitter.
    http://imgur.com/qtucKAx
    However, when this expression is applied it moves the emitter location. As shown in the following picture.
    http://imgur.com/uSezbYY
    The emitter is only in the proper location on the first frame (first pic), on the second frame (second pic) and every frame afterwards, it is elavated to another position.
    Can someone help me correct the new position without manually adjusting the ([0,0,0]) value in the expression line?

    If I am not mistaken, the null you are trying to use is parented. You need to use toWorld instead of toComp.

  • HFR Range from and to - Not working correctly for hierarchies?

    Hi All,
    Can anyone help me with my below issue relating to ranges in Oracle’s Hyperion Financial Reporting Studio tool.
    The issue I’m experiencing is that when I create a report and use the ‘Add Relationship’ -> ‘Range’ option for my month dimension, the correct months are returned as long as the start month and end month are not the same.
    In our setup we have 2 month hierarchies, one for the fiscal year (July to June) and another for the calendar year (January to December). The problem that I’m noticing in the report, is that when I enter a range from July to July, that instead of returning July, it returns July, August, September, October, November, December, January, February, March, April, May, June, July. My though it that it is looping through both the fiscal and the calendar hierarchies to return the range, instead of only the fiscal hierarchy. Both these hierarchies have the same members, however ordered differently.
    Does anyone know of a way to resolve this within HFR?
    I noticed that when creating the range, there is an option to ‘select a hierarchy’. At the moment there is only 1 choice ‘ Period’, however I’m curious if I could create and link a hierarchy to the fiscal hierarchy, that this might resolve the problem?
    Any ideas?
    Thanks,
    Lance

    Hi Lance,
    IIRC Range uses the first (main) hierarchy - so you'll need to move the Fiscal year one to be first in the outline.
    Cheers, Iain

Maybe you are looking for

  • Object EXTERNAL_TABLE does not exist???

    I've written the following function that references an external table within the same schema. When I try to execute the function, it returns an error that "object EXTERNAL_TABLE does not exist" I've also tried creating a view that points to the exter

  • Kernel Panic any idea?

    Hello, in the moment I clicked on a folder alias in Dock, screen went black, and I got the note "your computer restarted because of a problem ......". Never happened before, Mac Mini, late 2012, 2,3 i7, 16GB ram, Yosemite 10.10.3. Any idea about that

  • Javascript won't run in EP page

    Hi - can anyone help me with this javascript error?  Line:82 Char:1 Error: Object expected code:0 url:  <too long>

  • OS-X maintanence vs. MacJanitor/Cronaid

    I know that OS-X runs daily, weekly and monthy maintanence when the computer is left on all night, ie desktops. Not many of us leave our laptops on during that period so that the maintanence isn't ever run. You can buy 3rd party programmes like MacJa

  • IPhone 5 camera issue.... NEED HELP please

    I just got this iPhone 5 camera issue. I was taking pictures (around 20 pictures), suddenly the camera only focused downward (to the ground). Even I raised the iphone higher and focused to the head of person that stood in front of me, but the camera