[api-issues] [Issue 68819] API: i18n.CalendarImpl::co m::sun::star::i18n::XCalendar

2006-10-30 Thread khong
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=68819





--- Additional comments from [EMAIL PROTECTED] Mon Oct 30 09:32:46 -0800 
2006 ---
Thanks, Eike. I could reproduce the problem. setDateTime(0.0) somehow makes
jewish calendar invalid. I fixed a problem in initializing non-gregorian
calendars in contructor, setDateTime seems another place has similar problem. 

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-issues] [Issue 68819] API: i18n.CalendarImpl::co m::sun::star::i18n::XCalendar

2006-10-27 Thread cn
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=68819


User cn changed the following:

What|Old value |New value

  Status|REOPENED  |NEW





--- Additional comments from [EMAIL PROTECTED] Fri Oct 27 02:31:52 -0700 
2006 ---
cn-khong: 

1.) in the current cws I get the initial error: That means:

Language: he, Country: IL, Variant: IL, Name: jewish

xCalender.setValue(CalendarFieldIndex.MONTH, 2);
short set = xCalneder.getValue(CalendarFieldIndex.MONTH);

= failed for MONTH expected 2 gained 1 

2.) isValid(): in the past the test code works. 

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-issues] [Issue 68819] API: i18n.CalendarImpl::co m::sun::star::i18n::XCalendar

2006-10-27 Thread er
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=68819


User er changed the following:

What|Old value |New value

Target milestone|OOo 2.1   |OOo 2.x





--- Additional comments from [EMAIL PROTECTED] Fri Oct 27 10:24:07 -0700 
2006 ---
As communicated with 'cn' and 'sba' we'll remove this issue from CWS
i18n27. The related overall code changes to the calendar source file are
very small and effectively only remove a possible unwanted side effect.

However, there is some yet unidentified behavior to be investigated for
the Jewish calendar. The testcase script portion of method _setValue()

short[] fields = new short[]{CalendarFieldIndex.DAY_OF_MONTH,
 CalendarFieldIndex.HOUR,
 CalendarFieldIndex.MINUTE,
 CalendarFieldIndex.SECOND,
 CalendarFieldIndex.MILLISECOND,
 CalendarFieldIndex.YEAR,
 CalendarFieldIndex.MONTH
};
for (int k=0; kfields.length;k++) {
//log.println(Setting:  + names[k]+ to + valueSet[k]);
oObj.setDateTime(0.0);
short set = oObj.getValue(fields[k]);
if (fields[k] == CalendarFieldIndex.MONTH) set = newValue;
oObj.setValue(fields[k],set);
short get = oObj.getValue(fields[k]);
if (get != set) {
error += failed for +names[k]+ expected +
set+ gained +get+ ; ;
}
}

with newValue==2 leads to the condition (get != set) being fulfilled,
which is strange enough.


-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-issues] [Issue 68819] API: i18n.CalendarImpl::co m::sun::star::i18n::XCalendar

2006-10-24 Thread cn
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=68819





--- Additional comments from [EMAIL PROTECTED] Tue Oct 24 06:48:42 -0700 
2006 ---
cn-khong: in the current i18n27 version the initial issue occure again. And as
a result of this the getValue() and isValid() methods failed.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-issues] [Issue 68819] API: i18n.CalendarImpl::co m::sun::star::i18n::XCalendar

2006-10-24 Thread sba
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=68819


User sba changed the following:

What|Old value |New value

  Status|RESOLVED  |REOPENED

  Resolution|FIXED |





--- Additional comments from [EMAIL PROTECTED] Tue Oct 24 08:32:23 -0700 
2006 ---
SBA: Set status back to NEW.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-issues] [Issue 68819] API: i18n.CalendarImpl::co m::sun::star::i18n::XCalendar

2006-10-24 Thread khong
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=68819





--- Additional comments from [EMAIL PROTECTED] Tue Oct 24 09:04:35 -0700 
2006 ---
khong-cn, I have run your test on m186 without my fix for this issue, it got
exact same same error, what do you mean it occured again? 





-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-issues] [Issue 68819] API: i18n.CalendarImpl::co m::sun::star::i18n::XCalendar

2006-10-24 Thread khong
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=68819





--- Additional comments from [EMAIL PROTECTED] Tue Oct 24 11:12:01 -0700 
2006 ---
khong-cn, I made wrong assumption of the test case _isValid(). 

The calendar is loaded, it is Arabic hijri calendar in this case.

The problem is the case set MONTH to 37 first, which makes the calendar invalid.
During calculation for hijri calendar, other fields, like day, year, are also
re-calculated, and may contain invalid values, just resetting MONTH to 10 in
next statement may not make the calendar valid.

The calendar should be recovered between two test statements.

public void _isValid() {
boolean res = true;

oObj.setValue(CalendarFieldIndex.MONTH, (short) 37);
res = !oObj.isValid();
 new=  oObj.setDateTime(aOriginalDTime);
oObj.setValue(CalendarFieldIndex.MONTH, (short) 10);
res = oObj.isValid();

tRes.tested(isValid(), res);
}


-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-issues] [Issue 68819] API: i18n.CalendarImpl::co m::sun::star::i18n::XCalendar

2006-10-24 Thread khong
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=68819





--- Additional comments from [EMAIL PROTECTED] Tue Oct 24 11:45:58 -0700 
2006 ---
BTW, when creating or loading a new calendar, the calendar is not initialized to
0, but today's date. getValue without setValue will get today's date, like 9 for
this month Oct for CalendarFieldIndex.MONTH, not newValue (0) as you expected in
the case _getValue().

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-issues] [Issue 68819] API: i18n.CalendarImpl::co m::sun::star::i18n::XCalendar

2006-10-23 Thread cn
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=68819


User cn changed the following:

What|Old value |New value

 Assigned to|cn|khong





--- Additional comments from [EMAIL PROTECTED] Mon Oct 23 10:19:44 -0700 
2006 ---
cn-khong: the following methods does not work:
getValue() - PASSED.FAILED
isValid() - PASSED.FAILED




-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-issues] [Issue 68819] API: i18n.CalendarImpl::co m::sun::star::i18n::XCalendar

2006-10-23 Thread khong
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=68819





--- Additional comments from [EMAIL PROTECTED] Mon Oct 23 15:35:37 -0700 
2006 ---
khong-cn,  I have modified your test cases in _XCalendar.java, and the test is
passed.

public void _getValue() {
boolean res = true;

requiredMethod(setValue());
 new=oObj.setValue(CalendarFieldIndex.MONTH, newValue);
short aValue = oObj.getValue(CalendarFieldIndex.MONTH);
res = (aValue == newValue);
tRes.tested(getValue(), res);
}

newValue needs to be set before you can get it, requiredMethod(serValue())
seems not doing right thing.

public void _isValid() {
boolean res = true;

  new=   oObj.loadDefaultCalendar(installed_locales[0]);

oObj.setValue(CalendarFieldIndex.MONTH, (short) 37);
res = !oObj.isValid();
oObj.setValue(CalendarFieldIndex.MONTH, (short) 10);
res = oObj.isValid();

tRes.tested(isValid(), res);
}

It looks like calendar is not loaded in this case, only set one field will not
make calendar valid.


-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-issues] [Issue 68819] API: i18n.CalendarImpl::co m::sun::star::i18n::XCalendar

2006-10-20 Thread khong
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=68819


User khong changed the following:

What|Old value |New value

  Status|NEW   |RESOLVED

  Resolution|  |FIXED





--- Additional comments from [EMAIL PROTECTED] Fri Oct 20 00:56:13 -0700 
2006 ---
Fixed.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-issues] [Issue 68819] API: i18n.CalendarImpl::co m::sun::star::i18n::XCalendar

2006-10-20 Thread khong
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=68819


User khong changed the following:

What|Old value |New value

 Assigned to|khong |cn





--- Additional comments from [EMAIL PROTECTED] Fri Oct 20 01:22:09 -0700 
2006 ---
Hi Christoph,

I have fixed the problem and rebuilt install set. Please try again.

Thanks,
Karl.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-issues] [Issue 68819] API: i18n.CalendarImpl::co m::sun::star::i18n::XCalendar

2006-10-19 Thread cn
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=68819


User cn changed the following:

What|Old value |New value

  Status|RESOLVED  |REOPENED

  Resolution|FIXED |





--- Additional comments from [EMAIL PROTECTED] Thu Oct 19 08:06:28 -0700 
2006 ---
while executing the test the office crashes

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-issues] [Issue 68819] API: i18n.CalendarImpl::co m::sun::star::i18n::XCalendar

2006-10-19 Thread cn
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=68819


User cn changed the following:

What|Old value |New value

 Assigned to|cn|khong

  Status|REOPENED  |NEW





--- Additional comments from [EMAIL PROTECTED] Thu Oct 19 08:07:16 -0700 
2006 ---
office crashes in i18n27

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-issues] [Issue 68819] API: i18n.CalendarImpl::co m::sun::star::i18n::XCalendar

2006-10-13 Thread khong
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=68819


User khong changed the following:

What|Old value |New value

 Assigned to|khong |cn





--- Additional comments from [EMAIL PROTECTED] Fri Oct 13 09:25:16 -0700 
2006 ---
ready for QA.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-issues] [Issue 68819] API: i18n.CalendarImpl::co m::sun::star::i18n::XCalendar

2006-10-10 Thread khong
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=68819





--- Additional comments from [EMAIL PROTECTED] Tue Oct 10 14:44:37 -0700 
2006 ---
fixed.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-issues] [Issue 68819] API: i18n.CalendarImpl::co m::sun::star::i18n::XCalendar

2006-10-10 Thread khong
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=68819


User khong changed the following:

What|Old value |New value

  Status|NEW   |RESOLVED

  Resolution|  |FIXED





--- Additional comments from [EMAIL PROTECTED] Tue Oct 10 14:45:31 -0700 
2006 ---
.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-issues] [Issue 68819] API: i18n.CalendarImpl::co m::sun::star::i18n::XCalendar

2006-08-21 Thread cn
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=68819
 Issue #|68819
 Summary|API: i18n.CalendarImpl::com::sun::star::i18n::XCalenda
|r
   Component|api
 Version|680m181
Platform|All
 URL|
  OS/Version|All
  Status|NEW
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|DEFECT
Priority|P3
Subcomponent|code
 Assigned to|khong
 Reported by|cn





--- Additional comments from [EMAIL PROTECTED] Mon Aug 21 02:34:28 -0700 
2006 ---
while running and enhancing the UNO-API-Tests for StarOffice I stumble
over a problem:

Language: he, Country: IL, Variant: IL, Name: jewish

xCalender.setValue(CalendarFieldIndex.MONTH, 2);
short set = xCalneder.getValue(CalendarFieldIndex.MONTH);

= failed for MONTH expected 2 gained 1 
To reproduce this behavior just start your office with parameter

-accept=socket,host=0,port=8100;urp; 

and call inside a solar shell:

checkapi -o i18n.CalendarImpl::com::sun::star::i18n::XCalendar

Note: since the childworkspace qadev27 is not integrated please use this cws
to execute the test. I have enhanced the test to display the failure.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]