You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Nicolas Peltier (Jira)" <ji...@apache.org> on 2022/07/22 15:31:00 UTC

[jira] [Resolved] (SLING-11492) write pipe should not try to mark nodes that can't be written with jcr:lastModified

     [ https://issues.apache.org/jira/browse/SLING-11492?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nicolas Peltier resolved SLING-11492.
-------------------------------------
    Fix Version/s: pipes 4.5.0
       Resolution: Fixed

fixed in https://github.com/apache/sling-org-apache-sling-pipes/commit/a95cf1172c9f578a5a5ca9394528640641916033

> write pipe should not try to mark nodes that can't be written with jcr:lastModified
> -----------------------------------------------------------------------------------
>
>                 Key: SLING-11492
>                 URL: https://issues.apache.org/jira/browse/SLING-11492
>             Project: Sling
>          Issue Type: Bug
>          Components: pipes
>    Affects Versions: pipes 4.4.2
>            Reporter: Nicolas Peltier
>            Assignee: Nicolas Peltier
>            Priority: Major
>             Fix For: pipes 4.5.0
>
>
> there are JCR nodes that can't be marked with jcr:lastModified, those should not be touched at all.
> jcr:lastModified can't be put into node: java.util.GregorianCalendar[time=1658502310596,areFieldsSet=true,areAllFieldsSet=true,lenient=true,zone=sun.util at
> org.apache.sling.jcr.resource.internal.JcrModifiableValueMap.put(JcrModifiableValueMap.java:47) [org.apache.sling.jcr.resource:3.0.18]
> .calendar.ZoneInfo[id="Europe/Paris",offset=3600000,dstSavings=3600000,useDaylight=true,transitions=184,lastRule=java.util.SimpleTimeZone[id=Europe/Paris,offset=3600000,dstSavings=3600000,useDaylight=tr>
> at org.apache.sling.pipes.internal.PlumberImpl.markWithJcrLastModified(PlumberImpl.java:300) [org.apache.sling.pipes:4.5.0.SNAPSHOT]
> e,startYear=0,startMode=2,startMonth=2,startDay=-1,startDayOfWeek=1,startTime=3600000,startTimeMode=2,endMode=2,endMonth=9,endDay=-1,endDayOfWeek=1,endTime=3600000,endTimeMode=2]],firstDayOfWeek=2,minim>
> at org.apache.sling.pipes.internal.PathPipe.computeOutput(PathPipe.java:93) [org.apache.sling.pipes:4.5.0.SNAPSHOT]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)