Support #7071

[TPMS_GL072] - Promotion > Event Setup > Event Description

Added by Siti Norahayu Mohd Desa over 7 years ago. Updated over 7 years ago.

Status:Work Completed-End life cycleStart date:January 24, 2017
Priority:NormalDue date:January 25, 2017
Assignee:Najmi Pasarudin% Done:

100%

Category:GO_LiveSpent time:-
Target version:-

Description

Case ID : TPMS/17-0001

There was an error in the Event Publication List when the system does not display the same description that was entered by the officer in Promotion > Event Setup. Please refer to attacment below:

GL072 - Error Event Description.pdf (230 KB) Siti Norahayu Mohd Desa , January 24, 2017 11:02

History

#1 Updated by Najmi Pasarudin over 7 years ago

  • Status changed from New - Begin Life Cycle to Development / Work In Progress

#2 Updated by Najmi Pasarudin over 7 years ago

  • % Done changed from 0 to 50

#3 Updated by Najmi Pasarudin over 7 years ago

  • Status changed from Development / Work In Progress to Internal Testing
  • Assignee changed from Najmi Pasarudin to Siti Norahayu Mohd Desa
  • % Done changed from 50 to 90

Issue:
Publication event description cannot print next line in text.

Example:

Trade Fair 2017:
1.Event starts on March 2017
2.Registration starts on January 2017

will display as below at Publication page

Trade Fair 2017:1.Event starts on March 20172.Registration starts on January 2017

Cause:
Jsp use escapeXml to avoid malicious javascript and convert event description into pure text.

Solution:
Jsp will still use escapeXml and add javascript at each event to convert as html code with <br/> to replace next line.

Test scenario:
  1. Access Promotion > Event > Click View
  2. Click Edit button at bottom to edit
  3. Update event description with numbering(like example above) text
  4. Click Confirm button at bottom to confirm update
  5. Access http://tpmsuat.matrade.gov.my/matrade-tpms/publicityActivityList and check the updated event description
  6. Expected result, event description should be in proper format

#4 Updated by Siti Norahayu Mohd Desa over 7 years ago

  • Description updated (diff)

#5 Updated by Siti Norahayu Mohd Desa over 7 years ago

  • Status changed from Internal Testing to User Acceptance Test

#6 Updated by Siti Norahayu Mohd Desa over 7 years ago

Send for User Retest

#7 Updated by Siti Norahayu Mohd Desa over 7 years ago

  • Status changed from User Acceptance Test to Pending Prod Deployment
  • % Done changed from 90 to 100

08 Feb 2017 02:31 PM

Dear Ayu,

The issue has been tested and the result is in the proper format.

Thank you.

Regards,

Azliza Husain
Application Unit
Information Technology Division,
MATRADE,

Tel (DL) : +603-62077315
Tel(GL) : +603-62077077
Email:

Hi Najmi,

Please prepare migration document and war file for production deployment.

Migration Plan ID: TPMS_ID0019
War File: TPMS_v048

#8 Updated by Siti Norahayu Mohd Desa over 7 years ago

  • Assignee changed from Siti Norahayu Mohd Desa to Najmi Pasarudin

#9 Updated by Najmi Pasarudin over 7 years ago

  • Status changed from Pending Prod Deployment to Work Completed-End life cycle

Also available in: Atom PDF