Set request attributes from the request attributes

Using struts chaining actions.
When using chaining the requestAttributes are lost.
Is there a way to get all the request attributes and set them back to the request again?
if so how to do this?
Thanks.

Looks like nobody knows :(
It seems odd that nobody's tried to get InputSelectLOV or DataHandler working with a Struts app...
... anyway, on to finding out why the thing's throwing my releasemode away. This really is very like swimming through treacle :(

Similar Messages

  • Putting an attribute into the request/session/servletContext

    Hello,
    I would like to add an attribute into the request (or session or servletContext) from JSF. Is that possible? If so how? (I want the equivalent of request.addAttribute only the request object is not available in JSF).
    Thanks in advance,
    Julien.

    you can use <f:param> in combination with the command link component or directly put it with FacesContext.getCurrentInstance().getExternalContext().getRequestParameterParm().put(..)

  • WCF :Consider marking the type with the CollectionDataContractAttribute attribute or the SerializableAttribute attribute or adding a setter to the property

    Hi All,
    Currently I am working in a WCF project here when I try to send data from WCF Project 1 to WCF project 2 I am getting the below error.
    The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://tempuri.org/:subscriber. The InnerException message was 'The use of type 'Integra.Business.ICC.ObjectChangeTracker'
    as a get-only collection is not supported with NetDataContractSerializer.  Consider marking the type with the CollectionDataContractAttribute attribute or the SerializableAttribute attribute or adding a setter to the property.'.  Please see InnerException
    for more details.
    I don't understand what issue this is since I am new to WCF. Please help me on this thanks in advance.

    You've posted to a forum for Microsoft Project - a project management program.  Please re-post your question to the WCF forum:
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=wcf
    Sorry - I cannot seem to move your post for you.
    Julie

  • Reading the TimeZone information from the Request

    Hello,
    I am developing a web-app that is supposed to support Internationalization and Localization.
    To the best of my knowledge, only Locale information can be read from the request headers. Can anybody tell me how can I get the users TimeZone by reading the Http Request? That is the timezone of the request sent by the client browser.
    Thanks in advance.

    Thanks,
    Yes I can use the java.util.SimpleTimeZone to set and manipulate the timezone
    information, but my problem is:
    I need a technique that allows me to get the time zone of the machine(browser)
    from which the request to my application is sent from.
    The same way you do this with an HttpServletRequest object:
    request.getLocale(); What do you do if you need the the timezone too?
    Message was edited by:
    Mauvv

  • TS3297 iTunes puts up a message "The item you've requested is not currently available in the Hong Kong Store." I had not requested anything from the HK store at that point, and I have never used any store other than the HK one. How I can clear that messag

    I've been running iTunes on WinXP for years with few problems.  I have all my iTunes files on an external USB drive. I just bought a new PC running Win7, 64-bit.
    I connected the external USB drive to the new PC and installed 64-bit iTunes on it. When iTunes started up, I pointed it at the iTunes directory in the external drive, using Edit > Preferences > Advanced > iTunes Media Folder Location. It showed a progress bar that it was updating the iTunes Library. I signed in and authorized the new machine. I have one spare authorization.
    Then iTunes put up a message "The item you've requested is not currently available in the Hong Kong Store." I had not requested anything from the HK store at that point, and I have never used any store other than the HK one.
    When I click OK, the iTunes Store page remains blank, apart from saying "iTunes Store" in the middle of the page.
    I went to "View My Account" and pressed the Reset button to "Reset all warnings for buying and downloading items", but that doesn’t fix this particular warning. I also tried Edit > Preferences > Advanced > Reset Warnings and Rest Cache.
    But still, every time I click the “App Store” button in the iTunes Store window, the message appears. If I click the Books, Podcasts or iTunesU buttons, these display normally.  So I’m stuck with being unable to purchase apps, other than through my iPad and iPhone.
    If I move the external drive back to the XP machine, the same thing happens.  If I go to another PC - a notebook running Vista - everything is normal.
    Any idea how I can clear that message?
    Thanks for any help you can offer.

    Further info on my question above.
    I have tried re-validating my credit card, which apparently fixed it for some. 
    I have also tried uninstalling, re-downloading and installing again.
    Neither of these steps fixed the problem.

  • Reflection: attributes from the base class

    Is there a way to get the attributes from the base class of a derived class via reflection? I only found methods to get the attributes from the derived class.
    Example:
    class A
    int a = 4;
    class B extends A
    int b = 5;
    Object unknown = new B();
    Code/Idea to get all attributes from baseclass A using unknown (here: a=4)?

    Thank you all for your hints. The mistake I make, was to use the baseclass, and not the derived class for getting the attributes. By using an extra parameter of type class I got all attributes in their context.
       private StringBuffer getDump(Object obj, Class cl)
             dmp.append(cl.getName() + " {\n");
             Field[] attribute = cl.getDeclaredFields();             <--- only the fields of the current class
             for (int j = 0; j < attribute.length; j++)
                attribute[j].setAccessible(true);
                try
                   if (attribute[j].getType().isPrimitive() || attribute[j].getType() == String.class)
                      dmp.append(attribute[j].getName() + "=" + attribute[j].get(obj) + "\n");
                   else
                      if (((attribute[j].getModifiers() & Modifier.STATIC) != Modifier.STATIC) &&
                          (attribute[j].getType().getName().startsWith("java.lang") == false) &&
                          ((attribute[j].getModifiers() & Modifier.FINAL) != Modifier.FINAL))
                         dmp.append(getDump(attribute[j].get(obj), attribute[j].get(obj).getClass())); <- recursive call
                catch (IllegalAccessException ex)
                   ex.printStackTrace();
             dmp.append("}");
          return dmp;
       }

  • Service Request disappears from the list of My Service Requests after changing status to In process

    Service Request disappears from the list of My Service Requests after changing status to In process
    Incident manager (resp.) > Agent Dashboard

    Hi,
    As far as I know, this is a new feedback, Please vote this customer voice, here is the link:
    http://feedback.azure.com/forums/216926-service-bus/suggestions/6062851-batching-in-rest-api, or create a new voice at azure feedback forum:
    http://feedback.azure.com/forums/34192--general-feedback
    Best Regards,
    Jambor
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Issue on deployment: Solution Deployment : Missing one or more of the following attributes from the root node in solution .wsp: assembly '', type ''

    Hi,
    I have the following issue when deploying:
    Solution Deployment : Missing one or more of the following attributes from the root node in solution .wsp: assembly '', type ''
    The solution is a farm solution (was never sandbox) and it deploys fine.
    It was updated several times with success. We did not see this issue until recently when we had some other issue (unrelated) and looked at the logs. The solution is updated without problem and updates are available for the user. But we can see this error
    in the logs at the update time. 
    Any idea what might cause this?
    Pop Anisia

    Hi,
    This error is wide meaning, as it can come from differences between SP versions, variables types used, bad manifest file, WebConfiguration ...
    You can try to redeploy the solution.
    retracted the solution,removed all the previous ref, removed dll from GAC and folder from 14\features and reset the iis, deploying it again.
    Here are some similar issue post, you can use as a reference:
    https://social.technet.microsoft.com/Forums/office/en-US/72ac9a02-3a51-48b8-9e36-3b24a2d4da74/missing-one-or-more-of-the-following-attributes-from-the-root-node-in-solution-alertbdcwsp?forum=sharepointgeneralprevious
    https://social.technet.microsoft.com/Forums/office/en-US/331af288-5ba6-48a7-9e9d-ac4e4bc8f8fa/missing-one-or-more-of-the-following-attributes-from-the-root-node-in-solution-xxxwsp-assembly-?forum=sharepointdevelopmentprevious
    In additional, you can check the ULS log (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS) to get the detailed information.
    I hope this helpful.
    Best Regards,
    Lisa Chen
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Requesting pages from the index page cause the the webserver to hang

    Whenever I request pages from the main osx server page(ie my page or wikis) it cause the web server to hang for a minute or so before giving me the page. It also stops the server from sending pages to anyone else.
    If I go directly to any of the wikis by typing the address into the navbar I get no problems.
    here is the info from the log file.
    oxy_http.c(1920): proxy: HTTP: serving URL http://127.0.0.1:8086/
    [Wed Sep 16 15:58:59 2009] [debug] proxy_util.c(1991): proxy: HTTP: has acquired connection for (127.0.0.1)
    [Wed Sep 16 15:58:59 2009] [debug] proxy_util.c(2047): proxy: connecting http://127.0.0.1:8086/ to 127.0.0.1:8086
    [Wed Sep 16 15:58:59 2009] [debug] proxy_util.c(2145): proxy: connected / to 127.0.0.1:8086
    [Wed Sep 16 15:58:59 2009] [debug] proxy_util.c(2300): proxy: HTTP: fam 2 socket created to connect to 127.0.0.1
    [Wed Sep 16 15:58:59 2009] [debug] proxy_util.c(2406): proxy: HTTP: connection complete to 127.0.0.1:8086 (127.0.0.1)
    [Wed Sep 16 15:58:59 2009] [debug] modproxyhttp.c(1703): proxy: start body send
    [Wed Sep 16 15:58:59 2009] [debug] mod_headers.c(740): headers: apheaders_outputfilter()
    [Wed Sep 16 15:58:59 2009] [debug] modproxyhttp.c(1796): proxy: end body send
    [Wed Sep 16 15:58:59 2009] [debug] proxy_util.c(2009): proxy: HTTP: has released connection for (127.0.0.1)
    [Wed Sep 16 15:59:29 2009] [debug] modproxyhttp.c(56): proxy: HTTP: canonicalising URL //127.0.0.1:8086
    [Wed Sep 16 15:59:29 2009] [debug] proxy_util.c(1489): [client 192.168.0.103] proxy: http: found worker http://127.0.0.1:8086 for http://127.0.0.1:8086/, referer: http://wiki.intraecdpm.org/groups/cwwE/
    [Wed Sep 16 15:59:29 2009] [debug] mod_proxy.c(993): Running scheme http handler (attempt 0)
    [Wed Sep 16 15:59:29 2009] [debug] modproxyhttp.c(1920): proxy: HTTP: serving URL http://127.0.0.1:8086/
    [Wed Sep 16 15:59:29 2009] [debug] proxy_util.c(1991): proxy: HTTP: has acquired connection for (127.0.0.1)
    [Wed Sep 16 15:59:29 2009] [debug] proxy_util.c(2047): proxy: connecting http://127.0.0.1:8086/ to 127.0.0.1:8086
    [Wed Sep 16 15:59:29 2009] [debug] proxy_util.c(2145): proxy: connected / to 127.0.0.1:8086
    [Wed Sep 16 15:59:29 2009] [debug] proxy_util.c(2300): proxy: HTTP: fam 2 socket created to connect to 127.0.0.1
    [Wed Sep 16 15:59:29 2009] [debug] proxy_util.c(2406): proxy: HTTP: connection complete to 127.0.0.1:8086 (127.0.0.1)
    [Wed Sep 16 15:59:29 2009] [debug] modproxyhttp.c(1703): proxy: start body send
    [Wed Sep 16 15:59:29 2009] [debug] mod_headers.c(740): headers: apheaders_outputfilter()
    [Wed Sep 16 15:59:29 2009] [debug] modproxyhttp.c(1796): proxy: end body send
    [Wed Sep 16 15:59:29 2009] [debug] proxy_util.c(2009): proxy: HTTP: has released connection for (127.0.0.1)
    [Wed Sep 16 15:59:29 2009] [debug] modproxyhttp.c(56): proxy: HTTP: canonicalising URL //127.0.0.1:8086
    [Wed Sep 16 15:59:29 2009] [debug] proxy_util.c(1489): [client 192.168.0.103] proxy: http: found worker http://127.0.0.1:8086 for http://127.0.0.1:8086/, referer: http://wiki.intraecdpm.org/groups/ictstaff/
    [Wed Sep 16 15:59:29 2009] [debug] mod_proxy.c(993): Running scheme http handler (attempt 0)
    [Wed Sep 16 15:59:29 2009] [debug] modproxyhttp.c(1920): proxy: HTTP: serving URL http://127.0.0.1:8086/
    [Wed Sep 16 15:59:29 2009] [debug] proxy_util.c(1991): proxy: HTTP: has acquired connection for (127.0.0.1)
    [Wed Sep 16 15:59:29 2009] [debug] proxy_util.c(2047): proxy: connecting http://127.0.0.1:8086/ to 127.0.0.1:8086
    [Wed Sep 16 15:59:29 2009] [debug] proxy_util.c(2145): proxy: connected / to 127.0.0.1:8086
    [Wed Sep 16 15:59:29 2009] [debug] proxy_util.c(2300): proxy: HTTP: fam 2 socket created to connect to 127.0.0.1
    [Wed Sep 16 15:59:29 2009] [debug] proxy_util.c(2406): proxy: HTTP: connection complete to 127.0.0.1:8086 (127.0.0.1)
    [Wed Sep 16 15:59:29 2009] [debug] modproxyhttp.c(1703): proxy: start body send
    [Wed Sep 16 15:59:29 2009] [debug] mod_headers.c(740): headers: apheaders_outputfilter()
    [Wed Sep 16 15:59:29 2009] [debug] modproxyhttp.c(1796): proxy: end body send
    [Wed Sep 16 15:59:29 2009] [debug] proxy_util.c(2009): proxy: HTTP: has released connection for (127.0.0.1)
    [Wed Sep 16 15:59:59 2009] [debug] modproxyhttp.c(56): proxy: HTTP: canonicalising URL //127.0.0.1:8086
    [Wed Sep 16 15:59:59 2009] [debug] proxy_util.c(1489): [client 192.168.0.103] proxy: http: found worker http://127.0.0.1:8086 for http://127.0.0.1:8086/, referer: http://wiki.intraecdpm.org/groups/cwwE/
    [Wed Sep 16 15:59:59 2009] [debug] mod_proxy.c(993): Running scheme http handler (attempt 0)
    [Wed Sep 16 15:59:59 2009] [debug] modproxyhttp.c(1920): proxy: HTTP: serving URL http://127.0.0.1:8086/
    [Wed Sep 16 15:59:59 2009] [debug] proxy_util.c(1991): proxy: HTTP: has acquired connection for (127.0.0.1)
    [Wed Sep 16 15:59:59 2009] [debug] proxy_util.c(2047): proxy: connecting http://127.0.0.1:8086/ to 127.0.0.1:8086
    [Wed Sep 16 15:59:59 2009] [debug] proxy_util.c(2145): proxy: connected / to 127.0.0.1:8086
    [Wed Sep 16 15:59:59 2009] [debug] proxy_util.c(2300): proxy: HTTP: fam 2 socket created to connect to 127.0.0.1
    [Wed Sep 16 15:59:59 2009] [debug] proxy_util.c(2406): proxy: HTTP: connection complete to 127.0.0.1:8086 (127.0.0.1)
    [Wed Sep 16 15:59:59 2009] [debug] modproxyhttp.c(1703): proxy: start body send
    [Wed Sep 16 15:59:59 2009] [debug] mod_headers.c(740): headers: apheaders_outputfilter()
    [Wed Sep 16 15:59:59 2009] [debug] modproxyhttp.c(1796): proxy: end body send
    [Wed Sep 16 15:59:59 2009] [debug] proxy_util.c(2009): proxy: HTTP: has released connection for (127.0.0.1)
    [Wed Sep 16 15:59:59 2009] [debug] modproxyhttp.c(56): proxy: HTTP: canonicalising URL //127.0.0.1:8086
    [Wed Sep 16 15:59:59 2009] [debug] proxy_util.c(1489): [client 192.168.0.103] proxy: http: found worker http://127.0.0.1:8086 for http://127.0.0.1:8086/, referer: http://wiki.intraecdpm.org/groups/ictstaff/
    [Wed Sep 16 15:59:59 2009] [debug] mod_proxy.c(993): Running scheme http handler (attempt 0)
    [Wed Sep 16 15:59:59 2009] [debug] modproxyhttp.c(1920): proxy: HTTP: serving URL http://127.0.0.1:8086/
    [Wed Sep 16 15:59:59 2009] [debug] proxy_util.c(1991): proxy: HTTP: has acquired connection for (127.0.0.1)
    [Wed Sep 16 15:59:59 2009] [debug] proxy_util.c(2047): proxy: connecting http://127.0.0.1:8086/ to 127.0.0.1:8086
    [Wed Sep 16 15:59:59 2009] [debug] proxy_util.c(2145): proxy: connected / to 127.0.0.1:8086
    [Wed Sep 16 15:59:59 2009] [debug] proxy_util.c(2300): proxy: HTTP: fam 2 socket created to connect to 127.0.0.1
    [Wed Sep 16 15:59:59 2009] [debug] proxy_util.c(2406): proxy: HTTP: connection complete to 127.0.0.1:8086 (127.0.0.1)
    [Wed Sep 16 15:59:59 2009] [error] [client 192.168.0.103] (54)Connection reset by peer: proxy: error reading status line from remote server 127.0.0.1, referer: http://wiki.intraecdpm.org/groups/ictstaff/
    [Wed Sep 16 15:59:59 2009] [debug] modproxyhttp.c(1432): [client 192.168.0.103] proxy: NOT Closing connection to client although reading from backend server 127.0.0.1 failed., referer: http://wiki.intraecdpm.org/groups/ictstaff/
    [Wed Sep 16 15:59:59 2009] [error] [client 192.168.0.103] proxy: Error reading from remote server returned by /RPC2, referer: http://wiki.intraecdpm.org/groups/ictstaff/
    [Wed Sep 16 15:59:59 2009] [debug] proxy_util.c(2009): proxy: HTTP: has released connection for (127.0.0.1)
    [Wed Sep 16 15:59:59 2009] [debug] mod_cache.c(131): Adding CACHE_SAVE filter for /error/HTTPBADGATEWAY.html.var
    [Wed Sep 16 15:59:59 2009] [debug] mod_cache.c(138): Adding CACHEREMOVEURL filter for /error/HTTPBADGATEWAY.html.var
    [Wed Sep 16 15:59:59 2009] [debug] mod_headers.c(740): headers: apheaders_outputfilter()
    [Wed Sep 16 15:59:59 2009] [debug] mod_cache.c(528): cache: /error/HTTPBADGATEWAY.html.var not cached. Reason: Response status 502
    [Wed Sep 16 15:59:59 2009] [debug] mod_headers.c(740): headers: apheaders_outputfilter()
    [Wed Sep 16 15:59:59 2009] [debug] mod_headers.c(740): headers: apheaders_outputfilter()
    [Wed Sep 16 15:59:59 2009] [debug] mod_headers.c(740): headers: apheaders_outputfilter()
    [Wed Sep 16 15:59:59 2009] [debug] mod_headers.c(740): headers: apheaders_outputfilter()
    [Wed Sep 16 15:59:59 2009] [notice] Graceful restart requested, doing restart
    [Wed Sep 16 15:59:59 2009] [error] (9)Bad file descriptor: aprpollsetpoll: (listen)
    [Wed Sep 16 15:59:59 2009] [error] (9)Bad file descriptor: aprpollsetpoll: (listen)
    [Wed Sep 16 15:59:59 2009] [error] (9)Bad file descriptor: aprpollsetpoll: (listen)
    [Wed Sep 16 15:59:59 2009] [error] (9)Bad file descriptor: aprpollsetpoll: (listen)
    [Wed Sep 16 15:59:59 2009] [error] (9)Bad file descriptor: aprpollsetpoll: (listen)
    [Wed Sep 16 15:59:59 2009] [error] (9)Bad file descriptor: aprpollsetpoll: (listen)
    [Wed Sep 16 15:59:59 2009] [error] (9)Bad file descriptor: aprpollsetpoll: (listen)
    [Wed Sep 16 15:59:59 2009] [error] (9)Bad file descriptor: aprpollsetpoll: (listen)
    [Wed Sep 16 15:59:59 2009] [error] (9)Bad file descriptor: aprpollsetpoll: (listen)
    [Wed Sep 16 15:59:59 2009] [error] (9)Bad file descriptor: aprpollsetpoll: (listen)
    [Wed Sep 16 15:59:59 2009] [error] (9)Bad file descriptor: aprpollsetpoll: (listen)
    [Wed Sep 16 15:59:59 2009] [error] (9)Bad file descriptor: aprpollsetpoll: (listen)
    [Wed Sep 16 15:59:59 2009] [error] (9)Bad file descriptor: aprpollsetpoll: (listen)
    [Wed Sep 16 15:59:59 2009] [error] (9)Bad file descriptor: aprpollsetpoll: (listen)
    [Wed Sep 16 15:59:59 2009] [error] (9)Bad file descriptor: aprpollsetpoll: (listen)
    [Wed Sep 16 15:59:59 2009] [error] (9)Bad file descriptor: aprpollsetpoll: (listen)
    [Wed Sep 16 15:59:59 2009] [error] (9)Bad file descriptor: aprpollsetpoll: (listen)
    [Wed Sep 16 15:59:59 2009] [error] (9)Bad file descriptor: aprpollsetpoll: (listen)
    [Wed Sep 16 15:59:59 2009] [error] (9)Bad file descriptor: aprpollsetpoll: (listen)
    [Wed Sep 16 15:59:59 2009] [error] (9)Bad file descriptor: aprpollsetpoll: (listen)
    [Wed Sep 16 15:59:59 2009] [error] (9)Bad file descriptor: aprpollsetpoll: (listen)
    [Wed Sep 16 15:59:59 2009] [error] (9)Bad file descriptor: aprpollsetpoll: (listen)
    [Wed Sep 16 15:59:59 2009] [error] (9)Bad file descriptor: aprpollsetpoll: (listen)
    [Wed Sep 16 15:59:59 2009] [error] (9)Bad file descriptor: aprpollsetpoll: (listen)
    [Wed Sep 16 15:59:59 2009] [notice] Apache/2.2.11 (Unix) PHP/5.3.0 configured -- resuming normal operations
    [Wed Sep 16 16:00:04 2009] [notice] caught SIGTERM, shutting down
    [Wed Sep 16 16:00:15 2009] [notice] Apache/2.2.11 (Unix) PHP/5.3.0 configured -- resuming normal operations
    As far as I can tell it's refusing a connection from itself but what module is causing it I have no Idea. It's also mention proxy but I'm not running it. Help Please!

    I now believe maybe I'm missing files can someone tell me what the contents of the directory /Library/WebServer/Documents/collaboration-availability/ should be please ?
    I'm let to believe this from these entries.
    [Wed Sep 16 16:52:52 2009] [notice] caught SIGTERM, shutting down
    [Wed Sep 16 16:54:09 2009] [notice] Apache/2.2.11 (Unix) PHP/5.3.0 configured -- resuming normal operations
    [Wed Sep 16 16:54:20 2009] [error] [client 192.168.0.103] File does not exist: /Library/WebServer/Documents/collaboration-availability/webcal/, referer: http://wiki.intraecdpm.org/
    [Wed Sep 16 16:54:20 2009] [error] [client 192.168.0.103] Attempt to serve directory: /Library/WebServer/Documents/collaboration-availability/changepassword/, referer: http://wiki.intraecdpm.org/
    [Wed Sep 16 16:54:20 2009] [error] [client 192.168.0.103] Attempt to serve directory: /Library/WebServer/Documents/collaboration-availability/webmail/, referer: http://wiki.intraecdpm.org/
    [Wed Sep 16 16:54:20 2009] [error] (61)Connection refused: proxy: HTTP: attempt to connect to 127.0.0.1:8171 (*) failed
    [Wed Sep 16 16:54:20 2009] [error] [client 192.168.0.103] Attempt to serve directory: /Library/WebServer/Documents/collaboration-availability/emailrules/, referer: http://wiki.intraecdpm.org/
    [Wed Sep 16 16:55:22 2009] [error] [client 192.168.0.103] Attempt to serve directory: /Library/WebServer/Documents/collaboration-availability/webmail/, referer: http://wiki.intraecdpm.org/groups/
    [Wed Sep 16 16:55:22 2009] [error] [client 192.168.0.103] File does not exist: /Library/WebServer/Documents/collaboration-availability/webcal/, referer: http://wiki.intraecdpm.org/groups/

  • Measure using UseRelationship not working well when sliced with attributes from the same table

    Hi,
    I have Measure created using the 'UseRelationship' Function, which uses a different datekey to link to the DateDim than the one the table is directly related by. The measure works as expected except in one scenario.
    If I browse the measure using an attribute from the same fact table then the attribute is filtered using active relationship whereas the measure is filtered using the inactive relationship as shown below:
    FACT(2 rows)(Active Relationship to Date using DateKey1)
    SNo     DateKey1     DateKey2     Geo        Amt
    1         20100101     20120101    India      100
    2         20100101     20120101    US         200
    AmtMeasure:=CALCULATE(SUM([Amt]),USERELATIONSHIP(FACT[DateKey2],'Date'[DateKey]))
    If I browse the above measure in excel, with Year selected as 2012, I get 100+200=300. Now if I drag the Geo attribute against the measure I get 2 rows with 100 and 200.
    If I do the same in a power view report I don't get any results after dragging the Geo attribute, whereas I get the correct value of 300 without the geo attribute. I checked the DAX query which the power view generates and figured this is being caused because
    there are no rows in the table with DateKey1 having year 2012. I understand why this is happening this way in a DAX query and not in MDX, but shouldn't both behave in the same way and what is a work around.
    Thanks,
    Sachin Thomas

    Sac, is this still an issue?
    Thank you!
    Ed Price, Azure & Power BI Customer Program Manager (Blog,
    Small Basic,
    Wiki Ninjas,
    Wiki)
    Answer an interesting question?
    Create a wiki article about it!

  • [svn:fx-3.x] 11959: Removing rpc-encoded id attributes from the referent when used as a multiRef  (i.e.

    Revision: 11959
    Revision: 11959
    Author:   [email protected]
    Date:     2009-11-18 14:16:08 -0800 (Wed, 18 Nov 2009)
    Log Message:
    Removing rpc-encoded id attributes from the referent when used as a multiRef (i.e. referenced via an href attribute). These attributes should not be included in generic deserialization of types to ActionScript (e.g. when deserializing xsd:anyType).
    QE notes: Yes, this should fix the regression. We'll still need a further change to remove attributes in SOAP and XSI namespaces.
    Doc notes: N/A
    Bugs: SDK-23140
    Reviewer: Svetlin
    Tests run: Checkintests, bug test case
    Is noteworthy for integration: No
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-23140
    Modified Paths:
        flex/sdk/branches/3.x/frameworks/projects/rpc/src/mx/rpc/soap/SOAPDecoder.as

    any chance you are using atheros wifi?

  • Selecting custom attributes from the default helpdesk screen?

    Can i select and see custom attributes from the default helpdesk screen?  I dont want to have to click through to the details tab as things can and have been missed.  See picture attached.
    This topic first appeared in the Spiceworks Community

    I have worked out the issue. I was attempting to access attributes from the BOR Object "WorkItem" as opposed to elements in the workflow container. When I created a custom container element called "ReferenceID" (as the element name) and used this in my XML it worked successfully.
    I hope this helps someone else in the future.

  • TFS Integration Platform Error while Syncing - Caught and converted, The request was aborted: The request was canceled

    Hello,
    We are doing a 2-way version control sync between TFS 2013 servers. 
    TFS A - Project A is getting synched with TFS B - Project A.
    TFS A - Project A has got all the code and files, whereas TFS B - Project A is empty.
    Previously we have synced TFS 2013 projects across servers with out any error or issues. Today we came across an issue (check log at end of post) and hope Microsoft can
    provide some guidance on this. Following is the problem we are facing today:
    We have configured the TFS Integration platform tool for VC - 2 way sync and started the migration. Current
    status is that the discovery, analysis is complete and migration is half way when I started to get such errors
    (check log at end of post) .
    Note that the migration has not stopped...
    After doing some research and googling I understand that the reason for this error is that by default if
    an individual file transfer cannot complete 16MB in 5 minutes, the operation will fail. And the solution to this is to modify
    chunk size in the file of "TfsMigrationShell.exe.config". I have few questions regarding this...
    Question 1:Is
    above understanding and solution correct? I also notice that this error appears for every huge file (approx >30MB), is there any timeout setting at the target server? Is this something to be changed at the Tool level config or the Target IIS level
    config?
    Question 2: Suppose
    I do not change the config setting, then huge files are skipped due to this error. However, after the migration of the other files is finished, then, will the tool retry to sync the skipped (huge) files? Or has it skipped them forever?
    Question 3:
    Suppose I modify
    chunk size in the file of "TfsMigrationShell.exe.config", then, which of the following do I need to do (give me the best solution among the 3 below)
    a) Do I need
    to restart the migration (by deleting and recreating the project on the 2nd TFS Server and re-starting migration)? 
    b) Do
    I need to create a new configuration and restart migration?
    c) Do I need to restart the sync service?
    The concern here is that we have got 3 more jobs (TFS
    Integration tool configurations) running parallelly that
    is syncing Work Items & VC of other TFS projects and want to make sure that restarting the TFS Integration Job Service will not have any negative impact on the other jobs as well as no negative impact on the current migration job...
    Microsoft, Please advice. Thanks!
    Log:
    [1/21/2015 10:55:39 AM] AsyncUploadFileState.Completed -- caught and converted:
    [1/21/2015 10:55:39 AM] Microsoft.TeamFoundation.VersionControl.Client.VersionControlException: C:\TfsIPData\10\ications\MDM Folder\Binaries\v9.5\DMS Web Service Release 1.5.zip: The request was aborted: The request was canceled. ---> System.Net.WebException: The request was aborted: The request was canceled. ---> System.IO.IOException: Cannot close stream until all bytes are written.
    [1/21/2015 10:55:39 AM] at System.Net.ConnectStream.CloseInternal(Boolean internalCall, Boolean aborting)
    [1/21/2015 10:55:39 AM] --- End of inner exception stack trace ---
    [1/21/2015 10:55:39 AM] at System.Net.ConnectStream.CloseInternal(Boolean internalCall, Boolean aborting)
    [1/21/2015 10:55:39 AM] at System.Net.ConnectStream.System.Net.ICloseEx.CloseEx(CloseExState closeState)
    [1/21/2015 10:55:39 AM] at System.Net.ConnectStream.Dispose(Boolean disposing)
    [1/21/2015 10:55:39 AM] at System.IO.Stream.Close()
    [1/21/2015 10:55:39 AM] at System.IO.Stream.Dispose()
    [1/21/2015 10:55:39 AM] at Microsoft.TeamFoundation.VersionControl.Client.FileUploader.UploadChunk(FileStream fileContentStream, Int64 end)
    [1/21/2015 10:55:39 AM] --- End of inner exception stack trace ---
    [1/21/2015 10:55:39 AM] at Microsoft.TeamFoundation.VersionControl.Client.Workspace.EndUploadFile(IAsyncResult asyncResult, PendingChange& pendingChange, Byte[]& uploadedContentBaselineFileGuid, Int64& uncompressedLength)
    [1/21/2015 10:55:39 AM] at Microsoft.TeamFoundation.VersionControl.Client.Workspace.AsyncUploadFileState.Completed(IAsyncResult asyncResult)

    Hi Charles,
    I have been doing in depth research and testing of this and here are my findings:
    Replies to your points:
    1) It failed with UploadChunkSize value change. Tried 1MB, 500KB, even 100KB. Fails with same error! Is there any other setting we can change for the timeouts at the target TFS server also?
    2) The huge files are not skipped. The migration loops on the failed files and doesn't continue to process the next lot of files. So the migration is blocked on the huge files.
    3) OK. Thanks. 
    Please see below the finding on when migration succeeds and when it fails:-
    Scenario 1:
    a) Where Migration fails:
    TFS A is in India and TFS B is in UK. Both TFS are on different domain. Migration tool is installed on same machine as TFS A. There is a firewall that allows the access from TFS A machine to TFS B machine. The migration tool fails to work in this scenario
    when it encounters a file size approx > 8MB. I tried setting the UploadChunkSize value to 100KB. Yet it failed!
    b) Where Migration works:
    However, if the files are approx less than 3MB then the migration works without any errors.
    Scenario 2 where TFS migration tool works:
    TFS A is in India and TFS B is also in India (located closeby). Both TFS are on different domain. Migration tool is installed on same machine as TFS A. There is no firewall in this case. No changes were made to UploadChunkSize value and files with size
    of 10's and 100's of MBs got synced without any issue.
    Questions
    Question 1: Can we conclude now that there is some issue with the firewall or network in case of scenario 1? As mentioned above Scenario 1 works if file size is less then approx 3MB.
    Question 2: Is there any timeout setting on the Target TFS server which can be set so that it waits for the file without timing out?
    Thanks for any help...

  • HT3349 How do you select a sub-set of cells from the entire document so you can print only those specific cells?

    How do you select a sub-set of cells from the entire document so you can print only those specific cells?

    There is no analog to MS Excels print range.  So the next best thing is to plan your data so that you don't need to use print range.  The next best thing after that is to select the range of cells you want to print, then copy, the switch to the application Preview, and create a new document from the clipboard (select the menu item "File > New from Clibboard") then select all, copy then paste to the destination (maybe an email) .
    You can also paste that portion of the table into another table (or a new table) by pasting values only

  • TS4006 how to set a tracking from the computer if someone stolen the ipod

    how to set a tracking from the computer if someone stolen the ipod

    Welcome to the Apple Community.
    You can only locate your device when it is logged into iCloud and 'Find My Phone' is enabled, additionally the device will need to be switched on and connected to a wifi or cellular network.
    Unfortunately, you cannot activate iCloud or 'Find My Phone' remotely.

Maybe you are looking for

  • Sudden problem with letter R

    Since yesterday my Blackberry is constantly displaying the following message: "Assign a Speed Dial to the R key?"  Although it gives me the option to press yes / No, I can't actually press no! Pressing yes takes me to the address book, but only allow

  • How do I get the notes app to stop erasing my notes?

    How do I get the notes app to stop erasing my notes? It will save them for up to a week and then erase them? I loved the notes app and since January 2013 it has stopped saving my notes?

  • Setting up MS Exchange on Snow Leopard

    Hey everybody, I'm currently having to use two computers at work which is insane. I'm using the Vista PC they gave me for company email and company calendar, and using my personal MBP for everything else. I've tried for endless hours to get my work e

  • ITableModel Change Width of Column

    Hi All, I add Table on the Document by the PlugIn. TextIndex insertLocation = 0; tableUtils->InsertTable (tm_outlineLeft, insertLocation, 0,           3, 3,           1, 0,           10, 10,           kTextContentType,           ITableUtils::eSetSele

  • Using different SIM (legal unlocked by o2 UK)

    Hello everybody, I have an iPhone 3GS in the UK. o2 offers to unlock the iPhone to use a different SIM for free. I used this service and got the message that my iPhone is unlocked and I have to switch the SIM and connect my iPhone with iTunes afterwa