We found ViewFormServlet has a problem when you include the user and
password.  Use the LoginServlet with the goto parameter instead
 
http://MID_TIER_SERVER/arsys/servlet/LoginServlet?server=AR_SERVER&usern
ame=Bozo&pwd=TheClown&goto=/arsys/forms/AR_SERVER/FORM_X/VIEW_X?F1000000
868=00001&F2020000916=XXXX&F1990001=IncidentEmail&?mode=Query
 
Fred


________________________________

From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Matthew Perrault
Sent: Tuesday, October 07, 2008 12:01 PM
To: arslist@ARSLIST.ORG
Subject: Another Issue with 7.1 Mid-Tier Patch 3/4



All,

Got another issue with the 7.1 Mid-Tier Patch 3 and Patch 4.

Have Created an Issue with BMC: ISS03343227

Will let you know when I have a defect ID and what that Defect ID is.

 

MS Server 2003

IIS 6 (I think)

Apache/Tomcat

Mid-Tier 7.1 Patch 3 (and tested with Patch 4).

 

It appears there is a problem with how ViewFormServlet handles the User
Time Zone and passed in Field Parameters.

 

Here's the situation:

We send emails from our system. In those Emails we include a URL.

This URL includes parameters for the Incident #, Server, Mid-Tier, View,
UserName, Password and some other field values.

Well, the first time that a person clicks on the link, it appears that
ViewFormServlet is wiping out all the passed field parameters with this:


usertimezone=America%2FChicago.

Well, the second time the user clicks on the link it all works fine and
brings up the incident without issue.

So, Hazarding a guess, it looks like the first time, it tries to find
the User's TimeZone in the cache based on the URL that was supplied,

Doesn't find it and slaps that over the top of the other parameters,
then Caches the Timezone.

Next Time the person clicks on the link, it pulls the timezone out of
the cache and works correctly.

 

For example:

You give the URL:

http://MID_TIER_SERVER/arsys/servlet/ViewFormServlet?form=FORM_X&view=VI
EW_X&server=AR_SERVER&username=Bozo&pwd=TheClown&F1000000868=00001&F2020
000916=XXXX&F1990001=IncidentEmail&?mode=Query

 

It will translate into the following URL:

http://MID_TIER_SERVER/arsys/forms/AR_SERVER/FORM_X/VIEW_X/?usertimezone
=America%2FChicago&cacheid=25255df7

 

Then if you click on the link a second time it works.

Also,

If you pass the usertimezone parameter in on the first URL it will also
work fine.

The problem with that is now you are hardcoding a specific timezone into
the URL.

That won't work for us as we could have a person in the US, sending this
link to some one in India and it needs to pick up that person's local
timezone.

 

Bottom Line ViewFormServlet is not picking up the TimeZone from the
user's PC and handling it correctly.

 

Thanks,

Matthew Perrault

 
  

_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

Reply via email to