67 lines
1.6 KiB
Markdown
67 lines
1.6 KiB
Markdown
# Manipulation策略Edit Element无法删除部分评论
|
||
|
||
| ID | Creation Date | Assignee | Status |
|
||
|----|----------------|----------|--------|
|
||
| OMPUB-1144 | 2024-02-21T18:40:33.000+0800 | 雷军 | 已解决 |
|
||
|
||
|
||
---
|
||
|
||
目的:删除如下评论[https://www.youtube.com/watch?v=YQHsXMglC9A]
|
||
!image-2024-02-22-16-19-07-846.png|width=227,height=136!
|
||
策略如下:
|
||
!image-2024-02-21-18-40-23-216.png|thumbnail!**fengweihao** commented on *2024-02-22T16:33:56.958+0800*:
|
||
|
||
基于研发环境:
|
||
* 界面地址:[http://192.168.44.3/]
|
||
* 功能端地址:192.168.40.85
|
||
|
||
问题原因:
|
||
* Proxy报错如下: !image-2024-02-22-16-28-45-822.png|width=1002,height=39!
|
||
|
||
* 拉取Redis配置到本地,查看策略314015
|
||
|
||
!image-2024-02-22-16-26-12-214.png|width=1028,height=40!
|
||
* 用户自定义域如下:
|
||
*
|
||
{code:java}
|
||
{"method":"edit_element","rules":[{"anchor_element":{"search_scope":"whole_file","contained_keyword":"It\'s\bFebruary\b2024"},"target_element":{"target_distance_from_matching":6,"element_treatment":"remove"}}],"vsys_id":1} {code}
|
||
使用json在线工具解析上述用户自定义域报错,特殊字符转义存在问题,导致功能端无法加载此策略
|
||
|
||
|
||
|
||
---
|
||
|
||
|
||
|
||
## Attachments
|
||
|
||
**51936/image-2024-02-21-18-39-34-360.png**
|
||
|
||
---
|
||
|
||
**51935/image-2024-02-21-18-40-23-216.png**
|
||
|
||
---
|
||
|
||
**52010/image-2024-02-22-16-19-07-846.png**
|
||
|
||
---
|
||
|
||
**52011/image-2024-02-22-16-23-34-155.png**
|
||
|
||
---
|
||
|
||
**52012/image-2024-02-22-16-25-08-442.png**
|
||
|
||
---
|
||
|
||
**52013/image-2024-02-22-16-26-12-214.png**
|
||
|
||
---
|
||
|
||
**52014/image-2024-02-22-16-28-45-822.png**
|
||
|
||
---
|
||
|