United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 4474875 Incremental updates fail if going from basic proto to version based.
4474875 : Incremental updates fail if going from basic proto to version based.

Details
Type:
Bug
Submit Date:
2001-06-26
Status:
Resolved
Updated Date:
2003-04-12
Project Name:
JDK
Resolved Date:
2002-11-19
Component:
deploy
OS:
windows_nt
Sub-Component:
webstart
CPU:
x86
Priority:
P4
Resolution:
Fixed
Affected Versions:
1.0.1
Fixed Versions:
1.4.2

Related Reports

Sub Tasks

Description
 from mail:
Looking a littler closer at the download requests in your logfile for the
plus_dbu.jar file, I see the following:

Request 1:  JnlpDownloadServlet(3): Request: /per-se/plus_dbu.jar

  . This is a request for the file without using version protocol.
    This gets downloaded correctly.

Request 2:  JnlpDownloadServlet(3): Request:
/per-se/plus_dbu.jar?version-id=1.3.49

  . This is a request for the file w/ the versioning protocol. This
    also gets downloaded correctly.

Request 3: JnlpDownloadServlet(3): Request:
/per-se/plus_dbu.jar?version-id=1.3.56

  . This request seems to be wrong from Javaws. It does NOT include
    information
    about the 1.3.49 version. Thus, a jardiff will never be returned. It
    should have been:

     /per-se/plus_dbu.jar?version-id=1.3.56&current-version-id=1.3.49

    It seems like Javaws gets confused because of first request, where you are 
    not using the version protocol.

from feedback: ###@###.###

                                    

Comments
WORK AROUND

 
                                     
2004-08-31
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
mantis
mantis-b02

FIXED IN:
mantis
mantis-b02

INTEGRATED IN:
mantis
mantis-b02


                                     
2004-08-31
EVALUATION

fix for 1.2
----------
I believe the problem is in DiskCache.getCacheEntries().
If the version arg is non-null, then the itr loop should do
itr.remove(); if ( versionId == null)  not just if 
   (!(versionId == null) || vs.contains(versionId))

###@###.### 2002-07-24
                                     
2002-07-24
SUGGESTED FIX

in DiskCache.getCachedEntries() - change:
           if !(versionId == null) || vs.contains(versionId)) {
to:
            // 4474875: non - null dosn't match null ...
            if (versionId == null) {
                itr.remove();
            } else if (!vs.contains(versionId)) {

###@###.### 2002-07-24
------------------------------
                                     
2002-07-24



Hardware and Software, Engineered to Work Together