Forum

Missing php file fo...
 
Notifications
Clear all

Missing php file for excel import (XLSXReader.php)

10 Posts
3 Users
0 Reactions
13.7 K Views
(@rexeh)
Posts: 85
Active Member
Topic starter
 
[#1310]

This is missing from the deployment of 3.4.1

I've tested this release (from GIT) and works - https://github.com/gneustaetter/XLSXReader/blob/master/XLSXReader.php


 
Posted : 05 Aug 2013 20H43
(@babynus)
Posts: 14952
Member Admin
 

Hi,

Was missing in the deployment directive.
Fixed in V3.4.2


 
Posted : 06 Aug 2013 2H17
yankee_doodle
(@yankee_doodle)
Posts: 12
Active Member
 

i'm a noob so pls forgive me if this is too obvious..

i'm using deployment of 3.4.1

rexeh said he tested this release from GIT & works.

should i just upgrade to 3.4.2 to fix this issue?

is it only affecting xlsx? or also csv import?

i'm having some difficulty with both imports after reading the manual several times.


regards,
yankeeeeeeeee doodle

 
Posted : 09 Aug 2013 17H46
(@babynus)
Posts: 14952
Member Admin
 

Hi,

Reported issue only concerns Import in XLSX format.
Import in CSV format works well.

You should migrated to last release : V3.4.3.
It may soon become new stable release.


 
Posted : 09 Aug 2013 18H31
yankee_doodle
(@yankee_doodle)
Posts: 12
Active Member
 

upgraded to v3.4.3

tried your suggestion:
export activity table to csv
edit csv < add a new record without an id or reference
save as csv
import csv as activity

returns:
"invalid controls.."

reference attached screenshot image & csv file


regards,
yankeeeeeeeee doodle

 
Posted : 10 Aug 2013 13H00
(@babynus)
Posts: 14952
Member Admin
 

Issue confirmed and recorded as ticket#1165.


 
Posted : 10 Aug 2013 13H50
(@babynus)
Posts: 14952
Member Admin
 

Hi,

As a first workaround, replace caption "planning mode" with "idActivityPlanningMode".
Import will work.


 
Posted : 10 Aug 2013 18H51
(@babynus)
Posts: 14952
Member Admin
 

Hi,

First fix : in /model/Importable.php, replace line 113

if ($subfld!='id' and substr($capt,0,1)!='[' ) {

with

if ($subfld!='id' and substr($capt,0,1)!='[' and ! isset($captionArray[$capt]) ) {

I still face strange behaviour : planning dates are not set at first insert, but are correctly set on update.
Still investigating before deploying a patch.


 
Posted : 10 Aug 2013 23H04
yankee_doodle
(@yankee_doodle)
Posts: 12
Active Member
 

this worked for testing so far. we will be trying a very large import tomorrow morning. hope it works! :unsure:


regards,
yankeeeeeeeee doodle

 
Posted : 13 Aug 2013 18H16
(@babynus)
Posts: 14952
Member Admin
 

V3.4.4 fixes this issue !
😉


 
Posted : 14 Aug 2013 1H13
Share:

Scroll to Top