1. Open the attached test document. 2. Launch the page field selector popup and select any one of the page field values. But make sure you only select one value, not multiple. Click OK to commit the change. 3. Cell B10 shows the selected value but without the leading '000'. Since the source values are set to text in order to preserve the leading '0's, we should not strip the leading zeros here either.
Created attachment 95482 [details] test document
I'm on it.
Kohei Yoshida committed a patch related to this issue. It has been pushed to "libreoffice-4-2": http://cgit.freedesktop.org/libreoffice/core/commit/?id=f86d94a2d1b3a61d290c072431c0af8446ec15bf&h=libreoffice-4-2 fdo#75962: Avoid unwanted number detection when placing page field name. It will be available in LibreOffice 4.2.3. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Kohei Yoshida committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=bd378b6346bf5aca4328c57f2ff3c18932691a47 fdo#75962: Write test for this first. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Kohei Yoshida committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=0919979bd1da3379e030b353a097d8fe1fd8341a fdo#75962: Avoid unwanted number detection when placing page field name. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Kohei Yoshida committed a patch related to this issue. It has been pushed to "libreoffice-4-2": http://cgit.freedesktop.org/libreoffice/core/commit/?id=6bc967177668bdc2279bc03bf1f7688a1e2a4c47&h=libreoffice-4-2 Revert "fdo#75962: Avoid unwanted number detection when placing page field name." It will be available in LibreOffice 4.2.3. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
I pushed the change to the 4.2 branch by mistake. I reverted it and I'll push to gerrit for review instead.
4.2 backport request: https://gerrit.libreoffice.org/8508
Kohei Yoshida committed a patch related to this issue. It has been pushed to "libreoffice-4-2": http://cgit.freedesktop.org/libreoffice/core/commit/?id=c57cac9d9255c46dbab925535b563885d57675cc&h=libreoffice-4-2 fdo#75962: Avoid unwanted number detection when placing page field name. It will be available in LibreOffice 4.2.3. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Fixed.