[Libreoffice-bugs] [Bug 118824] CurrentValue Returns Wrong Value in Base - Different from OOo

2020-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=118824

--- Comment #5 from Commit Notification 
 ---
Caolán McNamara committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/20bc83ee9e63c0c099ad9962ecc483ec5af88991

crashtesting: intermittent failure on tdf118824-1.odb

It will be available in 7.1.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 118824] CurrentValue Returns Wrong Value in Base - Different from OOo

2020-11-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=118824

Commit Notification  changed:

   What|Removed |Added

 Whiteboard||target:7.1.0

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 118824] CurrentValue Returns Wrong Value in Base - Different from OOo

2018-07-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=118824

Drew Jensen  changed:

   What|Removed |Added

 Resolution|--- |NOTABUG
 Status|UNCONFIRMED |RESOLVED

--- Comment #4 from Drew Jensen  ---
(In reply to robert from comment #3)
> This is a feature, not a bug. There are differences between LO and AOO.
> Special:
> Since LO 4.1 the current value in listboxes gives the value, which is
> submitted to the database.
> Since LO 4.1.2 datafields must be read by oField.currentValue.Year ...Month
> ...Day
> 

Well, then the issue needs to be set to, notabug.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 118824] CurrentValue Returns Wrong Value in Base - Different from OOo

2018-07-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=118824

--- Comment #3 from rob...@familiegrosskopf.de ---
This is a feature, not a bug. There are differences between LO and AOO.
Special:
Since LO 4.1 the current value in listboxes gives the value, which is submitted
to the database.
Since LO 4.1.2 datafields must be read by oField.currentValue.Year ...Month
...Day

You could get the value, which is shown in the listbox, with

SUB Listenfeldanzeige
DIM oDoc AS OBJECT
DIM oForm AS OBJECT
DIM oListbox AS OBJECT
DIM oController AS OBJECT
DIM oView AS OBJECT
oDoc = thisComponent
oForm = oDoc.Drawpage.Forms(0)
oListbox = oForm.getByName("Listenfeld")
oController = oDoc.getCurrentController()
oView = oController.getControl(oListbox)
print "Angezeigter Inhalt: " & oView.SelectedItem
END SUB

Works with LO and AOO.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 118824] CurrentValue Returns Wrong Value in Base - Different from OOo

2018-07-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=118824

Julien Nabet  changed:

   What|Removed |Added

Summary|.CurrentValue Returns Wrong |CurrentValue Returns Wrong
   |Value in Base - Different   |Value in Base - Different
   |from OOo|from OOo

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 118824] .CurrentValue Returns Wrong Value in Base - Different from OOo

2018-07-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=118824

--- Comment #2 from Drew Jensen  ---
You are correct currentvalue does return a different result between AOO and
LibO, and appears to have done so since LibO 4.1. 

I find this mentioned in a comment, from 2015, on an issue
https://bugs.documentfoundation.org/show_bug.cgi?id=91828#c10
"Since LO 4.1 CurrentValue of a listbox changed to the value, which should be
saved in the database. Older versions will show the text, which could be seen
on the screen."

That sounds a bit like it might of been intentional, but I read over the
release notes for 4.0, 4.1 and 4.2 in which there is mention of changes to
checkbox form controls, but none about listbox and a change in currentvalue.
Nor could I see any  mentioned in the API changes listed there.

For a workaround you just need to treat the control as if multi-select is
turned on and use the SelectedItems and ListItems to retrieve the string.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 118824] .CurrentValue Returns Wrong Value in Base - Different from OOo

2018-07-18 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=118824

Joel Madero  changed:

   What|Removed |Added

 CC||jmadero@gmail.com

--- Comment #1 from Joel Madero  ---
Created attachment 143618
  --> https://bugs.documentfoundation.org/attachment.cgi?id=143618=edit
MyLibrary Database

This is the database.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs