Project

General

Profile

Actions

解析Bug #36

closed
XF XF

Display the irregular text (strtoupper("LARGE ")) when exporting to Excel

解析Bug #36: Display the irregular text (strtoupper("LARGE ")) when exporting to Excel

Added by Xihua Fan over 5 years ago. Updated over 1 year ago.

Status:
已关闭
Priority:
普通
Assignee:
Target version:
IT: Easytryck (Sweden) - v3.0
Start date:
11/18/2020
Due date:
11/21/2020
% Done:

100%

Estimated time:
16.00 h
Spent time:

Description

Task Details
  1. The irregular text (strtoupper("LARGE ")) is displayed in the [Extra Info] excel column.
Input
  1. New OTS->NG [attachment:OrderReport (8月).xls]
  2. Old OTS->OK [attachment:OrderReport (18).xls]
Output
  • Report and Solution

Others


Files

OrderReport (18).xls (16 KB) OrderReport (18).xls OK sample Xihua Fan, 11/18/2020 11:13 AM
OrderReport (8月).xls (16 KB) OrderReport (8月).xls NG sample Xihua Fan, 11/18/2020 11:14 AM

XF Updated by Xihua Fan over 5 years ago Actions #1

XF Updated by Xihua Fan over 5 years ago Actions #2

  • Copied from deleted (运维支持 #3: Do system maintenance of our OTS website (order.easydingzhi.com) regularly)

XF Updated by Xihua Fan over 5 years ago Actions #3

  • % Done changed from 10 to 100

Analysis results and solution:

  • Reason:
    preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead.
    So we can't use php code(eg. strtoupper) in preg_replace().

YII Error Log (/order/protected/runtime/application.log)

XF Updated by Xihua Fan over 5 years ago Actions #4

  • Status changed from 进行中 to 已关闭

XF Updated by Xihua Fan over 1 year ago Actions #5

  • Target version set to v3.0
Actions

Also available in: PDF Atom