[Koha-bugs] [Bug 9593] Prices not imported correctly from a staged file

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 3 12:22:47 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9593

Koha Team Lyon 3 <koha at univ-lyon3.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #15615|0                           |1
        is obsolete|                            |

--- Comment #18 from Koha Team Lyon 3 <koha at univ-lyon3.fr> ---
Created attachment 17923
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=17923&action=edit
Bug 9593 Prices not imported correctly from a staged file

Hello 
I redid test with prices like $2 and €24, and it worked well for me. As far as
regex is concerned, I see no reason that it would work for a price like '€ 22'
and not for '$42'. I suspect an error during importation process, may be an
encoding issue ?
So I 've kept this part of the patch as it was, but, following your different
observations, I restablished the possibility of choosing an 'active currency'
when existing. 
I also add the ability to choose it from the isocode instead of symbol
currency. However, I fear that it couldn 't treat every possible form of not
normalized multicurrency price strings that may appear in price zone.
So it's a little better than it was under this aspect but not completly
satisfying.

For example, it will work for string like this 
$2, £5
2$, 6£
$2 USD, $4 LRD
2 EUR, 5 GBP
13.5 EUR, 15 GBP

but it will not for :
$800 LRD, $10 US
$15, 18 EUR

Olivier Crouzet

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list