Error ItemFactoryImpl::createBase64Binary with istream

Bug #933490 reported by Dennis Knochenwefel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Fix Released
Undecided
Cezar Andrei

Bug Description

creating a base64Binary from an ifstream results in the following error caused by the eof bit:

     type error: "#xFF": invalid value for cast/constructor: invalid Base64 character

the attached patch fixes the problem by adding an additional check for the eof_bit using good().

Tags: itemfactory

Related branches

Revision history for this message
Dennis Knochenwefel (dennis-knochenwefel) wrote :
Changed in zorba:
status: New → In Progress
Changed in zorba:
milestone: none → 2.5
Changed in zorba:
status: In Progress → Fix Committed
Changed in zorba:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.