[MAGNOLIA-4557] Crawler needs to open pages in both edit and non-edit mode to catch also errors occurring in edit mode only Created: 01/Oct/12  Updated: 17/Jan/13  Resolved: 12/Oct/12

Status: Closed
Project: Magnolia
Component/s: integration tests
Affects Version/s: 4.5.4
Fix Version/s: 4.5.7, 5.0

Type: Improvement Priority: Neutral
Reporter: Jan Haderka Assignee: Robert Šiška
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:

 Comments   
Comment by Jan Haderka [ 16/Oct/12 ]
  linkURLPreview["url"] = linkURL["url"].replaceAll(/false$/,"true")

at the risk of exposing my own ignorance: isn't there replaceLast() in groovy?

Comment by Magnolia International [ 17/Jan/13 ]

@Jan there is no replaceLast, but the $ indicates "end of input", so the expression will only match a "false" string that's at the very end of linkURL["url"]

Generated at Mon Feb 12 03:56:55 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.