pnp / pnp/pnpframework

Error publishing pages as news / csharp console app

Open
#898 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
259
Forks
161
Avg merge
10h 33m
Merged PRs (30d)
1

Description

Hello,

I am creating news articles from a Visual Studio console application. Saving and publishing the individual articles works without any problems. However, as soon as I want to publish the article as a news (see image Code.png), I get the error from the attached image Error.png when debugging and the application hangs.

Apparently an incorrect date format (UTC) is not correctly transformed as a string. However, I didn't set a date anywhere when creating the article - maybe an internal field? Or am I doing something else wrong?

Thanks and Greetings
Jochen

Code
Error

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the report from the attached Code.png in a Visual Studio console application, then inspect the path used to publish an article as news and compare it with ordinary article publishing. Use Error.png to identify the date-format failure. Done means the news publication completes without hanging and the reported UTC date conversion error no longer occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.