-
Notifications
You must be signed in to change notification settings - Fork 304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ClientSidePage editing is broken #558
Comments
|
This wasn't meant to offend anyone. I know everyone involved in the project is doing what they can with what they have, so apologies if my comment offended anyone. I have contributed to this project out of my own free time as well so obviously I know that what I was saying may sound disrespectful if you take it personally. That said, with the deprecation of the CSOM/JSOM API for working with SharePoint resources and by promoting the REST APIs, I would expect that Microsoft would support this library like they said they would. If there is no support whatsoever from Microsoft as the image you posted above implies and this is 100% supported by the free will of some developers, then the Microsoft Docs are lying and I withdraw my comment. |
@pedro-pedrosa - I am really not sure how to respond. Your attitude is 100% unacceptable. I would encourage you to have a listen to the recording where I comment on the recent spike in this kind of behavior. We are not here to absorb your abuse. Despite what you want to believe to justify your righteous anger, PnPjs is not supported by Microsoft and we have never made that claim. The document you link to does not make that claim, in fact it specifically says it is not officially supported. Regarding the issue you report, this was discussed in #504 where it was discovered the back-end API was changed. I then spent two very late nights rewriting everything related to client side pages from scratch to get a fix out for folks. I mention in that thread that there is no way I got it perfect on the first try and if folks saw issues to please report them. That part of what you did is right, thank you for letting us know there is an issue. |
I understand where you are coming from but as I said I do not mean to offend you personally in any way. The last thing I wanted to do was devalue your efforts in creating and maintaining this library. SharePoint is huge and ever-changing, and there fore it's really difficult to keep up with it. Having this library did save me a lot of head aches and for that I really appreciate all the work mostly you and in part the rest of the community put into this. However, you need to separate criticism from disrespect. The page I linked mentions that PnP projects are created and maintained by Microsoft and the community. If they are only being maintained by the community, then my criticism goes towards Microsoft and not you personally. I'm assuming you closed my long-lived PR as some sort of retaliation or maybe you wanted me to feel a little bit of what you feel when someone devalues your work but honestly I don't think that was a correct decision and I'll ask you to re-consider that action. I wasn't working on that entirely for myself or expecting you to work for me or anything... Like the PR mentioned I was waiting for feedback from the community to work on it and give back to this project some of what it has given me the past few years. |
Closing this as a duplicate of #550. Issue is addressed there and your example code now works with the fixes applied. Those fixes will be in an upcoming beta and the next major release. |
Just published a new beta, v1.3.1-1, which contains the updates mentioned in this issue. Please give it a try if you have time and let us know if you see any further issues. Thanks! |
This issue is locked for inactivity or age. If you have a related issue please open a new issue and reference this one. Closed issues are not tracked. |
Category
Version
Please specify what version of the library you are using: [1.3.0]
Please specify what version(s) of SharePoint you are targeting: [SPO]
Expected / Desired Behavior / Question
I expect to be able to edit certain parts of a client side page by loading the page, making edits, then saving the page
Observed Behavior
Loading a page then saving it immediately after without any changes breaks the layout of the page.
Steps to Reproduce
Build the page:
Break it:
I have also noticed that the internal functions
getControls()
andsetControls()
make weird assumptions about section/column layout, causing similar bugs oncopyPage()
.Using open source libraries is all a matter of trust. Trusting that they work as they are supposed to. As a professional SharePoint developer I expected a Microsoft supported library would provide that kind of trust but apparently that's not the case with this library unfortunately.
The text was updated successfully, but these errors were encountered: