Hello Sosswald,
Thank you for your time and reply for the post.
I am dealing with the Page Interface and this can be cast to Class PageImpl.Thanks.
My scenario is ,
1) Executing a script in my IDE with Login username as:Scott.
2) Here in a Page i am dealing with a Content-Section which has employeelist and i would like to remove the specific picture in it in the list(5-10 employee with different images available) of employees.(This is working and verified in the Eclipse IDE with JAVA Main Program).
3) For the Section and Page Last editor is:Wolf (I have verified this with seeing the page Last editor and Sections via properties Last editor is same as:Wolf)
4) While executing my code i have to get the Last editor of the page and need to set it back before page.release.
5) While executing the below code the Section-LastEditor is changed to Scott instead of Wolf. Why this is happening? Due to this after final execution Page -Last editor name is changes as Scott instead of Wolf.
Before Execution of code:

-- After executing the code below Line No:20 then the name changes to Scott instead of Wolf.Before that Line:20 LOG was showing the name as Wolf.
Image attached below..
Scott is username login for executing the script.
Wolf is the Page and Section Last editor name until the below code executes.
Section sectionTemplateRef = (Section) refEntry.getReferencedObject();
Section sectionTemplate = (Section) psCurrent
.getStoreElement(sectionTemplateRef.getId());
for (IdProvidingFormData idProvidingFormData : formDataList) {
FormField<?> formFieldPicture = idProvidingFormData.get(masterLanguage,
employeeFormDataStPictureField);
Object formFieldValuePicture = formFieldPicture.get();
if (formFieldValuePicture instanceof TargetReference) {
TargetReferenceImpl targetData = (TargetReferenceImpl) formFieldValuePicture;
if (targetData != null && !targetData.isEmpty()) {
if (targetData.getUidType() == UidType.MEDIASTORE_LEAF) {
if(targetData.getUid().contains("ABC") || targetData.getUid().contains("abc")){
idProvidingFormData.get(masterLanguage, employeeFormDataStPictureField)
.setToDefault();
SectionImpl section = (SectionImpl) sectionTemplate;
section.getEditor();
logInfo("section.getEditor():"+section.getEditor());
logInfo("page.getEditor():"+page.getEditor());
section.setEditor(page.getEditor());
section.save();
}
}
}
}
}
After execution of the above code Section - Properties shows as like below,

I did a debugging in my IDE of the code, after save() method calls then only the name changes.(Immediately verified this with seeing the Section Properties-attached images above)
I am not sure why this is happening? Do you have any opinion on this issue.?
It will be helpful for me to understand more...
Once again thank you for your time in reading the content.
Thanks and Regards,
Siva